diff options
author | athrxx | 2019-11-20 23:56:41 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:42 +0100 |
commit | a0828a000b5ecff36e987db283436fc7b574232d (patch) | |
tree | b0cfc4338e0acdf07a5af90a0767283821b24ea4 /engines/kyra/gui | |
parent | 1db3ec1f712ba75e04911e0a936f873998f9d1c9 (diff) | |
download | scummvm-rg350-a0828a000b5ecff36e987db283436fc7b574232d.tar.gz scummvm-rg350-a0828a000b5ecff36e987db283436fc7b574232d.tar.bz2 scummvm-rg350-a0828a000b5ecff36e987db283436fc7b574232d.zip |
KYRA: (EOB/PC98) - fix intro and main menu screen
Diffstat (limited to 'engines/kyra/gui')
-rw-r--r-- | engines/kyra/gui/gui_eob.cpp | 8 | ||||
-rw-r--r-- | engines/kyra/gui/gui_eob.h | 1 |
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/kyra/gui/gui_eob.cpp b/engines/kyra/gui/gui_eob.cpp index 2d51adb498..5b8c3c6974 100644 --- a/engines/kyra/gui/gui_eob.cpp +++ b/engines/kyra/gui/gui_eob.cpp @@ -1441,6 +1441,8 @@ GUI_EoB::GUI_EoB(EoBCoreEngine *vm) : GUI(vm), _vm(vm), _screen(vm->_screen) { _highLightColorTable = _highlightColorTableAmiga; else if (_vm->game() == GI_EOB1 && (_vm->_configRenderMode == Common::kRenderCGA || _vm->_configRenderMode == Common::kRenderEGA)) _highLightColorTable = _highlightColorTableEGA; + else if (_vm->game() == GI_EOB1 && _vm->gameFlags().platform == Common::kPlatformPC98) + _highLightColorTable = _highlightColorTablePC98; else _highLightColorTable = _highlightColorTableVGA; @@ -3076,12 +3078,12 @@ int GUI_EoB::selectSaveSlotDialogue(int x, int y, int id) { drawSaveSlotButton(newHighlight, 0, _vm->guiSettings()->colors.guiColorLightRed); // Display highlighted slot index in the bottom left corner to avoid people getting lost with the 990 save slots - _screen->setFont(Screen::FID_6_FNT); + Screen::FontId of = _screen->setFont(Screen::FID_6_FNT); int sli = (newHighlight == 6) ? _savegameOffset : (_savegameOffset + newHighlight); _screen->set16bitShadingLevel(4); _screen->printText(Common::String::format("%03d/989", sli).c_str(), _saveSlotX + 5, _saveSlotY + 135, _vm->guiSettings()->colors.frame2, _vm->guiSettings()->colors.fill); _screen->set16bitShadingLevel(0); - _screen->setFont(Screen::FID_8_FNT); + _screen->setFont(of); _screen->updateScreen(); lastHighlight = newHighlight; @@ -4377,6 +4379,8 @@ const uint8 GUI_EoB::_highlightColorTableEGA[] = { 0x0C, 0x0D, 0x0E, 0x0F, 0x0E, const uint8 GUI_EoB::_highlightColorTableAmiga[] = { 0x13, 0x0B, 0x12, 0x0A, 0x11, 0x09, 0x11, 0x0A, 0x12, 0x0B, 0x00 }; +const uint8 GUI_EoB::_highlightColorTablePC98[] = { 0x0C, 0x0D, 0x0E, 0x0F, 0x0E, 0x0D, 0x00 }; + } // End of namespace Kyra #endif // ENABLE_EOB diff --git a/engines/kyra/gui/gui_eob.h b/engines/kyra/gui/gui_eob.h index 0e10d56b6e..696c013594 100644 --- a/engines/kyra/gui/gui_eob.h +++ b/engines/kyra/gui/gui_eob.h @@ -155,6 +155,7 @@ private: static const uint8 _highlightColorTableVGA[]; static const uint8 _highlightColorTableEGA[]; static const uint8 _highlightColorTableAmiga[]; + static const uint8 _highlightColorTablePC98[]; // FM-Towns specific int checkKatakanaSelection(); |