Skip to content

Commit

Permalink
Debug|libcommon: Adjusted level of savegame file open logging to XVER…
Browse files Browse the repository at this point in the history
…BOSE, cleanup
  • Loading branch information
danij-deng committed Feb 26, 2014
1 parent 739b21f commit 5f8a573
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions doomsday/plugins/common/src/g_game.cpp
Expand Up @@ -106,7 +106,7 @@ MonsterMissileInfo[] =
#endif

D_CMD(CycleTextureGamma);
D_CMD(EndGame);
D_CMD(EndSession);
D_CMD(HelpScreen);

D_CMD(ListMaps);
Expand Down Expand Up @@ -394,7 +394,7 @@ cvartemplate_t gamestatusCVars[] =
ccmdtemplate_t gameCmds[] = {
{ "deletegamesave", "ss", CCmdDeleteSavedSession, 0 },
{ "deletegamesave", "s", CCmdDeleteSavedSession, 0 },
{ "endgame", "", CCmdEndGame, 0 },
{ "endgame", "", CCmdEndSession, 0 },
{ "helpscreen", "", CCmdHelpScreen, 0 },
{ "inspectgamesave", "s", CCmdInspectSavedSession, 0 },
{ "listmaps", "", CCmdListMaps, 0 },
Expand Down Expand Up @@ -4455,7 +4455,7 @@ D_CMD(HelpScreen)
return true;
}

D_CMD(EndGame)
D_CMD(EndSession)
{
DENG2_UNUSED3(src, argc, argv);

Expand Down Expand Up @@ -4500,7 +4500,7 @@ D_CMD(ListMaps)
*/
D_CMD(WarpMap)
{
bool const forceNewGameSession = IS_NETGAME != 0;
bool const forceNewSession = IS_NETGAME != 0;

// Only server operators can warp maps in network games.
/// @todo Implement vote or similar mechanics.
Expand Down Expand Up @@ -4560,7 +4560,7 @@ D_CMD(WarpMap)

#if __JHEXEN__
// Hexen does not allow warping to the current map.
if(!forceNewGameSession && gameInProgress &&
if(!forceNewSession && gameInProgress &&
Uri_Equality(gameMapUri, newMapUri))
{
P_SetMessage(players + CONSOLEPLAYER, LMF_NO_HIDE, "Cannot warp to the current map.");
Expand All @@ -4587,7 +4587,7 @@ D_CMD(WarpMap)
// So be it.
briefDisabled = true;

if(!forceNewGameSession && gameInProgress)
if(!forceNewSession && gameInProgress)
{
#if __JHEXEN__
nextMap = map;
Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/p_saveio.cpp
Expand Up @@ -145,7 +145,7 @@ void SV_CopyFile(de::Path srcPath, de::Path destPath)

bool SV_OpenFile(de::Path path, bool write)
{
App_Log(DE2_DEV_RES_MSG, "SV_OpenFile: Opening \"%s\"",
App_Log(DE2_DEV_RES_XVERBOSE, "SV_OpenFile: Opening \"%s\"",
de::NativePath(path).pretty().toLatin1().constData());

#if __JHEXEN__
Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/saveinfo.cpp
Expand Up @@ -522,7 +522,7 @@ String SaveInfo::description() const
return String(_E(b) "%1\n" _E(.)
_E(l) "IdentityKey: " _E(.)_E(i) "%2 " _E(.)
_E(l) "Current map: " _E(.)_E(i) "%3\n" _E(.)
_E(l) "Source file: " _E(.)_E(i) "%4\n" _E(.)
_E(l) "Source file: " _E(.)_E(i) "\"%4\"\n" _E(.)
_E(l) "Version: " _E(.)_E(i) "%5 " _E(.)
_E(l) "Session id: " _E(.)_E(i) "%6\n" _E(.)
_E(D) "Game rules:\n" _E(.) " %7\n"
Expand Down

0 comments on commit 5f8a573

Please sign in to comment.