From 12d3976c380e00f22c6f7a930ff56c215a7bd9ab Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 1 May 2015 18:21:13 -1000 Subject: SHERLOCK: Implement configuration settings save/load --- engines/sherlock/sound.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/sherlock/sound.h') 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); -- cgit v1.2.3