[Scummvm-cvs-logs] SF.net SVN: scummvm: [20679] scummvm/trunk/engines/saga/saga.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Mon Feb 13 18:01:03 CET 2006
Revision: 20679
Author: sev
Date: 2006-02-13 17:59:32 -0800 (Mon, 13 Feb 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=20679&view=rev
Log Message:
-----------
Move addDefaultDirectory() calls out of init() method to constructor.
Modified Paths:
--------------
scummvm/trunk/engines/saga/saga.cpp
Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp 2006-02-14 01:19:30 UTC (rev 20678)
+++ scummvm/trunk/engines/saga/saga.cpp 2006-02-14 01:59:32 UTC (rev 20679)
@@ -134,9 +134,13 @@
// the CD. The rest of the data files are in game/itedata
Common::File::addDefaultDirectory(_gameDataPath + "game/itedata/");
+ // Linux demo
+ Common::File::addDefaultDirectory(_gameDataPath + "itedata/");
+
// Mac CD Wyrmkeep
Common::File::addDefaultDirectory(_gameDataPath + "patch/");
+
// Setup mixer
if (!_mixer->isReady()) {
warning("Sound initialization failed.");
@@ -189,18 +193,6 @@
_resource = new Resource(this);
- // Add some default directories
- // Win32 demo & full game
- Common::File::addDefaultDirectory("graphics");
- Common::File::addDefaultDirectory("music");
- Common::File::addDefaultDirectory("sound");
-
- // Linux demo
- Common::File::addDefaultDirectory("itedata");
-
- // Mac demos & full game
- Common::File::addDefaultDirectory("patch");
-
// Process command line
// Detect game and open resource files
More information about the Scummvm-git-logs
mailing list