diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 23:14:53 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-08-18 23:14:53 +1000 |
commit | f6f91b18e834a5401f37217d09b69593de3cb4a5 (patch) | |
tree | b5d4c6662eb75708cb22282c27b97307d62fa042 /source/game/interfaces/StarToolUserEntity.hpp | |
parent | cd36a269fd1ccfd40ec09aca25285c6f9a875c43 (diff) |
Various improvements
You can now right click empty slots to insert one from swap.
Added unique sounds for the swap slot count incrementing/decrementing.
Material placement now plays sounds.
Diffstat (limited to 'source/game/interfaces/StarToolUserEntity.hpp')
-rw-r--r-- | source/game/interfaces/StarToolUserEntity.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/interfaces/StarToolUserEntity.hpp b/source/game/interfaces/StarToolUserEntity.hpp index 60134ef..a83d5ff 100644 --- a/source/game/interfaces/StarToolUserEntity.hpp +++ b/source/game/interfaces/StarToolUserEntity.hpp @@ -94,7 +94,7 @@ public: // FIXME: This is a dumb way of getting limited animation support virtual void addEffectEmitters(StringSet const& emitters) = 0; virtual void addParticles(List<Particle> const& particles) = 0; - virtual void addSound(String const& sound, float volume = 1.0f) = 0; + virtual void addSound(String const& sound, float volume = 1.0f, float pitch = 1.0f) = 0; virtual void setCameraFocusEntity(Maybe<EntityId> const& cameraFocusEntity) = 0; }; |