mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 14:18:37 +00:00
DREAMWEB: 'disablepath' is not needed
This commit is contained in:
parent
842184d5c5
commit
f7fdb0d4b7
@ -283,6 +283,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
||||
'convnum',
|
||||
'usecharset1',
|
||||
'usetempcharset',
|
||||
'disablepath',
|
||||
], skip_output = [
|
||||
# These functions are processed but not output
|
||||
'dreamweb',
|
||||
|
@ -13123,40 +13123,6 @@ void DreamGenContext::restoreall() {
|
||||
setallchanges();
|
||||
}
|
||||
|
||||
void DreamGenContext::disablepath() {
|
||||
STACK_CHECK;
|
||||
push(cx);
|
||||
_xchg(al, ah);
|
||||
cx = -6;
|
||||
looky2:
|
||||
_add(cx, 6);
|
||||
_sub(al, 10);
|
||||
if (!flags.c())
|
||||
goto looky2;
|
||||
al = ah;
|
||||
_dec(cx);
|
||||
lookx2:
|
||||
_inc(cx);
|
||||
_sub(al, 11);
|
||||
if (!flags.c())
|
||||
goto lookx2;
|
||||
al = cl;
|
||||
ah = 0;
|
||||
cx = 144;
|
||||
_mul(cx);
|
||||
es = data.word(kReels);
|
||||
bx = (0);
|
||||
_add(bx, ax);
|
||||
ax = pop();
|
||||
ah = 0;
|
||||
_add(ax, ax);
|
||||
_add(ax, ax);
|
||||
_add(ax, ax);
|
||||
_add(bx, ax);
|
||||
al = 0;
|
||||
es.byte(bx+6) = al;
|
||||
}
|
||||
|
||||
void DreamGenContext::allocateload() {
|
||||
STACK_CHECK;
|
||||
push(es);
|
||||
|
@ -56,7 +56,6 @@ public:
|
||||
static const uint16 addr_getridoftemp = 0xcb70;
|
||||
static const uint16 addr_allocateload = 0xcb68;
|
||||
static const uint16 addr_dontloadseg = 0xcb64;
|
||||
static const uint16 addr_disablepath = 0xcb50;
|
||||
static const uint16 addr_restoreall = 0xcb44;
|
||||
static const uint16 addr_restorereels = 0xcb40;
|
||||
static const uint16 addr_getridofall = 0xcb3c;
|
||||
@ -1209,7 +1208,7 @@ public:
|
||||
void mainscreen();
|
||||
void watchreel();
|
||||
void showfolder();
|
||||
//void turnanypathoff();
|
||||
void showslots();
|
||||
void openfilefromc();
|
||||
void gettime();
|
||||
//void clearwork();
|
||||
@ -1227,7 +1226,7 @@ public:
|
||||
//void clearendpal();
|
||||
void findtext1();
|
||||
void isryanholding();
|
||||
void showslots();
|
||||
void interupttest();
|
||||
void usecashcard();
|
||||
void usewall();
|
||||
void opentomb();
|
||||
@ -1358,7 +1357,6 @@ public:
|
||||
//void isitdescribed();
|
||||
void hotelbell();
|
||||
void loadspeech();
|
||||
void interupttest();
|
||||
//void cls();
|
||||
//void printsprites();
|
||||
//void checkifperson();
|
||||
@ -1455,7 +1453,7 @@ public:
|
||||
void getridoftemp();
|
||||
//void showcity();
|
||||
void dumpsymbol();
|
||||
void disablepath();
|
||||
//void disablepath();
|
||||
//void convicons();
|
||||
void buttonsix();
|
||||
void intro2text();
|
||||
@ -1486,6 +1484,7 @@ public:
|
||||
void loadsavebox();
|
||||
void soundend();
|
||||
void redes();
|
||||
//void turnanypathoff();
|
||||
void errormessage1();
|
||||
void clearchanges();
|
||||
void errormessage3();
|
||||
|
Loading…
Reference in New Issue
Block a user