diff options
author | Eugene Sandulenko | 2007-01-28 07:31:26 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2007-01-28 07:31:26 +0000 |
commit | 93687d376b0682b1f24878cc071a7196f838ddaa (patch) | |
tree | defcaeb9e65c3b1b6502e4ab52e4d1a1902520d8 /common | |
parent | b8a48f5751d77f4f4961314ab05bdb4341619114 (diff) | |
download | scummvm-rg350-93687d376b0682b1f24878cc071a7196f838ddaa.tar.gz scummvm-rg350-93687d376b0682b1f24878cc071a7196f838ddaa.tar.bz2 scummvm-rg350-93687d376b0682b1f24878cc071a7196f838ddaa.zip |
Add more paramteres to AdvancedDetector. Not used yet.
svn-id: r25241
Diffstat (limited to 'common')
-rw-r--r-- | common/advancedDetector.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/common/advancedDetector.h b/common/advancedDetector.h index ee92a82e5b..c5fc2f6ff6 100644 --- a/common/advancedDetector.h +++ b/common/advancedDetector.h @@ -51,6 +51,10 @@ struct ADObsoleteGameID { Common::Platform platform; }; +enum ADFlags { + kADFlagComplexID = (1 << 0) // Generate complex suggested IDs +}; + struct ADParams { // Pointer to ADGameDescription or its superset structure const byte *descs; @@ -60,14 +64,19 @@ struct ADParams { const int md5Bytes; // List of all engine targets const PlainGameDescriptor *list; - // Structure for autoupgrading obsolete targets + // Structure for autoupgrading obsolete targets (optional) const Common::ADObsoleteGameID *obsoleteList; + // Name of single gameid (optional) + const char *singleid; + // Flags + const uint32 flags; }; typedef Array<int> ADList; typedef Array<const ADGameDescription*> ADGameDescList; #define AD_ENTRY1(f, x) {{ f, 0, x, -1}, {NULL, 0, NULL, 0}} +#define AD_ENTRY1s(f, x, s) {{ f, 0, x, s}, {NULL, 0, NULL, 0}} namespace AdvancedDetector { |