From 4fec9c68261b09f0508fa5411e135616b1a62b55 Mon Sep 17 00:00:00 2001 From: danij Date: Sat, 4 Jan 2014 12:50:19 +0000 Subject: [PATCH] Game|Resources: Applied rich formatting to "inspectgame" output --- doomsday/client/src/game.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/doomsday/client/src/game.cpp b/doomsday/client/src/game.cpp index aa32f5cc12..72e717ee56 100644 --- a/doomsday/client/src/game.cpp +++ b/doomsday/client/src/game.cpp @@ -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; }