aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-04-27 20:56:53 +0300
committerFilippos Karapetis2014-04-27 21:20:01 +0300
commit62f800341dbcab48acafcb1753f86aa51958b69d (patch)
tree32a5c53d6f397fb704a0a7b2179abc3d94b2f452
parent15658397d418833d7839e1c85e3093c1fc79fdcf (diff)
downloadscummvm-rg350-62f800341dbcab48acafcb1753f86aa51958b69d.tar.gz
scummvm-rg350-62f800341dbcab48acafcb1753f86aa51958b69d.tar.bz2
scummvm-rg350-62f800341dbcab48acafcb1753f86aa51958b69d.zip
MADS: Add detection entries for Dragonsphere and Phantom
Also, disable the unsupported compressed Rex version for now
-rw-r--r--engines/mads/detection.cpp2
-rw-r--r--engines/mads/detection_tables.h41
-rw-r--r--engines/mads/mads.h2
3 files changed, 43 insertions, 2 deletions
diff --git a/engines/mads/detection.cpp b/engines/mads/detection.cpp
index b8e75b4393..49253f0e3a 100644
--- a/engines/mads/detection.cpp
+++ b/engines/mads/detection.cpp
@@ -68,7 +68,9 @@ Common::Platform MADSEngine::getPlatform() const {
static const PlainGameDescriptor MADSGames[] = {
{"MADS", "MADS"},
+ {"dragonsphere", "Dragonsphere"},
{"nebular", "Rex Nebular and the Cosmic Gender Bender"},
+ {"phantom", "Return of the Phantom"},
{0, 0}
};
diff --git a/engines/mads/detection_tables.h b/engines/mads/detection_tables.h
index 4eb1dd51db..a5a9c33456 100644
--- a/engines/mads/detection_tables.h
+++ b/engines/mads/detection_tables.h
@@ -23,8 +23,10 @@
namespace MADS {
static const MADSGameDescription gameDescriptions[] = {
+#if 0
{
- // Rex Nebular and the Cosmic Gender Bender DOS English
+ // Rex Nebular and the Cosmic Gender Bender DOS English (compressed)
+ // Removed for now, until the original floppy compression is supported
{
"nebular",
0,
@@ -40,6 +42,7 @@ static const MADSGameDescription gameDescriptions[] = {
GType_RexNebular,
0
},
+#endif
{
// Rex Nebular and the Cosmic Gender Bender DOS English
@@ -59,6 +62,42 @@ static const MADSGameDescription gameDescriptions[] = {
0
},
+ {
+ // Return of the Phantom DOS English
+ {
+ "phantom",
+ 0,
+ {
+ {"section1.hag", 0, "76e2d47a7aebafe48edc9884b3d91782", 1130939},
+ AD_LISTEND
+ },
+ Common::EN_ANY,
+ Common::kPlatformDOS,
+ ADGF_NO_FLAGS,
+ GUIO1(GUIO_NONE)
+ },
+ GType_Phantom,
+ 0
+ },
+
+ {
+ // Dragonsphere DOS English
+ {
+ "dragonsphere",
+ 0,
+ {
+ {"section1.hag", 0, "2770e441d296be5e806194693eebd95a", 2061199},
+ AD_LISTEND
+ },
+ Common::EN_ANY,
+ Common::kPlatformDOS,
+ ADGF_NO_FLAGS,
+ GUIO1(GUIO_NONE)
+ },
+ GType_Dragonsphere,
+ 0
+ },
+
{ AD_TABLE_END_MARKER, 0, 0 }
};
diff --git a/engines/mads/mads.h b/engines/mads/mads.h
index 9acd469d27..5ae8b8eac5 100644
--- a/engines/mads/mads.h
+++ b/engines/mads/mads.h
@@ -62,7 +62,7 @@ enum MADSDebugChannels {
enum {
GType_RexNebular = 0,
- GType_DragonSphere = 1,
+ GType_Dragonsphere = 1,
GType_Phantom = 2,
GType_Riddle = 3
};