Made the startup log output a bit more informative

svn-id: r32243
This commit is contained in:
Max Horn 2008-05-24 14:12:32 +00:00
parent d766719a65
commit 6af9fcc579

View File

@ -90,17 +90,20 @@ static const EnginePlugin *detectPlugin() {
ConfMan.set("gameid", gameid);
// Query the plugins and find one that will handle the specified gameid
printf("Looking for %s\n", gameid.c_str());
printf("User picked target '%s' (gameid '%s')...\n", ConfMan.getActiveDomainName().c_str(), gameid.c_str());
printf(" Looking for a plugin supporting this gameid... ");
GameDescriptor game = EngineMan.findGame(gameid, &plugin);
if (plugin == 0) {
printf("Failed game detection\n");
printf("failed\n");
warning("%s is an invalid gameid. Use the --list-games option to list supported gameid", gameid.c_str());
return 0;
} else {
printf("%s\n", plugin->getName());
}
// FIXME: Do we really need this one?
printf("Trying to start game '%s'\n", game.description().c_str());
printf(" Starting '%s'\n", game.description().c_str());
return plugin;
}