From 36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 12 Oct 2003 18:40:12 +0000 Subject: 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 svn-id: r10766 --- scumm/scummvm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scumm') diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index fefe41ac70..65d2ce355a 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -76,7 +76,7 @@ enum MouseButtonStatus { // 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 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst) _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 @@ int normalizeAngle(int angle) { using namespace Scumm; -const TargetSettings *Engine_SCUMM_targetList() { +const GameSettings *Engine_SCUMM_targetList() { return scumm_settings; } -- cgit v1.2.3