diff options
-rw-r--r-- | engines/prince/detection.cpp | 6 | ||||
-rw-r--r-- | engines/prince/prince.h | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/engines/prince/detection.cpp b/engines/prince/detection.cpp index 21bd55eea7..e38234612f 100644 --- a/engines/prince/detection.cpp +++ b/engines/prince/detection.cpp @@ -21,9 +21,15 @@ */ #include "prince/prince.h" +#include "engines/advancedDetector.h" namespace Prince { +struct PrinceGameDescription { + ADGameDescription desc; + PrinceGameType gameType; +}; + int PrinceEngine::getGameType() const { return _gameDescription->gameType; } diff --git a/engines/prince/prince.h b/engines/prince/prince.h index c264125895..8ff71dbd8d 100644 --- a/engines/prince/prince.h +++ b/engines/prince/prince.h @@ -38,7 +38,6 @@ #include "gui/debugger.h" -#include "engines/advancedDetector.h" #include "engines/engine.h" #include "engines/util.h" @@ -58,14 +57,10 @@ enum PrinceGameType { kPrinceDataPL }; -struct PrinceGameDescription { - ADGameDescription desc; - PrinceGameType gameType; -}; - struct SavegameHeader; class PrinceEngine; +struct PrinceGameDescription; class GraphicsMan; class Script; class Interpreter; |