From 80302552e830c043f16b1860573ee8cc47232385 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 7 Feb 2012 22:48:16 +1100 Subject: [PATCH] MORTEVIELLE: Moved the game detection entries to detection_tables.h --- engines/mortevielle/detection.cpp | 32 +------------------------- engines/mortevielle/detection_tables.h | 25 ++++++++++++++++---- 2 files changed, 22 insertions(+), 35 deletions(-) diff --git a/engines/mortevielle/detection.cpp b/engines/mortevielle/detection.cpp index 53d42923922..ec0b01622a4 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 4ea062b2b28..7ceb40d5244 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 };