diff options
author | Bastien Bouclet | 2018-12-10 19:11:25 +0100 |
---|---|---|
committer | Bastien Bouclet | 2018-12-10 19:11:25 +0100 |
commit | 10ff73e6e03a4b9117fd7035355ee28c2dffa4a4 (patch) | |
tree | 5d2f7f7bf8351b6a952b5763aa05b2bbd92d826a /engines/illusions/detection.cpp | |
parent | 0d1800b6052fb781d442591fab007f95b6515b08 (diff) | |
download | scummvm-rg350-10ff73e6e03a4b9117fd7035355ee28c2dffa4a4.tar.gz scummvm-rg350-10ff73e6e03a4b9117fd7035355ee28c2dffa4a4.tar.bz2 scummvm-rg350-10ff73e6e03a4b9117fd7035355ee28c2dffa4a4.zip |
ILLUSIONS: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
Diffstat (limited to 'engines/illusions/detection.cpp')
-rw-r--r-- | engines/illusions/detection.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/illusions/detection.cpp b/engines/illusions/detection.cpp index 3a9c77e845..024dea2641 100644 --- a/engines/illusions/detection.cpp +++ b/engines/illusions/detection.cpp @@ -40,6 +40,15 @@ static const PlainGameDescriptor illusionsGames[] = { namespace Illusions { +struct IllusionsGameDescription { + ADGameDescription desc; + int gameId; +}; + +int IllusionsEngine::getGameId() const { + return _gameDescription->gameId; +} + static const IllusionsGameDescription gameDescriptions[] = { { { |