[Scummvm-cvs-logs] SF.net SVN: scummvm:[49654] scummvm/trunk/engines/mohawk

sev at users.sourceforge.net sev at users.sourceforge.net
Mon Jun 14 16:50:54 CEST 2010


Revision: 49654
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49654&view=rev
Author:   sev
Date:     2010-06-14 14:50:53 +0000 (Mon, 14 Jun 2010)

Log Message:
-----------
Mohawk: Added support for running Riven off DVD layout.

Uses new directory depth feature of AdvancedDetector.
Set directory depth to 2 and added Assets1/ directory.
As a result, DVD layout which does not have any game data
file in top level directory gets detected and runs well.

Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/detection.cpp
    scummvm/trunk/engines/mohawk/riven.cpp

Modified: scummvm/trunk/engines/mohawk/detection.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/detection.cpp	2010-06-14 14:50:23 UTC (rev 49653)
+++ scummvm/trunk/engines/mohawk/detection.cpp	2010-06-14 14:50:53 UTC (rev 49654)
@@ -1013,7 +1013,7 @@
 	// Additional GUI options (for every game)
 	Common::GUIO_NONE,
 	// Maximum directory depth
-	1
+	2
 };
 
 class MohawkMetaEngine : public AdvancedMetaEngine {

Modified: scummvm/trunk/engines/mohawk/riven.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/riven.cpp	2010-06-14 14:50:23 UTC (rev 49653)
+++ scummvm/trunk/engines/mohawk/riven.cpp	2010-06-14 14:50:53 UTC (rev 49654)
@@ -57,6 +57,7 @@
 	SearchMan.addSubDirectoryMatching(gameDataDir, "all");
 	SearchMan.addSubDirectoryMatching(gameDataDir, "data");
 	SearchMan.addSubDirectoryMatching(gameDataDir, "exe");
+	SearchMan.addSubDirectoryMatching(gameDataDir, "assets1");
 	SearchMan.addSubDirectoryMatching(gameDataDir, "assets2");
 
 	g_atrusJournalRectSolo = new Common::Rect(295, 402, 313, 426);


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