diff options
author | Max Horn | 2003-10-12 18:40:12 +0000 |
---|---|---|
committer | Max Horn | 2003-10-12 18:40:12 +0000 |
commit | 36fd7ec44574a4b1712fff1eb0ec43a76aab8f1c (patch) | |
tree | c7d0ddca69492d7db124a6c9ea4728e59faba071 /base/gameDetector.h | |
parent | c3f4bbf34fe5192fe5bccd87c4319a42e1109422 (diff) | |
download | scummvm-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 'base/gameDetector.h')
-rw-r--r-- | base/gameDetector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/base/gameDetector.h b/base/gameDetector.h index 7f96ecf4e4..a236d0b479 100644 --- a/base/gameDetector.h +++ b/base/gameDetector.h @@ -84,8 +84,8 @@ enum MidiDriverType { MDT_PREFER_NATIVE = 16 }; -struct TargetSettings { - const char *targetName; +struct GameSettings { + const char *gameName; const char *description; byte id, version; int midi; // MidiDriverType values @@ -102,8 +102,8 @@ public: void parseCommandLine(int argc, char **argv); bool detectMain(); - String _gameFileName; - TargetSettings _game; + String _targetName; + GameSettings _game; const Plugin *_plugin; bool _debugMode; @@ -120,14 +120,14 @@ public: MidiDriver *createMidi(); int getMidiDriverType(); // FIXME: Try to get rid of this, only Sky frontend uses it - void setGame(const String &name); + void setTarget(const String &name); static int parseGraphicsMode(const String &s); // Used in main() static int parseMusicDriver(const String &s); static Language parseLanguage(const String &s); static Platform parsePlatform(const String &s); - const TargetSettings *findTarget(const String &targetName, const Plugin **plugin = NULL) const; + const GameSettings *findGame(const String &gameName, const Plugin **plugin = NULL) const; protected: bool detectGame(void); |