diff options
author | Vladimir Menshakov | 2011-06-13 11:59:21 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:40 +0200 |
commit | 77624071bcb8c4b938dd054db05dd512d5e73edb (patch) | |
tree | 7e4a2c9f7c66c80f19f173b657e1c6e66fc1053f /engines/dreamweb | |
parent | 308fcf0953ab4974d997710debdaa72b0b44ed3e (diff) | |
download | scummvm-rg350-77624071bcb8c4b938dd054db05dd512d5e73edb.tar.gz scummvm-rg350-77624071bcb8c4b938dd054db05dd512d5e73edb.tar.bz2 scummvm-rg350-77624071bcb8c4b938dd054db05dd512d5e73edb.zip |
DREAMWEB: removed detection params
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/detection.cpp | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/engines/dreamweb/detection.cpp b/engines/dreamweb/detection.cpp index f0d0f9e840..10ff15da11 100644 --- a/engines/dreamweb/detection.cpp +++ b/engines/dreamweb/detection.cpp @@ -49,34 +49,15 @@ static const ADObsoleteGameID obsoleteGameIDsTable[] = { #include "dreamweb/detection_tables.h" -static const ADParams detectionParams = { - // Pointer to ADGameDescription or its superset structure - (const byte *)DreamWeb::gameDescriptions, - // Size of that superset structure - sizeof(DreamWeb::DreamWebGameDescription), - // Number of bytes to compute MD5 sum for - 5000, - // List of all engine targets - dreamWebGames, - // Structure for autoupgrading obsolete targets - obsoleteGameIDsTable, - // Name of single gameid (optional) - "dreamweb", - // List of files for file-based fallback detection (optional) - 0, - // Flags - 0, - // Additional GUI options (for every game} - Common::GUIO_NOMIDI, - // Maximum directory depth - 1, - // List of directory globs - 0 -}; - class DreamWebMetaEngine : public AdvancedMetaEngine { public: - DreamWebMetaEngine() : AdvancedMetaEngine(detectionParams) {} + DreamWebMetaEngine(): + AdvancedMetaEngine(DreamWeb::gameDescriptions, + sizeof(DreamWeb::DreamWebGameDescription), dreamWebGames) { + params.obsoleteList = obsoleteGameIDsTable; + params.singleid = "dreamweb"; + params.guioptions = Common::GUIO_NOMIDI; + } virtual const char *getName() const { return "DreamWeb engine"; |