aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
authorBendegúz Nagy2016-08-12 16:29:52 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commitfa0009fbb7879f59c3bd9a303abba8e6fb87865c (patch)
tree6d953e80f8e28347826edf7042eedd56cac9198b /engines/dm/dm.cpp
parent29f5210b3fd2fdd9500cf81e91fbe15d8af827f7 (diff)
downloadscummvm-rg350-fa0009fbb7879f59c3bd9a303abba8e6fb87865c.tar.gz
scummvm-rg350-fa0009fbb7879f59c3bd9a303abba8e6fb87865c.tar.bz2
scummvm-rg350-fa0009fbb7879f59c3bd9a303abba8e6fb87865c.zip
DM: Add entrance credits
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp14
1 files changed, 12 insertions, 2 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index 79b10f2cb0..2912b3198d 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -768,6 +768,16 @@ void DMEngine::f438_STARTEND_OpenEntranceDoors() {
_savedScreenForOpenEntranceDoors = nullptr;
}
+void DMEngine::f442_SARTEND_processCommand202_entranceDrawCredits() {
+ _eventMan->f78_showMouse();
+ _displayMan->f436_STARTEND_FadeToPalette(_displayMan->_g345_aui_BlankBuffer);
+ _displayMan->f466_loadIntoBitmap(k5_creditsGraphicIndice, _displayMan->_g348_bitmapScreen);
+ _displayMan->f436_STARTEND_FadeToPalette(g19_PalCredits);
+ f22_delay(50);
+ _eventMan->f541_waitForMouseOrKeyActivity();
+ _g298_newGame = k202_modeEntranceDrawCredits;
+}
+
void DMEngine::f446_STARTEND_fuseSequnce() {
int16 L1424_i_Multiple;
#define AL1424_B_RemoveFluxcagesFromLoadChaosSquare L1424_i_Multiple
@@ -914,9 +924,9 @@ void DMEngine::f445_STARTEND_fuseSequenceUpdate() {
_eventMan->f357_discardAllInput();
_displayMan->updateScreen();
f22_delay(1);
- _g313_gameTime++; /* BUG0_71 Some timings are too short on fast computers.
+ _g313_gameTime++; /* BUG0_71 Some timings are too short on fast computers.
The ending animation when Lord Chaos is fused plays too quickly because the execution speed is not limited */
-
+
}
} // End of namespace DM