diff options
author | Bertrand Augereau | 2011-09-02 08:07:24 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-09-02 08:07:24 +0200 |
commit | c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8 (patch) | |
tree | 363fddce4b18d4dcbd0666461879c44b767754ba | |
parent | 3fff4d97b5a16686a1eedd52554b61ef38fd0a40 (diff) | |
download | scummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.tar.gz scummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.tar.bz2 scummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.zip |
DREAMWEB: 'delsprite' is useless
-rwxr-xr-x | devtools/tasmrecover/tasm-recover | 1 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 9 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 3 |
3 files changed, 2 insertions, 11 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover index 1d5e11bdae..e3a232ef53 100755 --- a/devtools/tasmrecover/tasm-recover +++ b/devtools/tasmrecover/tasm-recover @@ -183,6 +183,7 @@ generator = cpp(context, "DreamGen", blacklist = [ 'isitdescribed', 'checkifset', 'checkifpathison', + 'delsprite', ], skip_output = [ # These functions are processed but not output 'dreamweb', diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 79e4746fb4..44400ecfb2 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -2050,14 +2050,6 @@ forcenext: _cmp(al, al); } -void DreamGenContext::delsprite() { - STACK_CHECK; - di = bx; - cx = (32); - al = 255; - _stosb(cx, true); -} - void DreamGenContext::checkforexit() { STACK_CHECK; cl = data.byte(kRyanx); @@ -17373,7 +17365,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) { case addr_sparky: sparky(); break; case addr_train: train(); break; case addr_checkspeed: checkspeed(); break; - case addr_delsprite: delsprite(); break; case addr_mainman: mainman(); break; case addr_checkforexit: checkforexit(); break; case addr_adjustdown: adjustdown(); break; diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index c2674c2d42..ae6887c829 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -575,7 +575,6 @@ public: static const uint16 addr_adjustdown = 0xc14c; static const uint16 addr_checkforexit = 0xc148; static const uint16 addr_mainman = 0xc138; - static const uint16 addr_delsprite = 0xc11c; static const uint16 addr_checkspeed = 0xc110; static const uint16 addr_train = 0xc104; static const uint16 addr_sparky = 0xc100; @@ -1451,7 +1450,7 @@ public: void openpoolboss(); void buttontwo(); //void usetimedtext(); - void delsprite(); + //void delsprite(); //void getroomspaths(); //void dumptextline(); void fadescreendownhalf(); |