Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarNpc.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-08-18 23:14:53 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-08-18 23:14:53 +1000
commitf6f91b18e834a5401f37217d09b69593de3cb4a5 (patch)
treeb5d4c6662eb75708cb22282c27b97307d62fa042 /source/game/StarNpc.hpp
parentcd36a269fd1ccfd40ec09aca25285c6f9a875c43 (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/StarNpc.hpp')
-rw-r--r--source/game/StarNpc.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarNpc.hpp b/source/game/StarNpc.hpp
index 02a6ae1..481dd9e 100644
--- a/source/game/StarNpc.hpp
+++ b/source/game/StarNpc.hpp
@@ -147,7 +147,7 @@ public:
Vec4B favoriteColor() const override;
float beamGunRadius() const override;
void addParticles(List<Particle> const& particles) override;
- void addSound(String const& sound, float volume = 1.0f) override;
+ void addSound(String const& sound, float volume = 1.0f, float pitch = 1.0f) override;
bool inToolRange() const override;
bool inToolRange(Vec2F const& position) const override;
void addEphemeralStatusEffects(List<EphemeralStatusEffect> const& statusEffects) override;