aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2009-04-24 19:00:55 +0000
committerSven Hesse2009-04-24 19:00:55 +0000
commit8baccf8d6458c058b43611816c0cccdd727870d1 (patch)
tree0c63101ba591242b1ec6a1ed8035394802478f74
parentde9f2a2b5a64b81bbac05f55318bedd971ce3a15 (diff)
downloadscummvm-rg350-8baccf8d6458c058b43611816c0cccdd727870d1.tar.gz
scummvm-rg350-8baccf8d6458c058b43611816c0cccdd727870d1.tar.bz2
scummvm-rg350-8baccf8d6458c058b43611816c0cccdd727870d1.zip
Adding support for the non-interactive SCN-based Urban Runner demo. No image though :/
svn-id: r40126
-rw-r--r--engines/gob/detection.cpp19
-rw-r--r--engines/gob/scnplayer.cpp2
2 files changed, 21 insertions, 0 deletions
diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp
index e281072190..1fbefe9297 100644
--- a/engines/gob/detection.cpp
+++ b/engines/gob/detection.cpp
@@ -2452,6 +2452,25 @@ static const GOBGameDescription gameDescriptions[] = {
},
{
{
+ "urban",
+ "Non-Interactive Demo",
+ {
+ {"wdemo.s24", 0, "14ac9bd51db7a075d69ddb144904b271", 87},
+ {"demo.vmd", 0, "65d04715d871c292518b56dd160b0161", 9091237},
+ {"urband.vmd", 0, "60343891868c91854dd5c82766c70ecc", 922461},
+ {NULL, 0, NULL, 0}
+ },
+ EN_ANY,
+ kPlatformPC,
+ ADGF_NO_FLAGS
+ },
+ kGameTypeUrban,
+ kFeatures640 | kFeaturesSCNDemo,
+ 0,
+ "wdemo.s24"
+ },
+ {
+ {
"spirou",
"",
AD_ENTRY1s("intro2.stk", "5e214cec5041d6a4a810feba8ddaaa92",247576),
diff --git a/engines/gob/scnplayer.cpp b/engines/gob/scnplayer.cpp
index 3581f1678e..d889759a5d 100644
--- a/engines/gob/scnplayer.cpp
+++ b/engines/gob/scnplayer.cpp
@@ -79,6 +79,8 @@ bool SCNPlayer::play(Common::File &scn) {
clearScreen();
} else if (lineStartsWith(line, "IMD_PRELOAD ")) {
playVideo(line.c_str() + 12);
+ } else if (lineStartsWith(line, "IMD ")) {
+ playVideo(line.c_str() + 4);
} else if (lineStartsWith(line, "GOTO ")) {
gotoLabel(scn, labels, line.c_str() + 5);
}