aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.h
diff options
context:
space:
mode:
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();