Skip to content

Commit

Permalink
Game|Resources: Applied rich formatting to "inspectgame" output
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jan 4, 2014
1 parent 8dd40b3 commit 4fec9c6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions doomsday/client/src/game.cpp
Expand Up @@ -271,19 +271,18 @@ D_CMD(InspectGame)

DENG2_ASSERT(!game->isNull());

LOG_MSG("Game: %s - %s") << game->title() << game->author();
LOG_MSG("IdentityKey: ") << game->identityKey();
#ifdef DENG_DEBUG
LOG_MSG("PluginId: ") << int(game->pluginId());
#endif
LOG_MSG(_E(1) "%s - %s") << game->title() << game->author();
LOG_MSG(_E(l) "IdentityKey: " _E(.) _E(i) "%s " _E(.)
_E(l) "PluginId: " _E(.) _E(i) "%s")
<< game->identityKey() << int(game->pluginId());

LOG_MSG("Startup resources:");
LOG_MSG(_E(D) "Startup resources:");
Game::printFiles(*game, FF_STARTUP);

LOG_MSG("Other resources:");
LOG_MSG(_E(D) "Other resources:");
Game::printFiles(*game, 0, false);

LOG_MSG("Status: ") << game->statusAsText();
LOG_MSG(_E(D) "Status: " _E(.) _E(1)) << game->statusAsText();

return true;
}
Expand Down

0 comments on commit 4fec9c6

Please sign in to comment.