diff options
author | Filippos Karapetis | 2016-09-26 22:58:32 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-10-03 00:34:14 +0300 |
commit | 93a83a6b86116dabc058c4d799615d7e6c496a0c (patch) | |
tree | 44bace74fcc1a94bab2986c16954466906809995 /engines/chewy/sound.h | |
parent | 8767b44fe0e216145e6f4218966b604e158f912e (diff) | |
download | scummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.tar.gz scummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.tar.bz2 scummvm-rg350-93a83a6b86116dabc058c4d799615d7e6c496a0c.zip |
CHEWY: Add an event manager, and get rid of g_engine
Diffstat (limited to 'engines/chewy/sound.h')
-rw-r--r-- | engines/chewy/sound.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/chewy/sound.h b/engines/chewy/sound.h index 23610272e5..9dc953618c 100644 --- a/engines/chewy/sound.h +++ b/engines/chewy/sound.h @@ -32,7 +32,7 @@ class SoundResource; class Sound { public: - Sound(); + Sound(Audio::Mixer *mixer); ~Sound(); void playSound(int num, bool loop = false); @@ -40,6 +40,7 @@ public: void playSpeech(int num); private: + Audio::Mixer *_mixer; Audio::SoundHandle _soundHandle; Audio::SoundHandle _musicHandle; Audio::SoundHandle _speechHandle; |