diff options
-rwxr-xr-x | devtools/tasmrecover/tasm-recover | 1 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 13 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 5 |
3 files changed, 3 insertions, 16 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index 9cbd4c8816..9ca2d890f7 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -142,6 +142,7 @@ generator = cpp(context, "DreamGen", blacklist = [ 'placesetobject', 'removesetobject', 'showallfree', + 'adjustlen', ], skip_output = [ # These functions are processed but not output 'dreamweb', diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index de15b77520..4ba1324a51 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -6503,18 +6503,6 @@ blankex: goto exloop; } -void DreamGenContext::adjustlen() { - STACK_CHECK; - ah = al; - _add(al, ch); - _cmp(al, 100); - if (flags.c()) - return /* (over242) */; - al = 224; - _sub(al, ch); - ch = al; -} - void DreamGenContext::autolook() { STACK_CHECK; ax = data.word(kMousex); @@ -18294,7 +18282,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_drawfloor: drawfloor(); break; case addr_drawflags: drawflags(); break; case addr_showallex: showallex(); break; - case addr_adjustlen: adjustlen(); break; case addr_autolook: autolook(); break; case addr_look: look(); break; case addr_dolook: dolook(); break; diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index df6c4cf736..5c4d0166bc 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -464,7 +464,6 @@ public: static const uint16 addr_dolook = 0xc474; static const uint16 addr_look = 0xc470; static const uint16 addr_autolook = 0xc46c; - static const uint16 addr_adjustlen = 0xc45c; static const uint16 addr_showallex = 0xc450; static const uint16 addr_drawflags = 0xc43c; static const uint16 addr_drawfloor = 0xc428; @@ -1350,7 +1349,7 @@ public: void putundercentre(); void checkobjectsize(); //void commandonly(); - void adjustlen(); + void titles(); void deallocatemem(); void checkforemm(); void watchreel(); @@ -1612,7 +1611,7 @@ public: void chewy(); void accesslighton(); void dosreturn(); - void titles(); + //void adjustlen(); //void quickquit(); void showpointer(); void usecooker(); |