diff options
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 30 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 4 | ||||
-rw-r--r-- | engines/dreamweb/stubs.cpp | 20 | ||||
-rw-r--r-- | engines/dreamweb/stubs.h | 1 |
4 files changed, 22 insertions, 33 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 1593ae78d3..d3e3ace249 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -864,28 +864,6 @@ void DreamGenContext::initialMonCols() { showGroup(); } -void DreamGenContext::runEndSeq() { - STACK_CHECK; - atmospheres(); - data.byte(kGetback) = 0; -moreendseq: - vSync(); - spriteUpdate(); - vSync(); - delEverything(); - printSprites(); - reelsOnScreen(); - afterIntroRoom(); - useTimedText(); - vSync(); - dumpMap(); - dumpTimedText(); - vSync(); - _cmp(data.byte(kGetback), 1); - if (!flags.z()) - goto moreendseq; -} - void DreamGenContext::fillOpen() { STACK_CHECK; delTextLine(); @@ -3475,14 +3453,6 @@ lookcolon: goto lookcolon; } -void DreamGenContext::drawItAll() { - STACK_CHECK; - createPanel(); - drawFloor(); - printSprites(); - showIcon(); -} - void DreamGenContext::useCashCard() { STACK_CHECK; getRidOfReels(); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index bde91490af..ddddf7955a 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -483,8 +483,8 @@ public: void __start(); #include "stubs.h" // Allow hand-reversed functions to have a signature different than void f() + void fadeDownMon(); void identifyOb(); - void runEndSeq(); void clearBuffers(); void getObTextStart(); void checkObjectSize(); @@ -497,7 +497,6 @@ public: void getOpenedSize(); void adjustUp(); void fadeScreenDownHalf(); - void fadeDownMon(); void outOfOpen(); void dirCom(); void endGameSeq(); @@ -547,7 +546,6 @@ public: void setPickup(); void dropObject(); void openOb(); - void drawItAll(); void useStereo(); void showDiaryKeys(); void useOpened(); diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index e753efd72a..51884ace1f 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -4627,4 +4627,24 @@ void DreamGenContext::dumpDiaryKeys() { multiDump(kDiaryx + 151, kDiaryy + 71, 16, 16); } +void DreamGenContext::runEndSeq() { + atmospheres(); + data.byte(kGetback) = 0; + + do { + vSync(); + spriteUpdate(); + vSync(); + delEverything(); + printSprites(); + reelsOnScreen(); + afterIntroRoom(); + useTimedText(); + vSync(); + dumpMap(); + dumpTimedText(); + vSync(); + } while (data.byte(kGetback) != 1); +} + } // End of namespace DreamGen diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h index f7d8086a64..24f92a947b 100644 --- a/engines/dreamweb/stubs.h +++ b/engines/dreamweb/stubs.h @@ -584,5 +584,6 @@ void updateSymbolBot(); void showDiaryPage(); void dumpDiaryKeys(); + void runEndSeq(); #endif |