aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/people.cpp
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/dreamweb/people.cpp
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/dreamweb/people.cpp')
-rw-r--r--engines/dreamweb/people.cpp10
1 files changed, 8 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) {