diff options
-rwxr-xr-x | devtools/tasmrecover/tasm-recover | 1 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 34 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 9 |
3 files changed, 5 insertions, 39 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index e86209908e..22ef79f468 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -283,6 +283,7 @@ generator = cpp(context, "DreamGen", blacklist = [ 'convnum', 'usecharset1', 'usetempcharset', + 'disablepath', ], skip_output = [ # These functions are processed but not output 'dreamweb', diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 63c014d545..0b9b897cb1 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -13123,40 +13123,6 @@ void DreamGenContext::restoreall() { setallchanges(); } -void DreamGenContext::disablepath() { - STACK_CHECK; - push(cx); - _xchg(al, ah); - cx = -6; -looky2: - _add(cx, 6); - _sub(al, 10); - if (!flags.c()) - goto looky2; - al = ah; - _dec(cx); -lookx2: - _inc(cx); - _sub(al, 11); - if (!flags.c()) - goto lookx2; - al = cl; - ah = 0; - cx = 144; - _mul(cx); - es = data.word(kReels); - bx = (0); - _add(bx, ax); - ax = pop(); - ah = 0; - _add(ax, ax); - _add(ax, ax); - _add(ax, ax); - _add(bx, ax); - al = 0; - es.byte(bx+6) = al; -} - void DreamGenContext::allocateload() { STACK_CHECK; push(es); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index fc0b7fae5e..ebbd2c4545 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -56,7 +56,6 @@ public: static const uint16 addr_getridoftemp = 0xcb70; static const uint16 addr_allocateload = 0xcb68; static const uint16 addr_dontloadseg = 0xcb64; - static const uint16 addr_disablepath = 0xcb50; static const uint16 addr_restoreall = 0xcb44; static const uint16 addr_restorereels = 0xcb40; static const uint16 addr_getridofall = 0xcb3c; @@ -1209,7 +1208,7 @@ public: void mainscreen(); void watchreel(); void showfolder(); - //void turnanypathoff(); + void showslots(); void openfilefromc(); void gettime(); //void clearwork(); @@ -1227,7 +1226,7 @@ public: //void clearendpal(); void findtext1(); void isryanholding(); - void showslots(); + void interupttest(); void usecashcard(); void usewall(); void opentomb(); @@ -1358,7 +1357,6 @@ public: //void isitdescribed(); void hotelbell(); void loadspeech(); - void interupttest(); //void cls(); //void printsprites(); //void checkifperson(); @@ -1455,7 +1453,7 @@ public: void getridoftemp(); //void showcity(); void dumpsymbol(); - void disablepath(); + //void disablepath(); //void convicons(); void buttonsix(); void intro2text(); @@ -1486,6 +1484,7 @@ public: void loadsavebox(); void soundend(); void redes(); + //void turnanypathoff(); void errormessage1(); void clearchanges(); void errormessage3(); |