diff options
author | Bertrand Augereau | 2011-12-01 15:55:50 +0100 |
---|---|---|
committer | Bertrand Augereau | 2011-12-01 15:55:50 +0100 |
commit | ba12c02a7513f31e20c126baa9562764bcc6cc4b (patch) | |
tree | 3e3c0fb53718c03b161afac9779d70e4c9f00c84 /engines/dreamweb/sprite.cpp | |
parent | 270eb8773c0ba4b57ac4038e25aa5b60b2c9c3f8 (diff) | |
download | scummvm-rg350-ba12c02a7513f31e20c126baa9562764bcc6cc4b.tar.gz scummvm-rg350-ba12c02a7513f31e20c126baa9562764bcc6cc4b.tar.bz2 scummvm-rg350-ba12c02a7513f31e20c126baa9562764bcc6cc4b.zip |
DREAMWEB: 'eden' ported to C++
Diffstat (limited to 'engines/dreamweb/sprite.cpp')
-rw-r--r-- | engines/dreamweb/sprite.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/dreamweb/sprite.cpp b/engines/dreamweb/sprite.cpp index f8c865da6c..a9f5bf1815 100644 --- a/engines/dreamweb/sprite.cpp +++ b/engines/dreamweb/sprite.cpp @@ -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 */ |