diff options
author | athrxx | 2019-12-05 22:47:07 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:46 +0100 |
commit | f01d432c2529e2a47dcbc2438356b00706b41b68 (patch) | |
tree | 39982b89db66605de53e6a6e78c2058cfb070ef5 /engines/kyra/engine | |
parent | fde59250370cb4c1550621a33bf2b5c449e2bcdb (diff) | |
download | scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.tar.gz scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.tar.bz2 scummvm-rg350-f01d432c2529e2a47dcbc2438356b00706b41b68.zip |
KYRA: (EOB/PC98) - implement ending sequence
(The PC-98 version has its own unique ending sequence)
Diffstat (limited to 'engines/kyra/engine')
-rw-r--r-- | engines/kyra/engine/eob.cpp | 1 | ||||
-rw-r--r-- | engines/kyra/engine/eob.h | 2 | ||||
-rw-r--r-- | engines/kyra/engine/eobcommon.cpp | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/engines/kyra/engine/eob.cpp b/engines/kyra/engine/eob.cpp index bb8627fb04..cdd49a75fd 100644 --- a/engines/kyra/engine/eob.cpp +++ b/engines/kyra/engine/eob.cpp @@ -46,6 +46,7 @@ EoBEngine::EoBEngine(OSystem *system, const GameFlags &flags) _dscDoorCoordsExt = 0; _useMainMenuGUISettings = false; _ttlCfg = 0; + _xdth = false; } EoBEngine::~EoBEngine() { diff --git a/engines/kyra/engine/eob.h b/engines/kyra/engine/eob.h index 174f9b9c7a..5b06e30f95 100644 --- a/engines/kyra/engine/eob.h +++ b/engines/kyra/engine/eob.h @@ -33,6 +33,7 @@ class EoBEngine : public EoBCoreEngine { friend class GUI_EoB; friend class EoBSeqPlayerCommon; friend class EoBIntroPlayer; +friend class EoBPC98FinalePlayer; friend class EoBAmigaFinalePlayer; public: EoBEngine(OSystem *system, const GameFlags &flags); @@ -86,6 +87,7 @@ private: void seq_xdeath(); const char *const *_finBonusStrings; + bool _xdth; // characters void drawNpcScene(int npcIndex); diff --git a/engines/kyra/engine/eobcommon.cpp b/engines/kyra/engine/eobcommon.cpp index 7e180ca8cc..729e59b749 100644 --- a/engines/kyra/engine/eobcommon.cpp +++ b/engines/kyra/engine/eobcommon.cpp @@ -425,7 +425,7 @@ Common::Error EoBCoreEngine::init() { assert(_sound); _sound->init(); - // This if for EOB1 / PC98 only + // This if for EOB1 PC-98 only _sound->loadSfxFile("EFECT.OBJ"); // Setup volume settings (and read in all ConfigManager settings) @@ -450,7 +450,7 @@ Common::Error EoBCoreEngine::init() { assert(_inf); _debugger = new Debugger_EoB(this); assert(_debugger); - + if (_flags.platform == Common::kPlatformAmiga) { if (_res->exists("EOBF6.FONT")) _screen->loadFont(Screen::FID_6_FNT, "EOBF6.FONT"); |