[Scummvm-cvs-logs] SF.net SVN: scummvm: [32243] scummvm/trunk/base/main.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat May 24 16:12:32 CEST 2008
Revision: 32243
http://scummvm.svn.sourceforge.net/scummvm/?rev=32243&view=rev
Author: fingolfin
Date: 2008-05-24 07:12:32 -0700 (Sat, 24 May 2008)
Log Message:
-----------
Made the startup log output a bit more informative
Modified Paths:
--------------
scummvm/trunk/base/main.cpp
Modified: scummvm/trunk/base/main.cpp
===================================================================
--- scummvm/trunk/base/main.cpp 2008-05-24 13:51:25 UTC (rev 32242)
+++ scummvm/trunk/base/main.cpp 2008-05-24 14:12:32 UTC (rev 32243)
@@ -90,17 +90,20 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list