[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.378,2.379
Max Horn
fingolfin at users.sourceforge.net
Mon Sep 8 18:22:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv18958/scumm
Modified Files:
scummvm.cpp
Log Message:
renamed VersionSettings -> TargetSettings and also renamed some of its members; added GameDetector::findTarget; made launcher use that new method; some initial preparations for Plugin code
Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.378
retrieving revision 2.379
diff -u -d -r2.378 -r2.379
--- scummvm.cpp 8 Sep 2003 08:54:37 -0000 2.378
+++ scummvm.cpp 8 Sep 2003 15:38:31 -0000 2.379
@@ -66,7 +66,7 @@
extern uint16 _debugLevel;
extern uint16 _demo_mode;
-static const VersionSettings scumm_settings[] = {
+static const TargetSettings scumm_settings[] = {
/* Scumm Version 1 */
/* Scumm Version 2 */
@@ -228,7 +228,7 @@
{NULL, NULL, 0, 0, MDT_NONE, 0, NULL}
};
-const VersionSettings *Engine_SCUMM_targetList() {
+const TargetSettings *Engine_SCUMM_targetList() {
return scumm_settings;
}
@@ -613,7 +613,7 @@
_debugLevel = detector->_debugLevel;
_dumpScripts = detector->_dumpScripts;
_bootParam = detector->_bootParam;
- _exe_name = strdup(detector->_game.filename);
+ _exe_name = strdup(detector->_game.targetName);
_game_name = strdup(detector->_gameFileName.c_str());
_gameId = detector->_game.id;
_version = detector->_game.version;
More information about the Scummvm-git-logs
mailing list