aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorPaul Gilbert2012-02-07 22:48:16 +1100
committerStrangerke2012-04-06 08:20:53 +0200
commit80302552e830c043f16b1860573ee8cc47232385 (patch)
tree9630bb41fd0793c18454fd5f53529965eab77ead /engines/mortevielle
parent3d9da88539bdd776d77b6accce6e77daffb72067 (diff)
downloadscummvm-rg350-80302552e830c043f16b1860573ee8cc47232385.tar.gz
scummvm-rg350-80302552e830c043f16b1860573ee8cc47232385.tar.bz2
scummvm-rg350-80302552e830c043f16b1860573ee8cc47232385.zip
MORTEVIELLE: Moved the game detection entries to detection_tables.h
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/detection.cpp32
-rw-r--r--engines/mortevielle/detection_tables.h25
2 files changed, 22 insertions, 35 deletions
diff --git a/engines/mortevielle/detection.cpp b/engines/mortevielle/detection.cpp
index 53d4292392..ec0b01622a 100644
--- a/engines/mortevielle/detection.cpp
+++ b/engines/mortevielle/detection.cpp
@@ -35,39 +35,9 @@ static const PlainGameDescriptor MortevielleGame[] = {
{0, 0}
};
-static const ADGameDescription MortevielleGameDescriptions[] = {
- {
- "mortevielle",
- "",
- {
- {"menufr.mor", 0, "e413f36b9e14eef16130adc347a9391f", 144},
- {"dxx.mor", 0, "949e68e829ecd5ad29e36a00347a9e7e", 207744},
- AD_LISTEND
- },
- Common::FR_FRA,
- Common::kPlatformPC,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- {
- "mortevielle",
- "",
- {
- {"menual.mor", 0, "792aea282b07a1d74c4a4abeabc90c19", 144},
- {"dxx.mor", 0, "949e68e829ecd5ad29e36a00347a9e7e", 207744},
- AD_LISTEND
- },
- Common::DE_DEU,
- Common::kPlatformPC,
- ADGF_NO_FLAGS,
- GUIO0()
- },
- AD_TABLE_END_MARKER
-};
-
class MortevielleMetaEngine : public AdvancedMetaEngine {
public:
- MortevielleMetaEngine() : AdvancedMetaEngine(MortevielleGameDescriptions, sizeof(ADGameDescription),
+ MortevielleMetaEngine() : AdvancedMetaEngine(Mortevielle::MortevielleGameDescriptions, sizeof(ADGameDescription),
MortevielleGame) {
_md5Bytes = 512;
_singleid = "mortevielle";
diff --git a/engines/mortevielle/detection_tables.h b/engines/mortevielle/detection_tables.h
index 4ea062b2b2..7ceb40d524 100644
--- a/engines/mortevielle/detection_tables.h
+++ b/engines/mortevielle/detection_tables.h
@@ -22,15 +22,32 @@
namespace Mortevielle {
-static const ADGameDescription gameDescriptions[] = {
+static const ADGameDescription MortevielleGameDescriptions[] = {
{
"mortevielle",
"",
- AD_ENTRY1s("mortvielle.txt", "d41d8cd98f00b204e9800998ecf8427e", 0),
+ {
+ {"menufr.mor", 0, "e413f36b9e14eef16130adc347a9391f", 144},
+ {"dxx.mor", 0, "949e68e829ecd5ad29e36a00347a9e7e", 207744},
+ AD_LISTEND
+ },
Common::FR_FRA,
Common::kPlatformPC,
- ADGF_UNSTABLE,
- GUIO1(GUIO_NOASPECT)
+ ADGF_NO_FLAGS,
+ GUIO0()
+ },
+ {
+ "mortevielle",
+ "",
+ {
+ {"menual.mor", 0, "792aea282b07a1d74c4a4abeabc90c19", 144},
+ {"dxx.mor", 0, "949e68e829ecd5ad29e36a00347a9e7e", 207744},
+ AD_LISTEND
+ },
+ Common::DE_DEU,
+ Common::kPlatformPC,
+ ADGF_NO_FLAGS,
+ GUIO0()
},
AD_TABLE_END_MARKER
};