[Scummvm-cvs-logs] SF.net SVN: scummvm:[48027] scummvm/trunk

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Tue Feb 9 23:37:13 CET 2010


Revision: 48027
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48027&view=rev
Author:   fingolfin
Date:     2010-02-09 22:37:13 +0000 (Tue, 09 Feb 2010)

Log Message:
-----------
Remove last traces of File::addDefaultDirectory

Modified Paths:
--------------
    scummvm/trunk/common/file.h
    scummvm/trunk/engines/draci/draci.cpp

Modified: scummvm/trunk/common/file.h
===================================================================
--- scummvm/trunk/common/file.h	2010-02-09 22:29:07 UTC (rev 48026)
+++ scummvm/trunk/common/file.h	2010-02-09 22:37:13 UTC (rev 48027)
@@ -52,9 +52,8 @@
 	virtual ~File();
 
 	/**
-	 * Checks if a given file exists in any of the current default paths
-	 * (those were/are added by addDefaultDirectory and/or
-	 * addDefaultDirectoryRecursive).
+	 * Checks if a given file exists in any of the current default paths,
+	 * as defined by SearchMan.
 	 *
 	 * @param	filename	the file to check for
 	 * @return	true if the file exists, false otherwise

Modified: scummvm/trunk/engines/draci/draci.cpp
===================================================================
--- scummvm/trunk/engines/draci/draci.cpp	2010-02-09 22:29:07 UTC (rev 48026)
+++ scummvm/trunk/engines/draci/draci.cpp	2010-02-09 22:37:13 UTC (rev 48027)
@@ -79,7 +79,7 @@
 	// Do not initialize graphics here
 
 	// However this is the place to specify all default directories
-	//Common::File::addDefaultDirectory(_gameDataPath + "sound/");
+	//SearchMan.addSubDirectoryMatching(_gameDataDir, "sound");
 
 	// Here is the right place to set up the engine specific debug levels
 	Common::addDebugChannel(kDraciGeneralDebugLevel, "general", "Draci general debug info");


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