diff options
author | Max Horn | 2006-03-09 02:52:51 +0000 |
---|---|---|
committer | Max Horn | 2006-03-09 02:52:51 +0000 |
commit | 86565fcca57454e91124410cfd6864ef1e202dc0 (patch) | |
tree | 83cc82217179d56f23836628520b7f63b4a0607d /base/plugins.cpp | |
parent | d2f78184af00cd91f3f1f251199a436b53f4ae64 (diff) | |
download | scummvm-rg350-86565fcca57454e91124410cfd6864ef1e202dc0.tar.gz scummvm-rg350-86565fcca57454e91124410cfd6864ef1e202dc0.tar.bz2 scummvm-rg350-86565fcca57454e91124410cfd6864ef1e202dc0.zip |
- Renamed GameSettings to PlainGameDescriptor
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r-- | base/plugins.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp index 802b2f8d9d..0f1fc62b18 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -32,7 +32,7 @@ typedef Engine *(*EngineFactory)(GameDetector *detector, OSystem *syst); typedef const char *(*NameFunc)(); -typedef GameSettings (*GameIDQueryFunc)(const char *gameid); +typedef GameDescriptor (*GameIDQueryFunc)(const char *gameid); typedef GameList (*GameIDListFunc)(); typedef DetectedGameList (*DetectFunc)(const FSList &fslist); @@ -93,7 +93,7 @@ public: GameList getSupportedGames() const { return _plugin->_games; } - GameSettings findGame(const char *gameid) const { + GameDescriptor findGame(const char *gameid) const { assert(_plugin->_qf); return (*_plugin->_qf)(gameid); } @@ -134,7 +134,7 @@ public: GameList getSupportedGames() const { return _games; } - GameSettings findGame(const char *gameid) const { + GameDescriptor findGame(const char *gameid) const { assert(_qf); return (*_qf)(gameid); } |