[Scummvm-cvs-logs] scummvm master -> c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8
tramboi
bertrand_augereau at yahoo.fr
Mon Sep 5 16:34:11 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
c8782389d6 DREAMWEB: 'delsprite' is useless
Commit: c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8
https://github.com/scummvm/scummvm/commit/c8782389d6e6f54e1dfa09ff1259fe5b7a7a83f8
Author: Bertrand Augereau (bertrand_augereau at yahoo.fr)
Date: 2011-09-01T23:07:24-07:00
Commit Message:
DREAMWEB: 'delsprite' is useless
Changed paths:
devtools/tasmrecover/tasm-recover
engines/dreamweb/dreamgen.cpp
engines/dreamweb/dreamgen.h
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 1d5e11b..e3a232e 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 79e4746..44400ec 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 c2674c2..ae6887c 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();
More information about the Scummvm-git-logs
mailing list