aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sound.cpp
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.cpp
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.cpp')
-rw-r--r--engines/sherlock/sound.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/sherlock/sound.cpp b/engines/sherlock/sound.cpp
index 61c740ea3f..0917f83e89 100644
--- a/engines/sherlock/sound.cpp
+++ b/engines/sherlock/sound.cpp
@@ -25,11 +25,12 @@
namespace Sherlock {
Sound::Sound(SherlockEngine *vm): _vm(vm) {
- _sfxEnabled = true;
- _musicEnabled = true;
- _voicesEnabled = true;
+ _soundOn = true;
+ _musicOn = true;
+ _voicesOn = true;
_playingEpilogue = false;
_music = false;
+ _digitized = false;
}
void Sound::loadSound(const Common::String &name, int priority) {
@@ -44,6 +45,10 @@ void Sound::cacheSound(const Common::String &name, int index) {
// TODO
}
+void Sound::playLoadedSound(int bufNum, int waitMode) {
+ // TODO
+}
+
void Sound::playCachedSound(int index) {
// TODO
}