aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-03-01 11:30:38 +0100
committerEugene Sandulenko2016-03-01 12:11:09 +0100
commit589ffcd3b921961d86d00b1ad35ab52feab6e0fc (patch)
tree4f15249a48d8322ca1971af511c6b37f7e6092f2
parentf2e2d0f05d43c6b3615b13e28f37d33ab69aba17 (diff)
downloadscummvm-rg350-589ffcd3b921961d86d00b1ad35ab52feab6e0fc.tar.gz
scummvm-rg350-589ffcd3b921961d86d00b1ad35ab52feab6e0fc.tar.bz2
scummvm-rg350-589ffcd3b921961d86d00b1ad35ab52feab6e0fc.zip
WAGE: Added detection for The Phoenix
-rw-r--r--engines/wage/detection_tables.h2
-rw-r--r--engines/wage/entities.cpp2
-rw-r--r--engines/wage/util.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/engines/wage/detection_tables.h b/engines/wage/detection_tables.h
index 95adc7a7b7..9b9b9c8d17 100644
--- a/engines/wage/detection_tables.h
+++ b/engines/wage/detection_tables.h
@@ -49,6 +49,8 @@ static const ADGameDescription gameDescriptions[] = {
FANGAME("Queen Quest", "730605d312efedb5e3ff108522fcac18", 59776),
BIGGAME("scepters", "", "Scepters", "b80bff315897776dda7689cdf829fab4", 360832),
FANGAME("Time Bomb", "2df84b636237686b624e736a698a16c4", 66432),
+ // Invalid rect in scene "Access Tube 1"
+ FANGAMEN("The Phoenix v1.2", "The Phoenix", "7fa2a2ac740f22572516843922b7c630", 434560),
// Doesn't go past first scene
BIGGAME("Twisted!", "", "Twisted! 1.6", "8ea8cc13d26d7975dc43ea7e6c193217", 992896),
FANGAME("ZikTuria", "e793155bed1a70fa2074a3fcd696b751", 54784),
diff --git a/engines/wage/entities.cpp b/engines/wage/entities.cpp
index d9e4b60591..a2648c49fe 100644
--- a/engines/wage/entities.cpp
+++ b/engines/wage/entities.cpp
@@ -97,6 +97,8 @@ Scene::Scene() {
}
Scene::Scene(Common::String name, Common::SeekableReadStream *data) {
+ debug(9, "Creating scene: %s", name.c_str());
+
_name = name;
_classType = SCENE;
_design = new Design(data);
diff --git a/engines/wage/util.cpp b/engines/wage/util.cpp
index 1b3dfc9452..f31a83ca04 100644
--- a/engines/wage/util.cpp
+++ b/engines/wage/util.cpp
@@ -81,6 +81,8 @@ Common::Rect *readRect(Common::SeekableReadStream *in) {
y2 = in->readUint16BE() + 4;
x2 = in->readUint16BE() + 4;
+ debug(9, "readRect: %d, %d, %d, %d", x1, y1, x2, y2);
+
return new Common::Rect(x1, y1, x2, y2);
}