mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
TWINE: use delta time to show the credits from original game
also added the other actions found in the disassembly that the original game did during the waiting loop
This commit is contained in:
parent
7c3d226778
commit
986aa94154
@ -558,8 +558,17 @@ int32 Menu::processMenu(MenuSettings *menuSettings, bool showCredits) {
|
||||
}
|
||||
startMillis = loopMillis;
|
||||
}
|
||||
if (showCredits && loopMillis - startMillis > 15000) {
|
||||
if (showCredits && loopMillis - startMillis > 11650) {
|
||||
_engine->_menuOptions->showCredits();
|
||||
// TODO the original game also performs these actions:
|
||||
// play FLA_DRAGON3 fla
|
||||
// display RESSHQR_INTROSCREEN1IMG
|
||||
// display RESSHQR_INTROSCREEN2IMG
|
||||
// display RESSHQR_INTROSCREEN3IMG
|
||||
// play FLA_BATEAU fla
|
||||
// if version == EUROPE_VERSION display RESSHQR_LBAIMG else display RESSHQR_RELLENTIMG
|
||||
// display adeline logo
|
||||
// pressing any key during these actions will abort everything and return to the menu
|
||||
startMillis = _engine->_system->getMillis();
|
||||
_engine->_screens->loadMenuImage(false);
|
||||
}
|
||||
|
@ -75,6 +75,7 @@ namespace TwinE {
|
||||
#define FLA_DRAGON3 "dragon3"
|
||||
#define FLA_INTROD "introd"
|
||||
#define FLA_THEEND "the_end"
|
||||
#define FLA_BATEAU "bateau"
|
||||
|
||||
#define FILE3DHQR_HERONORMAL 0
|
||||
#define FILE3DHQR_HEROATHLETIC 1
|
||||
|
Loading…
Reference in New Issue
Block a user