diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index d7b9b2d020e1d2a2d12e4550da90fa192526ea12..854938698fc7b37b254f7b58c4541d5a9bb3f39f 100644 (file)
--- a/src/game/g_game.pas
+++ b/src/game/g_game.pas
gRC_FullScreen, gRC_Maximized: Boolean;
gLanguageChange: Boolean = False;
gDebugMode: Boolean = False;
- g_debug_WinMsgs: Boolean = False;
g_debug_MonsterOff: Boolean = False;
g_debug_BotAIOff: Byte = 0;
- g_Debug_Player: Boolean = False;
gCoopMonstersKilled: Word = 0;
gCoopSecretsFound: Word = 0;
gCoopTotalMonstersKilled: Word = 0;
procedure ClearDebugCvars();
begin
- g_debug_WinMsgs := False;
g_debug_MonsterOff := False;
g_debug_BotAIOff := 0;
- g_Debug_Player := False;
end;
function g_Game_ModeToText(Mode: Byte): string;
g_Console_Add(Format('gScreenWidth = %d, gScreenHeight = %d', [gScreenWidth, gScreenHeight]));
g_Console_Add(Format('gScreenWidth = %d, gScreenHeight = %d', [gScreenWidth, gScreenHeight]));
end
- else if cmd = 'd_winmsg' then
- begin
- if (Length(P) > 1) and
- ((P[1] = '1') or (P[1] = '0')) then
- g_Debug_WinMsgs := (P[1][1] = '1');
-
- g_Console_Add(Format('d_winmsg is %d', [Byte(g_Debug_WinMsgs)]));
- end
else if (cmd = 'd_monoff') and not g_Game_IsNet then
begin
if (Length(P) > 1) and
end;
end;
end
- else if (cmd = 'd_player') then
- begin
- if (Length(P) > 1) and
- ((P[1] = '1') or (P[1] = '0')) then
- g_debug_Player := (P[1][1] = '1');
-
- g_Console_Add(Format(cmd + ' is %d', [Byte(g_Debug_Player)]));
- end
else if (cmd = 'd_mem') then
begin
PrintHeapStats();