diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/detection.cpp | 13 | ||||
-rw-r--r-- | engines/parallaction/parallaction.h | 16 |
2 files changed, 18 insertions, 11 deletions
diff --git a/engines/parallaction/detection.cpp b/engines/parallaction/detection.cpp index 3f51f7c834..d3faefe31c 100644 --- a/engines/parallaction/detection.cpp +++ b/engines/parallaction/detection.cpp @@ -30,6 +30,19 @@ #include "parallaction/parallaction.h" namespace Parallaction { + +struct PARALLACTIONGameDescription { + Common::ADGameDescription desc; + + int gameType; + uint32 features; +}; + +int Parallaction::getGameType() const { return _gameDescription->gameType; } +uint32 Parallaction::getFeatures() const { return _gameDescription->features; } +Common::Language Parallaction::getLanguage() const { return _gameDescription->desc.language; } +Common::Platform Parallaction::getPlatform() const { return _gameDescription->desc.platform; } + static GameList GAME_detectGames(const FSList &fslist); } diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h index fee8c6cba5..c55da285a1 100644 --- a/engines/parallaction/parallaction.h +++ b/engines/parallaction/parallaction.h @@ -26,7 +26,6 @@ #include "engines/engine.h" #include "parallaction/defs.h" #include "parallaction/inventory.h" -#include "common/advancedDetector.h" namespace Parallaction { @@ -59,12 +58,7 @@ enum ParallactionGameType { GType_BRA }; -struct PARALLACTIONGameDescription { - Common::ADGameDescription desc; - - int gameType; - uint32 features; -}; +struct PARALLACTIONGameDescription; struct Job; typedef void (*JobFn)(void*, Job*); @@ -226,10 +220,10 @@ public: void changeCharacter(const char *name); public: - int getGameType() const { return _gameDescription->gameType; } - uint32 getFeatures() const { return _gameDescription->features; } - Common::Language getLanguage() const { return _gameDescription->desc.language; } - Common::Platform getPlatform() const { return _gameDescription->desc.platform; } + int getGameType() const; + uint32 getFeatures() const; + Common::Language getLanguage() const; + Common::Platform getPlatform() const; private: const PARALLACTIONGameDescription *_gameDescription; |