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/engine/eob.cpp | |
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/engine/eob.cpp')
-rw-r--r-- | engines/kyra/engine/eob.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/kyra/engine/eob.cpp b/engines/kyra/engine/eob.cpp index f9c872dee3..00aeffbe8a 100644 --- a/engines/kyra/engine/eob.cpp +++ b/engines/kyra/engine/eob.cpp @@ -45,6 +45,7 @@ EoBEngine::EoBEngine(OSystem *system, const GameFlags &flags) _doorSwitchShapeEncodeDefs = _doorSwitchCoords = 0; _dscDoorCoordsExt = 0; _useMainMenuGUISettings = false; + _ttlCfg = 0; } EoBEngine::~EoBEngine() { @@ -58,6 +59,12 @@ Common::Error EoBEngine::init() { initStaticResource(); + for (int i = 0; i < ARRAYSIZE(_titleConfig); ++i) { + if (_flags.platform == _titleConfig[i].platform) + _ttlCfg = &_titleConfig[i]; + } + assert(_ttlCfg); + if (_configRenderMode != Common::kRenderCGA) _itemsOverlay = _res->fileData((_configRenderMode == Common::kRenderEGA) ? "ITEMRMP.EGA" : "ITEMRMP.VGA", 0); @@ -65,6 +72,9 @@ Common::Error EoBEngine::init() { _screen->modifyScreenDim(9, 0x01, 0x7D, 0x26, 0x3F); _screen->modifyScreenDim(12, 0x01, 0x04, 0x14, 0xA0); + if (_flags.platform == Common::kPlatformPC98) + _screen->modifyScreenDim(28, 0x0A, 0xA4, 0x15, 0x18); + _scriptTimersCount = 1; if (_configRenderMode == Common::kRenderEGA) { @@ -607,7 +617,7 @@ void EoBEngine::healParty() { const KyraRpgGUISettings *EoBEngine::guiSettings() const { if (_flags.platform == Common::kPlatformAmiga) return _useMainMenuGUISettings ? &_guiSettingsAmigaMainMenu : &_guiSettingsAmiga; - else if (_configRenderMode == Common::kRenderCGA || _configRenderMode == Common::kRenderEGA) + else if (_flags.platform == Common::kPlatformPC98 || _configRenderMode == Common::kRenderCGA || _configRenderMode == Common::kRenderEGA) return &_guiSettingsEGA; else return &_guiSettingsVGA; |