aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/scene.cpp
diff options
context:
space:
mode:
authorStrangerke2015-10-25 19:02:11 +0100
committerStrangerke2015-10-25 19:02:11 +0100
commit2c5b63acfae29b21e31c4781f35f85c33ac72c86 (patch)
tree6fe66428c0905ad90309c5dcfae76747ab72abf8 /engines/mads/scene.cpp
parentf7389e98bcedb0ab0c8b0cc3f6a38db90857d967 (diff)
downloadscummvm-rg350-2c5b63acfae29b21e31c4781f35f85c33ac72c86.tar.gz
scummvm-rg350-2c5b63acfae29b21e31c4781f35f85c33ac72c86.tar.bz2
scummvm-rg350-2c5b63acfae29b21e31c4781f35f85c33ac72c86.zip
MADS: Phantom: Implement scene 203
Diffstat (limited to 'engines/mads/scene.cpp')
-rw-r--r--engines/mads/scene.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index 6101be67a6..4c48619ab9 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -63,6 +63,8 @@ Scene::Scene(MADSEngine *vm)
_variant = 0;
_initialVariant = 0;
+ _speechReady = -1;
+
_paletteUsageF.push_back(PaletteUsage::UsageEntry(0xF));
// Set up a scene surface that maps to our physical screen drawing surface
@@ -811,6 +813,9 @@ void Scene::loadSpeech(int idx) {
_vm->_audio->setDefaultSoundGroup();
// NOTE: The original actually preloads the speech sample here, but the samples
// are so small that it's not really worth it...
+
+ // TODO: As the speech samples aren't cached anymore, _speechReady should be remove
+ _speechReady = idx;
}
void Scene::playSpeech(int idx) {