diff options
author | Christopher Page | 2008-05-14 20:37:18 +0000 |
---|---|---|
committer | Christopher Page | 2008-05-14 20:37:18 +0000 |
commit | cbe03226a4e3e658a3832eec233e1630c4515474 (patch) | |
tree | 12ed6dde0fe22c977f96b66b0c87a7af2fb75fa5 /base/game.cpp | |
parent | 7d98ed714be064b75308db21ce6d5191fd040c94 (diff) | |
parent | e279d9693a1541f4595e73a5b646869890634922 (diff) | |
download | scummvm-rg350-cbe03226a4e3e658a3832eec233e1630c4515474.tar.gz scummvm-rg350-cbe03226a4e3e658a3832eec233e1630c4515474.tar.bz2 scummvm-rg350-cbe03226a4e3e658a3832eec233e1630c4515474.zip |
Merged revisions 31972-31973,31975-31981,31984-31989,31993-31994,31996-32014,32016-32020,32022-32025,32027-32028,32030,32034,32037-32038,32040-32058,32060-32087,32089-32093,32095-32123 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r32125
Diffstat (limited to 'base/game.cpp')
-rw-r--r-- | base/game.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/base/game.cpp b/base/game.cpp index a79cfddec9..9628543672 100644 --- a/base/game.cpp +++ b/base/game.cpp @@ -75,29 +75,3 @@ void SaveStateDescriptor::setThumbnail(Graphics::Surface *t) { } _thumbnail = t; } - - -namespace Base { - -// TODO: Find a better name & place for this function. -GameDescriptor findGame(const Common::String &gameName, const Plugin **plugin) { - // Find the GameDescriptor for this target - const PluginList &plugins = PluginManager::instance().getPlugins(); - GameDescriptor result; - - if (plugin) - *plugin = 0; - - PluginList::const_iterator iter = plugins.begin(); - for (iter = plugins.begin(); iter != plugins.end(); ++iter) { - result = (*iter)->findGame(gameName.c_str()); - if (!result.gameid().empty()) { - if (plugin) - *plugin = *iter; - break; - } - } - return result; -} - -} // End of namespace Base |