diff options
author | Eugene Sandulenko | 2007-01-21 20:24:38 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-01-21 20:24:38 +0000 |
commit | d3b0ff8ade3a147aa3ce78399fd66fb340b07584 (patch) | |
tree | e0a8429b516c22e364bca025cd30604f905615b5 /engines/cine | |
parent | 01a5faa6a0ba89b7f774efe33839a077eeaa5f9d (diff) | |
download | scummvm-rg350-d3b0ff8ade3a147aa3ce78399fd66fb340b07584.tar.gz scummvm-rg350-d3b0ff8ade3a147aa3ce78399fd66fb340b07584.tar.bz2 scummvm-rg350-d3b0ff8ade3a147aa3ce78399fd66fb340b07584.zip |
Reduce dependency from common/advancedDetector.h
svn-id: r25156
Diffstat (limited to 'engines/cine')
-rw-r--r-- | engines/cine/cine.h | 16 | ||||
-rw-r--r-- | engines/cine/detection.cpp | 13 |
2 files changed, 18 insertions, 11 deletions
diff --git a/engines/cine/cine.h b/engines/cine/cine.h index db1c32f4a8..4646850a93 100644 --- a/engines/cine/cine.h +++ b/engines/cine/cine.h @@ -28,7 +28,6 @@ #include "common/stdafx.h" #include "common/scummsys.h" #include "common/util.h" -#include "common/advancedDetector.h" #include "engines/engine.h" @@ -59,12 +58,7 @@ enum CineGameFeatures { GF_ALT_FONT = 1 << 2 }; -struct CINEGameDescription { - Common::ADGameDescription desc; - - int gameType; - uint32 features; -}; +struct CINEGameDescription; class CineEngine : public Engine { @@ -79,10 +73,10 @@ public: CineEngine(OSystem *syst); virtual ~CineEngine(); - 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; bool loadSaveDirectory(void); void makeSystemMenu(void); diff --git a/engines/cine/detection.cpp b/engines/cine/detection.cpp index 1a4df5ce00..f4bbcd58dc 100644 --- a/engines/cine/detection.cpp +++ b/engines/cine/detection.cpp @@ -32,6 +32,19 @@ #include "cine/cine.h" namespace Cine { +struct CINEGameDescription { + Common::ADGameDescription desc; + + int gameType; + uint32 features; +}; + +int CineEngine::getGameType() const { return _gameDescription->gameType; } +uint32 CineEngine::getFeatures() const { return _gameDescription->features; } +Common::Language CineEngine::getLanguage() const { return _gameDescription->desc.language; } +Common::Platform CineEngine::getPlatform() const { return _gameDescription->desc.platform; } + + static GameList GAME_detectGames(const FSList &fslist); } |