aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/dreamgen.cpp
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-23 23:30:12 +0400
committerVladimir Menshakov2011-06-23 23:30:12 +0400
commite30b41b28e536f18b3c5d2d323c0d808dc1328df (patch)
treeaa795ddebc332696a9396882b3e041708b60977e /engines/dreamweb/dreamgen.cpp
parent714976729d0badab3e7557f62036aac0b2e9cc4f (diff)
downloadscummvm-rg350-e30b41b28e536f18b3c5d2d323c0d808dc1328df.tar.gz
scummvm-rg350-e30b41b28e536f18b3c5d2d323c0d808dc1328df.tar.bz2
scummvm-rg350-e30b41b28e536f18b3c5d2d323c0d808dc1328df.zip
DREAMWEB: Added subtitle option
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r--engines/dreamweb/dreamgen.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index 462ae596f8..2485b5ad6a 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -13830,6 +13830,10 @@ void DreamGenContext::setuptimedtemp() {
_cmp(ah, 0);
if (flags.z())
goto notloadspeech3;
+ push(ax);
+ push(bx);
+ push(cx);
+ push(dx);
dl = 'T';
dh = ah;
cl = 'T';
@@ -13837,9 +13841,20 @@ void DreamGenContext::setuptimedtemp() {
loadspeech();
_cmp(data.byte(kSpeechloaded), 1);
if (!flags.z())
- goto notloadspeech3;
+ goto _tmp1;
al = 50+12;
playchannel1();
+_tmp1:
+ dx = pop();
+ cx = pop();
+ bx = pop();
+ ax = pop();
+ _cmp(data.byte(kSpeechloaded), 1);
+ if (!flags.z())
+ goto notloadspeech3;
+ _cmp(data.byte(kSubtitles), 1);
+ if (flags.z())
+ goto notloadspeech3;
return;
notloadspeech3:
_cmp(data.word(kTimecount), 0);
@@ -21942,7 +21957,7 @@ void DreamGenContext::__start() {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
- 0x00, 0x00, 0x00, };
+ 0x00, 0x00, 0x00, 0x00, };
ds.assign(src, src + sizeof(src));
dreamweb();
}