Adding support for the non-interactive SCN-based Urban Runner demo. No image though :/

svn-id: r40126
This commit is contained in:
Sven Hesse 2009-04-24 19:00:55 +00:00
parent de9f2a2b5a
commit 8baccf8d64
2 changed files with 21 additions and 0 deletions

View File

@ -2450,6 +2450,25 @@ static const GOBGameDescription gameDescriptions[] = {
0,
0
},
{
{
"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",

View File

@ -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);
}