aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
diff options
context:
space:
mode:
authorMax Horn2006-07-31 13:41:21 +0000
committerMax Horn2006-07-31 13:41:21 +0000
commit4a80db4c7b75ca58b7a2c02a740e0ed7e19c52f4 (patch)
tree25b4b111b4a9bbc712a5f53335b0e9ce5b5c9abd /base/commandLine.cpp
parenta1bb64e24b3fdcd8983a479fe9b6c0d88f650e30 (diff)
downloadscummvm-rg350-4a80db4c7b75ca58b7a2c02a740e0ed7e19c52f4.tar.gz
scummvm-rg350-4a80db4c7b75ca58b7a2c02a740e0ed7e19c52f4.tar.bz2
scummvm-rg350-4a80db4c7b75ca58b7a2c02a740e0ed7e19c52f4.zip
* Added copyright string to all engine plugins
* Modified about dialog to list all available plugins with their resp. copyright * Modified about dialog credits to show the GPL last (like movie end credits do with their legal text, too) svn-id: r23645
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r--base/commandLine.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 8372b976fb..bfa3424822 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -519,11 +519,10 @@ unknownOption:
/** List all supported game IDs, i.e. all games which any loaded plugin supports. */
static void listGames() {
- const PluginList &plugins = PluginManager::instance().getPlugins();
-
printf("Game ID Full Title \n"
"-------------------- ------------------------------------------------------\n");
+ const PluginList &plugins = PluginManager::instance().getPlugins();
PluginList::const_iterator iter = plugins.begin();
for (iter = plugins.begin(); iter != plugins.end(); ++iter) {
GameList list = (*iter)->getSupportedGames();
@@ -535,12 +534,11 @@ static void listGames() {
/** List all targets which are configured in the config file. */
static void listTargets() {
- using namespace Common;
- const ConfigManager::DomainMap &domains = ConfMan.getGameDomains();
-
printf("Target Description \n"
"-------------------- ------------------------------------------------------\n");
+ using namespace Common;
+ const ConfigManager::DomainMap &domains = ConfMan.getGameDomains();
ConfigManager::DomainMap::const_iterator iter = domains.begin();
for (iter = domains.begin(); iter != domains.end(); ++iter) {
Common::String name(iter->_key);