[Scummvm-cvs-logs] SF.net SVN: scummvm:[40901] scummvm/trunk/engines/tinsel

Hkz at users.sourceforge.net Hkz at users.sourceforge.net
Tue May 26 10:41:26 CEST 2009


Revision: 40901
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40901&view=rev
Author:   Hkz
Date:     2009-05-26 08:41:25 +0000 (Tue, 26 May 2009)

Log Message:
-----------
tinsel: add default paths needed by Discworld PSX, now the user shouldn't need to move files around

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/detection.cpp
    scummvm/trunk/engines/tinsel/tinsel.cpp

Modified: scummvm/trunk/engines/tinsel/detection.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/detection.cpp	2009-05-26 07:25:12 UTC (rev 40900)
+++ scummvm/trunk/engines/tinsel/detection.cpp	2009-05-26 08:41:25 UTC (rev 40901)
@@ -289,12 +289,11 @@
 			"dw",
 			"CD",
 			{
-				{"dw.scn", 0, "bb78992e3c1cb088e30cc00ad18fc1d7", 339768},
-				{"english.smp", 0, NULL, -1},
-				{"french.txt", 0, NULL, -1},
-				{"german.txt", 0, NULL, -1},
-				{"italian.txt", 0, NULL, -1},
-				{"spanish.txt", 0, NULL, -1},
+				{"french.txt", 0, "e7020d35f58d0d187052ac406d86cc87", 273918},
+				{"german.txt", 0, "6e2c0f0655bc3cec5a6b3552164ec984", 263942},
+				{"italian.txt", 0, "15f0703f85477d7fab4280bf938b61c1", 239830},
+				{"spanish.txt", 0, "bda9bea9078d1483409082a3e180378a", 236702},
+				{"english.txt", 0, "7526cfc3a64e00f223795de476b4e2c9", 230326},
 				{NULL, 0, NULL, 0}
 			},
 			Common::EN_ANY,
@@ -312,12 +311,11 @@
 			"dw",
 			"CD demo",
 			{
-				{"dw.scn", 0, "6247d8cd742fd0c56534e8eb71552a8b", 339784},
-				{"english.smp", 0, NULL, -1},
-				{"french.txt", 0, NULL, -1},
-				{"german.txt", 0, NULL, -1},
-				{"italian.txt", 0, NULL, -1},
-				{"spanish.txt", 0, NULL, -1},
+				{"french.txt", 0, "e7020d35f58d0d187052ac406d86cc87", 273914},
+				{"german.txt", 0, "52f0a01e0ff0d340b02a36fd5109d705", 263942},
+				{"italian.txt", 0, "15f0703f85477d7fab4280bf938b61c1", 239834},
+				{"spanish.txt", 0, "c324170c3f1922c605c5cc09ba265aa5", 236702},
+				{"english.txt", 0, "7526cfc3a64e00f223795de476b4e2c9", 230326},
 				{NULL, 0, NULL, 0}
 			},
 			Common::EN_ANY,

Modified: scummvm/trunk/engines/tinsel/tinsel.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinsel.cpp	2009-05-26 07:25:12 UTC (rev 40900)
+++ scummvm/trunk/engines/tinsel/tinsel.cpp	2009-05-26 08:41:25 UTC (rev 40901)
@@ -836,6 +836,21 @@
 	// Add DW2 subfolder to search path in case user is running directly from the CDs
 	Common::File::addDefaultDirectory(_gameDataDir.getChild("dw2"));
 
+	// Add subfolders needed for psx versions of Discworld 1	
+	if(TinselV1PSX) {
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("MIDI"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("SAMPLES"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXAB"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXC"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXDG"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXHL"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXMO"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXP"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXRS"));
+		Common::File::addDefaultDirectory(_gameDataDir.getChild("GFX").getChild("GFXTW"));
+	}
+
 	const GameSettings *g;
 
 	const char *gameid = ConfMan.get("gameid").c_str();


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