diff options
| author | athrxx | 2019-01-30 00:24:31 +0100 |
|---|---|---|
| committer | athrxx | 2019-03-06 20:48:21 +0100 |
| commit | 7b8c84fa4d3f3d8e1c5fa543fae7ddbd7a495bb7 (patch) | |
| tree | a4dd3631826170611174434f37d16d3fb5d0ea32 /engines/kyra/sequence | |
| parent | e00eaa4899d86fb97c333d4b609de4612895ffea (diff) | |
| download | scummvm-rg350-7b8c84fa4d3f3d8e1c5fa543fae7ddbd7a495bb7.tar.gz scummvm-rg350-7b8c84fa4d3f3d8e1c5fa543fae7ddbd7a495bb7.tar.bz2 scummvm-rg350-7b8c84fa4d3f3d8e1c5fa543fae7ddbd7a495bb7.zip | |
KYRA: (EOB1/Amiga) - fix chargen and gui colors
Diffstat (limited to 'engines/kyra/sequence')
| -rw-r--r-- | engines/kyra/sequence/sequences_eob.cpp | 34 |
1 files changed, 27 insertions, 7 deletions
diff --git a/engines/kyra/sequence/sequences_eob.cpp b/engines/kyra/sequence/sequences_eob.cpp index 7b3618f3d1..a0b10e3c88 100644 --- a/engines/kyra/sequence/sequences_eob.cpp +++ b/engines/kyra/sequence/sequences_eob.cpp @@ -1041,25 +1041,42 @@ int EoBEngine::mainMenu() { while (menuChoice >= 0 && !shouldQuit()) { switch (menuChoice) { case 0: { - if (_configRenderMode != Common::kRenderEGA) - _screen->loadPalette("EOBPAL.COL", _screen->getPalette(0)); - _screen->loadEoBBitmap(_flags.platform == Common::kPlatformAmiga ? "TITLE" : "INTRO", _cgaMappingDefault, 5, 3, 2); - _screen->setScreenPalette(_screen->getPalette(0)); + if (_flags.platform == Common::kPlatformAmiga) { + _screen->fadeToBlack(10); + _screen->loadEoBBitmap("TITLE", 0, 5, 3, 1); + _screen->fadeFromBlack(10); + } else { + if (_configRenderMode != Common::kRenderEGA) + _screen->loadPalette("EOBPAL.COL", _screen->getPalette(0)); + _screen->loadEoBBitmap("INTRO", _cgaMappingDefault, 5, 3, 2); + _screen->setScreenPalette(_screen->getPalette(0)); + } + _screen->_curPage = 2; of = _screen->setFont(Screen::FID_6_FNT); Common::String versionString(Common::String::format("ScummVM %s", gScummVMVersion)); _screen->printText(versionString.c_str(), 280 - versionString.size() * 6, 153, _screen->getPagePixel(2, 0, 0), 0); _screen->setFont(of); _screen->fillRect(0, 159, 319, 199, _screen->getPagePixel(2, 0, 0)); - gui_drawBox(77, 165, 173, 29, 14, 13, 12); - gui_drawBox(76, 164, 175, 31, 14, 13, -1); + + if (_flags.platform == Common::kPlatformAmiga) { + gui_drawBox(75, 165, 177, 29, 22, 28, -1); + gui_drawBox(74, 164, 179, 31, 22, 28, -1); + } else { + gui_drawBox(77, 165, 173, 29, 14, 13, 12); + gui_drawBox(76, 164, 175, 31, 14, 13, -1); + } + _screen->_curPage = 0; _screen->copyRegion(0, 0, 0, 0, 320, 200, 2, 0, Screen::CR_NO_P_CHECK); _screen->updateScreen(); + _allowImport = true; menuChoice = mainMenuLoop(); _allowImport = false; - } break; + } + + break; case 1: // load game in progress @@ -1081,10 +1098,13 @@ int EoBEngine::mainMenu() { _sound->selectAudioResourceSet(kMusicIntro); _sound->loadSoundFile(0); _screen->hideMouse(); + seq_playIntro(); + _screen->showMouse(); _sound->selectAudioResourceSet(kMusicIngame); _sound->loadSoundFile(0); + menuChoice = 0; break; } |
