DREAMWEB: 'foldertext' ported to C++

This commit is contained in:
Bertrand Augereau 2011-11-29 15:18:17 +01:00
parent 097b4e5c7a
commit eb296fc9e0
5 changed files with 9 additions and 14 deletions

View File

@ -308,6 +308,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'nextfolder',
'lastfolder',
'folderhints',
'folderexit',
'getlocation',
'setlocation',
], skip_output = [

View File

@ -9754,16 +9754,6 @@ void DreamGenContext::loadfolder() {
loadtemptext();
}
void DreamGenContext::folderexit() {
STACK_CHECK;
ds = data.word(kTempgraphics2);
di = 296;
bx = 178;
al = 6;
ah = 0;
showframe();
}
void DreamGenContext::entersymbol() {
STACK_CHECK;
data.byte(kManisoffscreen) = 1;

View File

@ -176,7 +176,6 @@ public:
static const uint16 addr_settopleft = 0xc7e0;
static const uint16 addr_quitsymbol = 0xc7dc;
static const uint16 addr_entersymbol = 0xc7d8;
static const uint16 addr_folderexit = 0xc7cc;
static const uint16 addr_loadfolder = 0xc7c4;
static const uint16 addr_loadmenu = 0xc7b0;
static const uint16 addr_showmenu = 0xc7ac;
@ -1156,7 +1155,7 @@ public:
void loadfolder();
void dumpdiarykeys();
//void dumppointer();
void bossman();
//void look();
void getridofreels();
void readkey();
void louis();
@ -1440,7 +1439,6 @@ public:
//void quickquit();
//void showpointer();
void usecooker();
//void look();
void loadmenu();
void checkforemm();
//void checkifpathison();
@ -1480,6 +1478,7 @@ public:
//void pixelcheckset();
void reexfrominv();
void examinventory();
//void folderexit();
void getridoftemp3();
void usedryer();
//void dumpeverything();
@ -1547,7 +1546,7 @@ public:
void describeob();
void deleteexframe();
//void readsetdata();
void folderexit();
void bossman();
void dosreturn();
void wheelsound();
//void actualsave();

View File

@ -2485,5 +2485,9 @@ void DreamGenContext::folderhints() {
}
}
void DreamGenContext::folderexit() {
showframe(tempGraphics2(), 296, 178, 6, 0);
}
} /*namespace dreamgen */

View File

@ -362,6 +362,7 @@
void nextfolder();
void lastfolder();
void folderhints();
void folderexit();
uint8 getlocation(uint8 index);
void getlocation();
void setlocation(uint8 index);