aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-21 18:18:12 -0400
committerPaul Gilbert2015-03-21 18:18:12 -0400
commit26c51680741882b7ee60a0e24227e6c6918aab0e (patch)
treeb8dedbccec43475ba96927b7c0f0055529462c97 /engines/sherlock/sound.h
parent8f4b4a7bc269bf454ab90d003f1cc55104c175b6 (diff)
downloadscummvm-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.h8
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();