MORTEVIELLE: Moved the game detection entries to detection_tables.h

This commit is contained in:
Paul Gilbert 2012-02-07 22:48:16 +11:00 committed by Strangerke
parent 3d9da88539
commit 80302552e8
2 changed files with 22 additions and 35 deletions

View File

@ -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";

View File

@ -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
};