[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.436,2.437

Max Horn fingolfin at users.sourceforge.net
Sun Oct 12 11:41:07 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv28202/scumm

Modified Files:
	scummvm.cpp 
Log Message:
some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.436
retrieving revision 2.437
diff -u -d -r2.436 -r2.437
--- scummvm.cpp	12 Oct 2003 17:49:52 -0000	2.436
+++ scummvm.cpp	12 Oct 2003 18:40:09 -0000	2.437
@@ -76,7 +76,7 @@
 // Use g_scumm from error() ONLY
 ScummEngine *g_scumm = 0;
 
-static const TargetSettings scumm_settings[] = {
+static const GameSettings scumm_settings[] = {
 	/* Scumm Version 1 */
 	/* Scumm Version 2 */
 
@@ -595,8 +595,8 @@
 	_debugLevel = ConfMan.getInt("debuglevel");
 	_dumpScripts = detector->_dumpScripts;
 	_bootParam = ConfMan.getInt("boot_param");
-	_exe_name = strdup(detector->_game.targetName);
-	_game_name = strdup(detector->_gameFileName.c_str());
+	_exe_name = strdup(detector->_game.gameName);
+	_game_name = strdup(detector->_targetName.c_str());
 	_gameId = detector->_game.id;
 	_version = detector->_game.version;
 	setFeatures(detector->_game.features);
@@ -2634,7 +2634,7 @@
 
 using namespace Scumm;
 
-const TargetSettings *Engine_SCUMM_targetList() {
+const GameSettings *Engine_SCUMM_targetList() {
 	return scumm_settings;
 }
 





More information about the Scummvm-git-logs mailing list