Skip to content

Commit

Permalink
DREAMWEB: 'manasleep2' ported to C++ (same as 'manasleep')
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Dec 7, 2011
1 parent b419f73 commit 3962bcb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions devtools/tasmrecover/tasm-recover
Expand Up @@ -405,6 +405,7 @@ generator = cpp(context, "DreamGen", blacklist = [
'makeworn',
'malefan',
'manasleep',
'manasleep2',
'mansatstill',
'maptopanel',
'mode640x480',
Expand Down
9 changes: 0 additions & 9 deletions engines/dreamweb/dreamgen.cpp
Expand Up @@ -136,15 +136,6 @@ void DreamGenContext::louisChair() {
addToPeopleList();
}

void DreamGenContext::manAsleep2() {
STACK_CHECK;
al = es.byte(bx+7);
_and(al, 127);
es.byte(bx+7) = al;
showGameReel();
addToPeopleList();
}

void DreamGenContext::drinker() {
STACK_CHECK;
checkSpeed();
Expand Down
1 change: 0 additions & 1 deletion engines/dreamweb/dreamgen.h
Expand Up @@ -639,7 +639,6 @@ class DreamGenContext : public Context {
void selectSlot();
void fadeUpMon();
void soundEnd();
void manAsleep2();
void introMagic2();
void introMagic3();
void showDiaryPage();
Expand Down
4 changes: 2 additions & 2 deletions engines/dreamweb/people.cpp
Expand Up @@ -33,7 +33,7 @@ static void (DreamGenContext::*reelCallbacks[57])() = {
NULL, NULL,
&DreamGenContext::louisChair, &DreamGenContext::soldier1,
&DreamGenContext::bossMan, &DreamGenContext::interviewer,
&DreamGenContext::heavy, &DreamGenContext::manAsleep2,
&DreamGenContext::heavy, NULL,
NULL, &DreamGenContext::drinker,
&DreamGenContext::bartender, NULL,
NULL, &DreamGenContext::attendant,
Expand Down Expand Up @@ -65,7 +65,7 @@ static void (DreamGenContext::*reelCallbacksCPP[57])(ReelRoutine &) = {
&DreamGenContext::genericPerson /*femaleFan*/, &DreamGenContext::louis,
/*&DreamGenContext::louisChair*/NULL, /*&DreamGenContext::soldier1*/NULL,
/*&DreamGenContext::bossMan*/NULL, /*&DreamGenContext::interviewer*/NULL,
/*&DreamGenContext::heavy*/NULL, /*&DreamGenContext::manAsleep2*/NULL,
/*&DreamGenContext::heavy*/NULL, &DreamGenContext::manAsleep /*manAsleep2*/,
&DreamGenContext::genericPerson /*manSatStill*/, /*&DreamGenContext::drinker*/NULL,
/*&DreamGenContext::bartender*/NULL, &DreamGenContext::genericPerson /*otherSmoker*/,
&DreamGenContext::genericPerson /*tattooMan*/, /*&DreamGenContext::attendant*/NULL,
Expand Down

0 comments on commit 3962bcb

Please sign in to comment.