diff options
author | Max Horn | 2011-06-10 15:53:58 +0200 |
---|---|---|
committer | Max Horn | 2011-06-10 22:15:46 +0200 |
commit | 0031e0834911ad3b4dbec262aec0dd30858e96fc (patch) | |
tree | 2721532f0adce2adbc2d4a6f657d9bbdef46be89 | |
parent | 3b6610927b5591a3909c4e0daea3d7232400fc32 (diff) | |
download | scummvm-rg350-0031e0834911ad3b4dbec262aec0dd30858e96fc.tar.gz scummvm-rg350-0031e0834911ad3b4dbec262aec0dd30858e96fc.tar.bz2 scummvm-rg350-0031e0834911ad3b4dbec262aec0dd30858e96fc.zip |
TSAGE: Switch to alternate AdvancedMetaEngine, avoid ADParams
-rw-r--r-- | engines/tsage/detection.cpp | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/engines/tsage/detection.cpp b/engines/tsage/detection.cpp index 20c2002257..57ba9970d6 100644 --- a/engines/tsage/detection.cpp +++ b/engines/tsage/detection.cpp @@ -66,25 +66,17 @@ static const PlainGameDescriptor tSageGameTitles[] = { #include "engines/tsage/detection_tables.h" -static const ADParams detectionParams = { - (const byte *)tSage::gameDescriptions, - sizeof(tSage::tSageGameDescription), - 0, - tSageGameTitles, - 0, - "tsage", - NULL, - 0, - Common::GUIO_NONE, - 0, - NULL +enum { + MAX_SAVES = 100 }; -#define MAX_SAVES 100 - class TSageMetaEngine : public AdvancedMetaEngine { public: - TSageMetaEngine() : AdvancedMetaEngine(detectionParams) { + TSageMetaEngine() : AdvancedMetaEngine(tSage::gameDescriptions, sizeof(tSage::tSageGameDescription), tSageGameTitles) { + params.md5Bytes = 0; // FIXME ???? + params.singleid = "tsage"; + params.guioptions = Common::GUIO_NOSPEECH; + params.depth = 0; // FIXME ???? } virtual const char *getName() const { |