aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorBertrand Augereau2011-09-02 08:07:24 +0200
committerBertrand Augereau2011-09-02 08:07:24 +0200
commitc8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8 (patch)
tree363fddce4b18d4dcbd0666461879c44b767754ba /engines/dreamweb
parent3fff4d97b5a16686a1eedd52554b61ef38fd0a40 (diff)
downloadscummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.tar.gz
scummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.tar.bz2
scummvm-rg350-c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8.zip
DREAMWEB: 'delsprite' is useless
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/dreamgen.cpp9
-rw-r--r--engines/dreamweb/dreamgen.h3
2 files changed, 1 insertions, 11 deletions
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();