diff options
author | Paul Gilbert | 2015-03-21 18:18:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-21 18:18:12 -0400 |
commit | 26c51680741882b7ee60a0e24227e6c6918aab0e (patch) | |
tree | b8dedbccec43475ba96927b7c0f0055529462c97 /engines/sherlock/sound.h | |
parent | 8f4b4a7bc269bf454ab90d003f1cc55104c175b6 (diff) | |
download | scummvm-rg350-26c51680741882b7ee60a0e24227e6c6918aab0e.tar.gz scummvm-rg350-26c51680741882b7ee60a0e24227e6c6918aab0e.tar.bz2 scummvm-rg350-26c51680741882b7ee60a0e24227e6c6918aab0e.zip |
SHERLOCK: Implemented checkObject and some support methods
Diffstat (limited to 'engines/sherlock/sound.h')
-rw-r--r-- | engines/sherlock/sound.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h index 9d323833f1..b6e645a28f 100644 --- a/engines/sherlock/sound.h +++ b/engines/sherlock/sound.h @@ -38,17 +38,19 @@ class Sound { private: SherlockEngine *_vm; public: - bool _sfxEnabled; - bool _musicEnabled; - bool _voicesEnabled; + bool _soundOn; + bool _musicOn; + bool _voicesOn; bool _playingEpilogue; bool _music; + bool _digitized; public: Sound(SherlockEngine *vm); void loadSound(const Common::String &name, int priority); void playSound(const Common::String &name, WaitType waitType = WAIT_RETURN_IMMEDIATELY); void cacheSound(const Common::String &name, int index); + void playLoadedSound(int bufNum, int waitMode); void playCachedSound(int index); void clearCache(); void stopSound(); |