diff options
author | Bertrand Augereau | 2011-08-18 22:03:54 +0200 |
---|---|---|
committer | Bertrand Augereau | 2011-08-18 22:03:54 +0200 |
commit | 5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc (patch) | |
tree | 71a22440f76666e4f62c7c6fbb01f91383b76394 /engines | |
parent | 089e20ec2b3e8198bbb078a1ccdbbaf7b8c8da39 (diff) | |
download | scummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.tar.gz scummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.tar.bz2 scummvm-rg350-5ff686a6dc180566dc4e6618f73ee4ea36ab9dcc.zip |
DREAMWEB: 'findlen' is unused
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 16 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 5 |
2 files changed, 2 insertions, 19 deletions
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(); |