DREAMWEB: 'eden' ported to C++
This commit is contained in:
parent
270eb8773c
commit
ba12c02a75
5 changed files with 11 additions and 13 deletions
|
@ -339,6 +339,7 @@ generator = cpp(context, "DreamGen", blacklist = [
|
|||
'othersmoker',
|
||||
'barwoman',
|
||||
'gamer',
|
||||
'eden',
|
||||
], skip_output = [
|
||||
# These functions are processed but not output
|
||||
'dreamweb',
|
||||
|
|
|
@ -170,15 +170,6 @@ void DreamGenContext::manasleep() {
|
|||
addtopeoplelist();
|
||||
}
|
||||
|
||||
void DreamGenContext::eden() {
|
||||
STACK_CHECK;
|
||||
_cmp(data.byte(kGeneraldead), 0);
|
||||
if (!flags.z())
|
||||
return /* (notinbed) */;
|
||||
showgamereel();
|
||||
addtopeoplelist();
|
||||
}
|
||||
|
||||
void DreamGenContext::edeninbath() {
|
||||
STACK_CHECK;
|
||||
_cmp(data.byte(kGeneraldead), 0);
|
||||
|
|
|
@ -478,7 +478,6 @@ public:
|
|||
static const uint16 addr_femalefan = 0xc028;
|
||||
static const uint16 addr_malefan = 0xc024;
|
||||
static const uint16 addr_edeninbath = 0xc020;
|
||||
static const uint16 addr_eden = 0xc01c;
|
||||
static const uint16 addr_manasleep = 0xc018;
|
||||
static const uint16 addr_attendant = 0xc014;
|
||||
static const uint16 addr_smokebloke = 0xc010;
|
||||
|
@ -1173,7 +1172,6 @@ public:
|
|||
void fadedownmon();
|
||||
void loadcart();
|
||||
void bartender();
|
||||
void eden();
|
||||
void showdiary();
|
||||
void outofopen();
|
||||
void dircom();
|
||||
|
|
|
@ -569,7 +569,7 @@ void DreamGenContext::showrain() {
|
|||
|
||||
static void (DreamGenContext::*reelCallbacks[57])() = {
|
||||
NULL, NULL,
|
||||
&DreamGenContext::eden, &DreamGenContext::edeninbath,
|
||||
NULL, &DreamGenContext::edeninbath,
|
||||
&DreamGenContext::sparky, &DreamGenContext::smokebloke,
|
||||
&DreamGenContext::manasleep, &DreamGenContext::drunk,
|
||||
&DreamGenContext::receptionist, &DreamGenContext::malefan,
|
||||
|
@ -601,7 +601,7 @@ static void (DreamGenContext::*reelCallbacks[57])() = {
|
|||
|
||||
static void (DreamGenContext::*reelCallbacksCPP[57])(ReelRoutine &) = {
|
||||
&DreamGenContext::gamer, &DreamGenContext::sparkydrip,
|
||||
/*&DreamGenContext::eden*/NULL, /*&DreamGenContext::edeninbath*/NULL,
|
||||
&DreamGenContext::eden, /*&DreamGenContext::edeninbath*/NULL,
|
||||
/*&DreamGenContext::sparky*/NULL, /*&DreamGenContext::smokebloke*/NULL,
|
||||
/*&DreamGenContext::manasleep*/NULL, /*&DreamGenContext::drunk*/NULL,
|
||||
/*&DreamGenContext::receptionist*/NULL, /*&DreamGenContext::malefan*/NULL,
|
||||
|
@ -1100,5 +1100,12 @@ void DreamGenContext::gamer(ReelRoutine &routine) {
|
|||
addtopeoplelist(&routine);
|
||||
}
|
||||
|
||||
void DreamGenContext::eden(ReelRoutine &routine) {
|
||||
if (data.byte(kGeneraldead))
|
||||
return;
|
||||
showgamereel(&routine);
|
||||
addtopeoplelist(&routine);
|
||||
}
|
||||
|
||||
} /*namespace dreamgen */
|
||||
|
||||
|
|
|
@ -380,4 +380,5 @@
|
|||
void sparkydrip(ReelRoutine &routine);
|
||||
void othersmoker(ReelRoutine &routine);
|
||||
void gamer(ReelRoutine &routine);
|
||||
void eden(ReelRoutine &routine);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue