aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-01 18:21:13 -1000
committerPaul Gilbert2015-05-01 18:21:13 -1000
commit12d3976c380e00f22c6f7a930ff56c215a7bd9ab (patch)
treed300e63c6088ae024460565162acfc95f9b4ea72 /engines/sherlock/sound.h
parentd9a42a80ffeb9eaee957bbc858f714e5cf362946 (diff)
downloadscummvm-rg350-12d3976c380e00f22c6f7a930ff56c215a7bd9ab.tar.gz
scummvm-rg350-12d3976c380e00f22c6f7a930ff56c215a7bd9ab.tar.bz2
scummvm-rg350-12d3976c380e00f22c6f7a930ff56c215a7bd9ab.zip
SHERLOCK: Implement configuration settings save/load
Diffstat (limited to 'engines/sherlock/sound.h')
-rw-r--r--engines/sherlock/sound.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/sherlock/sound.h b/engines/sherlock/sound.h
index c85af2ac2a..3bd3a99f07 100644
--- a/engines/sherlock/sound.h
+++ b/engines/sherlock/sound.h
@@ -38,19 +38,20 @@ class Sound {
private:
SherlockEngine *_vm;
public:
+ bool _digitized;
+ bool _music;
+ int _voices;
bool _soundOn;
bool _musicOn;
bool _speechOn;
- int _voices;
bool _playingEpilogue;
- bool _music;
- bool _digitized;
bool _diskSoundPlaying;
byte *_soundIsOn;
byte *_digiBuf;
public:
Sound(SherlockEngine *vm);
+ void syncSoundSettings();
void loadSound(const Common::String &name, int priority);
bool playSound(const Common::String &name, WaitType waitType = WAIT_RETURN_IMMEDIATELY);
void cacheSound(const Common::String &name, int index);