From d45fe1e37e6187a14e5708b3117575b3e08b6dba Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 31 Dec 2007 05:55:20 +0000 Subject: Added detection for Italian EGA version svn-id: r30094 --- engines/lure/detection.cpp | 14 +++++++++++++- engines/lure/lure.h | 2 +- engines/lure/luredefs.h | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/engines/lure/detection.cpp b/engines/lure/detection.cpp index a89270849e..594d9c957c 100644 --- a/engines/lure/detection.cpp +++ b/engines/lure/detection.cpp @@ -67,7 +67,19 @@ static const LureGameDescription gameDescriptions[] = { { { "lure", - "", + "EGA", + AD_ENTRY1("disk1.ega", "b80aced0321f64c58df2c7d3d74dfe79"), + Common::IT_ITA, + Common::kPlatformPC, + Common::ADGF_NO_FLAGS + }, + GF_FLOPPY | GF_EGA, + }, + + { + { + "lure", + "VGA", AD_ENTRY1("disk1.vga", "cf69d5ada228dd74f89046691c16aafb"), Common::IT_ITA, Common::kPlatformPC, diff --git a/engines/lure/lure.h b/engines/lure/lure.h index eacdf19c41..c201379bc9 100644 --- a/engines/lure/lure.h +++ b/engines/lure/lure.h @@ -81,7 +81,7 @@ public: uint32 getFeatures() const; Common::Language getLanguage() const; Common::Platform getPlatform() const; - + bool isEGA() const { return (getFeatures() & GF_EGA) != 0; } }; } // End of namespace Lure diff --git a/engines/lure/luredefs.h b/engines/lure/luredefs.h index 233d4977d2..b2f8ee25a6 100644 --- a/engines/lure/luredefs.h +++ b/engines/lure/luredefs.h @@ -57,6 +57,7 @@ enum { enum { GF_FLOPPY = 1 << 0, + GF_EGA = 1 << 1, GF_LNGUNK = 1 << 15 }; -- cgit v1.2.3