[Scummvm-cvs-logs] SF.net SVN: scummvm:[40126] scummvm/trunk/engines/gob

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Fri Apr 24 21:00:55 CEST 2009


Revision: 40126
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40126&view=rev
Author:   drmccoy
Date:     2009-04-24 19:00:55 +0000 (Fri, 24 Apr 2009)

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

Modified Paths:
--------------
    scummvm/trunk/engines/gob/detection.cpp
    scummvm/trunk/engines/gob/scnplayer.cpp

Modified: scummvm/trunk/engines/gob/detection.cpp
===================================================================
--- scummvm/trunk/engines/gob/detection.cpp	2009-04-24 18:40:15 UTC (rev 40125)
+++ scummvm/trunk/engines/gob/detection.cpp	2009-04-24 19:00:55 UTC (rev 40126)
@@ -2452,6 +2452,25 @@
 	},
 	{
 		{
+			"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),

Modified: scummvm/trunk/engines/gob/scnplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/scnplayer.cpp	2009-04-24 18:40:15 UTC (rev 40125)
+++ scummvm/trunk/engines/gob/scnplayer.cpp	2009-04-24 19:00:55 UTC (rev 40126)
@@ -79,6 +79,8 @@
 			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);
 		}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list