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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Apr 1 13:44:10 CEST 2006


Revision: 21534
Author:   fingolfin
Date:     2006-04-01 13:43:49 -0800 (Sat, 01 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21534&view=rev

Log Message:
-----------
Removed yet another superfluous addDefaultDirectory call, and removed the unused Engine::getGameDataPath method (just use _gameDataPath directly if you need this)

Modified Paths:
--------------
    scummvm/trunk/base/engine.cpp
    scummvm/trunk/base/engine.h
Modified: scummvm/trunk/base/engine.cpp
===================================================================
--- scummvm/trunk/base/engine.cpp	2006-04-01 21:42:11 UTC (rev 21533)
+++ scummvm/trunk/base/engine.cpp	2006-04-01 21:43:49 UTC (rev 21534)
@@ -43,9 +43,6 @@
 
 	_timer = Common::g_timer;
 
-	// Add default file directory
-	Common::File::addDefaultDirectory(_gameDataPath);
-
 	_saveFileMan = _system->getSavefileManager();
 
 	_autosavePeriod = ConfMan.getInt("autosave_period");
@@ -147,10 +144,6 @@
 	return _autosavePeriod != 0 && diff > _autosavePeriod * 1000;
 }
 
-const char *Engine::getGameDataPath() const {
-	return _gameDataPath.c_str();
-}
-
 void Engine::errorString(const char *buf1, char *buf2) {
 	strcpy(buf2, buf1);
 }

Modified: scummvm/trunk/base/engine.h
===================================================================
--- scummvm/trunk/base/engine.h	2006-04-01 21:42:11 UTC (rev 21533)
+++ scummvm/trunk/base/engine.h	2006-04-01 21:43:49 UTC (rev 21534)
@@ -66,9 +66,6 @@
 	 */
 	virtual int go() = 0;
 
-	/** Get the path to the game data directory. */
-	virtual const char *getGameDataPath() const;
-
 	/** Specific for each engine: prepare error string. */
 	virtual void errorString(const char *buf_input, char *buf_output);
 


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