aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-10-12 18:40:12 +0000
committerMax Horn2003-10-12 18:40:12 +0000
commit36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c (patch)
treec7d0ddca69492d7db124a6c9ea4728e59faba071 /scumm
parentc3f4bbf34fe5192fe5bccd87c4319a42e1109422 (diff)
downloadscummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.tar.gz
scummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.tar.bz2
scummvm-rg350-36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c.zip
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
Diffstat (limited to 'scumm')
-rw-r--r--scumm/scummvm.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}