DREAMWEB: 'findlen' is unused
This commit is contained in:
parent
089e20ec2b
commit
5ff686a6dc
3 changed files with 3 additions and 19 deletions
|
@ -129,6 +129,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
|||
'finalframe',
|
||||
'commandonly',
|
||||
'makename',
|
||||
'findlen',
|
||||
], skip_output = [
|
||||
# These functions are processed but not output
|
||||
'dreamweb',
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue