aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-31 05:55:20 +0000
committerPaul Gilbert2007-12-31 05:55:20 +0000
commitd45fe1e37e6187a14e5708b3117575b3e08b6dba (patch)
treebedb366b583465cc3bf06736e5c6dad50b486758
parent1c88ab2c47ff5f4ec80df2ba029b81642e28dfca (diff)
downloadscummvm-rg350-d45fe1e37e6187a14e5708b3117575b3e08b6dba.tar.gz
scummvm-rg350-d45fe1e37e6187a14e5708b3117575b3e08b6dba.tar.bz2
scummvm-rg350-d45fe1e37e6187a14e5708b3117575b3e08b6dba.zip
Added detection for Italian EGA version
svn-id: r30094
-rw-r--r--engines/lure/detection.cpp14
-rw-r--r--engines/lure/lure.h2
-rw-r--r--engines/lure/luredefs.h1
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
};