aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.h
diff options
context:
space:
mode:
authorMax Horn2007-01-21 16:57:13 +0000
committerMax Horn2007-01-21 16:57:13 +0000
commit44cbf4996b7a26832e566bfada4d186643056234 (patch)
tree0ecbed3664cbdd69401d4b89a3a9478f642047ff /engines/agos/agos.h
parent0a9276092fbd946f82a2ea7440d68f2fdaf33cc3 (diff)
downloadscummvm-rg350-44cbf4996b7a26832e566bfada4d186643056234.tar.gz
scummvm-rg350-44cbf4996b7a26832e566bfada4d186643056234.tar.bz2
scummvm-rg350-44cbf4996b7a26832e566bfada4d186643056234.zip
Removed common/advancedDetector.h from agos.h, thus reducing the number of build deps on base/plugins.h and base/game.h from about 155 to 113 (and also reducing the deps on advancedDetector.h, of course). The same should be done to all other engines using the advanced detector (AGI, CINE, SAGA, Parallaction)
svn-id: r25154
Diffstat (limited to 'engines/agos/agos.h')
-rw-r--r--engines/agos/agos.h29
1 files changed, 8 insertions, 21 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 043ab9709b..48df0472f6 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -34,8 +34,6 @@
#include "agos/sound.h"
#include "agos/vga.h"
-#include "common/advancedDetector.h"
-
namespace AGOS {
/* Enable and set to zone number number to dump */
@@ -120,13 +118,7 @@ enum SIMONGameType {
GType_PP = 7
};
-struct AGOSGameDescription {
- Common::ADGameDescription desc;
-
- int gameType;
- int gameId;
- uint32 features;
-};
+struct AGOSGameDescription;
struct GameSpecificSettings;
@@ -175,18 +167,13 @@ public:
bool initGame(void);
void setupGame();
- int getGameId() const { return _gameDescription->gameId; }
- 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; }
- const char *getFileName(int type) const {
- for (int i = 0; _gameDescription->desc.filesDescriptions[i].fileType; i++) {
- if (_gameDescription->desc.filesDescriptions[i].fileType == type)
- return _gameDescription->desc.filesDescriptions[i].fileName;
- }
- return NULL;
- }
+ int getGameId() const;
+ int getGameType() const;
+ uint32 getFeatures() const;
+ const char *getExtra() const;
+ Common::Language getLanguage() const;
+ Common::Platform getPlatform() const;
+ const char *getFileName(int type) const;
protected:
void playSting(uint a);