summaryrefslogtreecommitdiff
path: root/src/common.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.hpp')
-rw-r--r--src/common.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common.hpp b/src/common.hpp
index b4c16c6..2b9b9ca 100644
--- a/src/common.hpp
+++ b/src/common.hpp
@@ -432,9 +432,10 @@ namespace audio {
void update_ambience(bool playing);
class sound_t {
- sf::SoundBuffer buffer;
+ std::vector<sf::SoundBuffer> sounds;
public:
+ float volume = 1.0f;
void load(const char *path);
void play(void);
};