diff options
author | Bastien Bouclet | 2018-05-01 12:48:05 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-01 12:48:05 +0200 |
commit | ff4498bda3c84b21e3d4b0d6cd1113510cba4233 (patch) | |
tree | bd5b9748f2e3d0053414531725caeaa0df681748 /engines/prince | |
parent | 30c20f2d3c1ae4fc6f73b8b89b37623c1fcacaf2 (diff) | |
download | scummvm-rg350-ff4498bda3c84b21e3d4b0d6cd1113510cba4233.tar.gz scummvm-rg350-ff4498bda3c84b21e3d4b0d6cd1113510cba4233.tar.bz2 scummvm-rg350-ff4498bda3c84b21e3d4b0d6cd1113510cba4233.zip |
PRINCE: Push down the AD includes
Diffstat (limited to 'engines/prince')
-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; |