diff options
author | Bertrand Augereau | 2011-08-22 12:44:07 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-08-22 15:23:11 +0200 |
commit | b65f54982e14b04378abae0323e0b48ec7686c81 (patch) | |
tree | 41eb078f4d788b65868f7a4cbe0deba3552938a4 /engines/dreamweb | |
parent | 6fc0176aacacc9eefa215b8a6a1121cd6721f2c8 (diff) | |
download | scummvm-rg350-b65f54982e14b04378abae0323e0b48ec7686c81.tar.gz scummvm-rg350-b65f54982e14b04378abae0323e0b48ec7686c81.tar.bz2 scummvm-rg350-b65f54982e14b04378abae0323e0b48ec7686c81.zip |
DREAMWEB: 'adjustlen' is not needed
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 13 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 5 |
2 files changed, 2 insertions, 16 deletions
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(); |