From c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8 Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Fri, 2 Sep 2011 08:07:24 +0200 Subject: DREAMWEB: 'delsprite' is useless --- devtools/tasmrecover/tasm-recover | 1 + engines/dreamweb/dreamgen.cpp | 9 --------- 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(); -- cgit v1.2.3