X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=d3059549107a05b8fa58b92df8bbb916880f7109;hb=849699367b70d85e83ec3ac3bec68348dc63e80b;hp=c38b476408f08dc42aba24a0b6ca04e000fc4e06;hpb=49466ddcf6c0bb9d25a8f713d632f37ddc0474d1;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index c38b476..d305954 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -953,6 +953,7 @@ begin AddCommand('quit', SystemCommands); AddCommand('exit', SystemCommands); AddCommand('r_reset', SystemCommands); + AddCommand('r_maxfps', SystemCommands); AddCommand('g_language', SystemCommands); AddCommand('bind', BindCommands); @@ -1117,13 +1118,16 @@ begin WhitelistCommand('g_friendlyfire'); WhitelistCommand('g_weaponstay'); WhitelistCommand('g_allow_exit'); + WhitelistCommand('g_dm_keys'); WhitelistCommand('g_allow_monsters'); + WhitelistCommand('g_bot_vsmonsters'); + WhitelistCommand('g_bot_vsplayers'); WhitelistCommand('g_scorelimit'); WhitelistCommand('g_timelimit'); - WhitelistCommand('g_dm_keys'); + WhitelistCommand('g_maxlives'); + WhitelistCommand('g_warmup_time'); WhitelistCommand('g_spawn_invul'); WhitelistCommand('g_item_respawn_time'); - WhitelistCommand('g_warmup_time'); g_Console_ResetBinds; g_Console_ReadConfig(gConfigScript); @@ -2129,6 +2133,7 @@ begin end end; + WriteLn(f, 'r_maxfps ', gMaxFPS); WriteLn(f, 'r_reset'); CloseFile(f) end;