aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.h
diff options
context:
space:
mode:
authorMax Horn2003-03-01 22:04:48 +0000
committerMax Horn2003-03-01 22:04:48 +0000
commitf4e147e5d24ce3c74bf467dcd3737dbedfa27c82 (patch)
treefcd4adc99d3366b85f8e68012361c1002e44cc85 /common/gameDetector.h
parent956e5e2b3dfe7658732ee036862e347e4c8c13aa (diff)
downloadscummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.tar.gz
scummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.tar.bz2
scummvm-rg350-f4e147e5d24ce3c74bf467dcd3737dbedfa27c82.zip
removed the single big VersionSettings list; instead, the simon & scumm modules now keep their target lists seperatly (and when we add BASS, it can have its own target list)
svn-id: r6652
Diffstat (limited to 'common/gameDetector.h')
-rw-r--r--common/gameDetector.h33
1 files changed, 7 insertions, 26 deletions
diff --git a/common/gameDetector.h b/common/gameDetector.h
index 1849e3de8c..640a059136 100644
--- a/common/gameDetector.h
+++ b/common/gameDetector.h
@@ -35,35 +35,16 @@ enum {
};
enum GameId {
- GID_TENTACLE = 1,
- GID_MONKEY2,
- GID_INDY4,
- GID_MONKEY,
- GID_SAMNMAX,
- GID_MONKEY_EGA,
- GID_LOOM256,
- GID_ZAK256,
- GID_INDY3_256,
- GID_LOOM,
- GID_FT,
- GID_DIG,
- GID_MONKEY_VGA,
- GID_CMI,
- GID_MANIAC,
- GID_ZAK,
- //GID_MANIAC64,
- //GID_ZAK64,
- GID_PUTTDEMO,
+ GID_SCUMM_FIRST = 1,
+ GID_SCUMM_LAST = GID_SCUMM_FIRST + 99,
// Simon the Sorcerer
- GID_SIMON_FIRST = 100,
- GID_SIMON_LAST = GID_SIMON_FIRST + 36,
-
- // BASS
- GID_BASS
-
+ GID_SIMON_FIRST,
+ GID_SIMON_LAST = GID_SIMON_FIRST + 99
};
+// TODO: the GameFeatures really should be moved to scumm/scumm.h, too
+// but right now, gameDetector.h still uses GF_ADLIB_DEFAULT, so we can't.
enum GameFeatures {
// SCUMM features
GF_NEW_OPCODES = 1 << 0,
@@ -120,7 +101,7 @@ struct Languages {
int id;
};
-extern const VersionSettings version_settings[];
+extern const VersionSettings *version_settings;
class GameDetector {