diff options
author | Bertrand Augereau | 2011-12-06 00:31:38 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-12-06 00:45:05 +0100 |
commit | 560b07e7c3afefdf9a02ef3246dba429fca1c4c6 (patch) | |
tree | c8c763a1344e0b344e11892d8d59baea92052e3a /engines/dreamweb/dreamgen.cpp | |
parent | fb71a89818354e5ec1e4089805f80f0b5fdfd19d (diff) | |
download | scummvm-rg350-560b07e7c3afefdf9a02ef3246dba429fca1c4c6.tar.gz scummvm-rg350-560b07e7c3afefdf9a02ef3246dba429fca1c4c6.tar.bz2 scummvm-rg350-560b07e7c3afefdf9a02ef3246dba429fca1c4c6.zip |
DREAMWEB: 'introMagic1' ported to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 565034047f..995cd8f001 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -789,37 +789,6 @@ smallcandlef: showGameReel(); } -void DreamGenContext::introMagic1() { - STACK_CHECK; - checkSpeed(); - if (!flags.z()) - goto introm1fin; - ax = es.word(bx+3); - _inc(ax); - _cmp(ax, 145); - if (!flags.z()) - goto gotintrom1; - ax = 121; -gotintrom1: - es.word(bx+3) = ax; - _cmp(ax, 121); - if (!flags.z()) - goto introm1fin; - _inc(data.byte(kIntrocount)); - push(es); - push(bx); - intro1Text(); - bx = pop(); - es = pop(); - _cmp(data.byte(kIntrocount), 8); - if (!flags.z()) - goto introm1fin; - _add(data.byte(kMapy), 10); - data.byte(kNowinnewroom) = 1; -introm1fin: - showGameReel(); -} - void DreamGenContext::candles() { STACK_CHECK; checkSpeed(); |