diff options
author | Bertrand Augereau | 2011-09-05 21:42:06 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-09-05 21:42:06 +0200 |
commit | a6b6d05a2c5052a86c9bf3ca31f548c7ba08b5ee (patch) | |
tree | c8abaf9ae6df1c964a8d1ca6dc656ba4dab939d0 /engines/dreamweb/dreamgen.cpp | |
parent | 1163a83f3587f5ceef41f7c2c429c30e2e8b6887 (diff) | |
download | scummvm-rg350-a6b6d05a2c5052a86c9bf3ca31f548c7ba08b5ee.tar.gz scummvm-rg350-a6b6d05a2c5052a86c9bf3ca31f548c7ba08b5ee.tar.bz2 scummvm-rg350-a6b6d05a2c5052a86c9bf3ca31f548c7ba08b5ee.zip |
DREAMWEB: Ported 'findallryan' to C++
Diffstat (limited to 'engines/dreamweb/dreamgen.cpp')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index a03aa62b83..ad9cb5fbae 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -3847,41 +3847,6 @@ nextopenslot: undertextline(); } -void DreamGenContext::findallryan() { - STACK_CHECK; - push(di); - cx = 30; - ax = 0x0ffff; - _stosw(cx, true); - di = pop(); - cl = 4; - ds = data.word(kExtras); - bx = (0+2080+30000); - ch = 0; -findryanloop: - _cmp(ds.byte(bx+2), cl); - if (!flags.z()) - goto notinryaninv; - _cmp(ds.byte(bx+3), 255); - if (!flags.z()) - goto notinryaninv; - al = ds.byte(bx+4); - ah = 0; - push(di); - _add(di, ax); - _add(di, ax); - al = ch; - ah = 4; - _stosw(); - di = pop(); -notinryaninv: - _add(bx, 16); - _inc(ch); - _cmp(ch, (114)); - if (!flags.z()) - goto findryanloop; -} - void DreamGenContext::findallopen() { STACK_CHECK; push(di); @@ -17282,7 +17247,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_monprint: monprint(); break; case addr_fillryan: fillryan(); break; case addr_fillopen: fillopen(); break; - case addr_findallryan: findallryan(); break; case addr_findallopen: findallopen(); break; case addr_examineob: examineob(); break; case addr_makemainscreen: makemainscreen(); break; |