diff options
author | Paul Gilbert | 2019-08-29 21:08:53 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-08-29 21:08:53 -0700 |
commit | 9f7cadaf8a059977ead55aae8cb94d6cb91f3f26 (patch) | |
tree | 003b0c0b59e573361a7ad3d0aed1f09608790f2b /engines/xeen/detection.cpp | |
parent | 6d4e398fb6d0f4b14cbb636560e9e068cd4be1a2 (diff) | |
download | scummvm-rg350-9f7cadaf8a059977ead55aae8cb94d6cb91f3f26.tar.gz scummvm-rg350-9f7cadaf8a059977ead55aae8cb94d6cb91f3f26.tar.bz2 scummvm-rg350-9f7cadaf8a059977ead55aae8cb94d6cb91f3f26.zip |
XEEN: Shift getting specific game Id to an engine method
Diffstat (limited to 'engines/xeen/detection.cpp')
-rw-r--r-- | engines/xeen/detection.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/xeen/detection.cpp b/engines/xeen/detection.cpp index c542c8d18d..315b169655 100644 --- a/engines/xeen/detection.cpp +++ b/engines/xeen/detection.cpp @@ -45,6 +45,14 @@ uint32 XeenEngine::getGameID() const { return _gameDescription->gameID; } +uint32 XeenEngine::getSpecificGameId() const { + uint gameId = g_vm->getGameID(); + if (gameId == GType_WorldOfXeen) + gameId = _files->_ccNum ? GType_DarkSide : GType_Clouds; + + return gameId; +} + uint32 XeenEngine::getGameFeatures() const { return _gameDescription->features; } |