aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Augereau2011-08-18 22:03:54 +0200
committerBertrand Augereau2011-08-18 22:03:54 +0200
commit5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc (patch)
tree71a22440f76666e4f62c7c6fbb01f91383b76394
parent089e20ec2b3e8198bbb078a1ccdbbaf7b8c8da39 (diff)
downloadscummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.tar.gz
scummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.tar.bz2
scummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.zip
DREAMWEB: 'findlen' is unused
-rwxr-xr-xdevtools/tasmrecover/tasm-recover1
-rw-r--r--engines/dreamweb/dreamgen.cpp16
-rw-r--r--engines/dreamweb/dreamgen.h5
3 files changed, 3 insertions, 19 deletions
diff --git a/devtools/tasmrecover/tasm-recover b/devtools/tasmrecover/tasm-recover
index 5a18229d3c..8627321227 100755
--- a/devtools/tasmrecover/tasm-recover
+++ b/devtools/tasmrecover/tasm-recover
@@ -129,6 +129,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'finalframe',
'commandonly',
'makename',
+ 'findlen',
], skip_output = [
# These functions are processed but not output
'dreamweb',
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index f388ac89db..a39a912e81 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -14214,21 +14214,6 @@ isntblank:
_stosw();
}
-void DreamGenContext::findlen() {
- STACK_CHECK;
- _dec(bx);
- _add(bx, ax);
-nextone:
- _cmp(cl, ds.byte(bx));
- if (!flags.z())
- return /* (foundlen) */;
- _dec(bx);
- _dec(ax);
- _cmp(ax, 0);
- if (!flags.z())
- goto nextone;
-}
-
void DreamGenContext::scanfornames() {
STACK_CHECK;
dx = data;
@@ -18880,7 +18865,6 @@ void DreamGenContext::__dispatch_call(uint16 addr) {
case addr_makeheader: makeheader(); break;
case addr_storeit: storeit(); break;
case addr_saveseg: saveseg(); break;
- case addr_findlen: findlen(); break;
case addr_scanfornames: scanfornames(); break;
case addr_decide: decide(); break;
case addr_showdecisions: showdecisions(); break;
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index a032f46002..1f1e7cd679 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -206,7 +206,6 @@ public:
static const uint16 addr_showdecisions = 0xc8bc;
static const uint16 addr_decide = 0xc8b8;
static const uint16 addr_scanfornames = 0xc8b4;
- static const uint16 addr_findlen = 0xc8b0;
static const uint16 addr_saveseg = 0xc8ac;
static const uint16 addr_storeit = 0xc8a8;
static const uint16 addr_makeheader = 0xc8a4;
@@ -1880,7 +1879,7 @@ public:
void setwalk();
void useroutine();
void zoomicon();
- void hotelcontrol();
+ //void findlen();
void findpathofpoint();
void issetobonmap();
void getdestinfo();
@@ -1899,7 +1898,7 @@ public:
void loadpalfromiff();
//void facerightway();
void startup1();
- void findlen();
+ void hotelcontrol();
void showsymbol();
void mugger();
void atmospheres();