summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fea837e)
raw | patch | inline | side by side (parent: fea837e)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 5 May 2023 11:36:25 +0000 (14:36 +0300) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Fri, 9 Jun 2023 09:39:04 +0000 (12:39 +0300) |
src/game/g_game.pas | patch | blob | history |
diff --git a/src/game/g_game.pas b/src/game/g_game.pas
index d7b9b2d020e1d2a2d12e4550da90fa192526ea12..b73d5adb17dce7a8051fdcacc0148a77cd8ae167 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;
procedure ClearDebugCvars();
begin
- g_debug_WinMsgs := False;
g_debug_MonsterOff := False;
g_debug_BotAIOff := 0;
g_Debug_Player := False;
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