aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-02-12 23:47:18 +0100
committerWillem Jan Palenstijn2012-02-12 23:57:25 +0100
commit143363d5b6baef14898ee0f41e3735de2048761a (patch)
treef45ef4501b0d513f64d8c66606aa51457b65640c /engines
parent3fc8b7227b05203a9c60a91c4db361da9181fba5 (diff)
downloadscummvm-rg350-143363d5b6baef14898ee0f41e3735de2048761a.tar.gz
scummvm-rg350-143363d5b6baef14898ee0f41e3735de2048761a.tar.bz2
scummvm-rg350-143363d5b6baef14898ee0f41e3735de2048761a.zip
DREAMWEB: Improve subtitle durations in madman scene
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/people.cpp10
-rw-r--r--engines/dreamweb/titles.cpp1
2 files changed, 9 insertions, 2 deletions
diff --git a/engines/dreamweb/people.cpp b/engines/dreamweb/people.cpp
index 0f51adde17..1b8ee1b4de 100644
--- a/engines/dreamweb/people.cpp
+++ b/engines/dreamweb/people.cpp
@@ -145,13 +145,19 @@ void DreamWebEngine::updatePeople() {
void DreamWebEngine::madmanText() {
byte origCount;
+ uint16 length = 90;
if (hasSpeech()) {
- if (_speechCount >= 63)
+ if (_speechCount > 15)
return;
if (_channel1Playing != 255)
return;
origCount = _speechCount;
++_speechCount;
+
+ if (origCount != 15)
+ length = 32000; // Set subtitle time very high to make it
+ // always wait for the next line, except for the
+ // last one, when there is no next line.
} else {
if (_vars._combatCount >= 61)
return;
@@ -159,7 +165,7 @@ void DreamWebEngine::madmanText() {
return;
origCount = _vars._combatCount / 4;
}
- setupTimedTemp(47 + origCount, 82, 72, 80, 90, 1);
+ setupTimedTemp(47 + origCount, 82, 72, 80, length, 1);
}
void DreamWebEngine::madman(ReelRoutine &routine) {
diff --git a/engines/dreamweb/titles.cpp b/engines/dreamweb/titles.cpp
index 96dabc9b40..8ca5aa70b3 100644
--- a/engines/dreamweb/titles.cpp
+++ b/engines/dreamweb/titles.cpp
@@ -51,6 +51,7 @@ void DreamWebEngine::monkSpeaking() {
fadeScreenUps();
hangOn(300);
+ // TODO: Subtitles+speech mode
if (hasSpeech()) {
for (int i = 40; i < 48; i++) {
loadSpeech('T', 83, 'T', i);