X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=cbfcf5faaabf1134618ca6942c99485d89bb364d;hb=4bf6da74deaa56a43fa6b0ad15c1bf4054ac6fd4;hp=3f285b4badce5fe4d574e455d8715f9333e35ec0;hpb=c8d7811d45c2d34a7e297613e50570f253a0d8e9;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 3f285b4..cbfcf5f 100644 --- a/src/game/g_console.pas +++ b/src/game/g_console.pas @@ -906,10 +906,13 @@ begin AddCommand('d_joy', DebugCommands); AddCommand('d_mem', DebugCommands); - AddCommand('p1_name', GameCVars); - AddCommand('p2_name', GameCVars); - AddCommand('p1_color', GameCVars); - AddCommand('p2_color', GameCVars); + AddCommand('p1_name', PlayerSettingsCVars); + AddCommand('p2_name', PlayerSettingsCVars); + AddCommand('p1_color', PlayerSettingsCVars); + AddCommand('p2_color', PlayerSettingsCVars); + AddCommand('p1_model', PlayerSettingsCVars); + AddCommand('p2_model', PlayerSettingsCVars); + AddCommand('r_showscore', GameCVars); AddCommand('r_showlives', GameCVars); AddCommand('r_showstat', GameCVars); @@ -929,15 +932,13 @@ begin AddCommand('g_maxlives', GameCVars); AddCommand('g_warmuptime', GameCVars); AddCommand('g_spawn_invul', GameCVars); - AddCommand('net_interp', GameCVars); - AddCommand('net_forceplayerupdate', GameCVars); - AddCommand('net_predictself', GameCVars); - AddCommand('sv_name', GameCVars); - AddCommand('sv_passwd', GameCVars); - AddCommand('sv_maxplrs', GameCVars); - AddCommand('sv_public', GameCVars); AddCommand('sv_intertime', GameCVars); + AddCommand('sv_name', NetServerCVars); + AddCommand('sv_passwd', NetServerCVars); + AddCommand('sv_maxplrs', NetServerCVars); + AddCommand('sv_public', NetServerCVars); + AddCommand('quit', GameCommands); AddCommand('exit', GameCommands); AddCommand('pause', GameCommands); @@ -972,6 +973,7 @@ begin AddCommand('reconnect', GameCommands); AddCommand('say', GameCommands); AddCommand('tell', GameCommands); + AddCommand('centerprint', GameCommands); AddCommand('overtime', GameCommands); AddCommand('rcon_password', GameCommands); AddCommand('rcon', GameCommands); @@ -1018,6 +1020,7 @@ begin WhitelistCommand('restart'); WhitelistCommand('kick'); WhitelistCommand('ban'); + WhitelistCommand('centerprint'); WhitelistCommand('addbot'); WhitelistCommand('bot_add'); @@ -1032,6 +1035,9 @@ begin WhitelistCommand('g_allow_monsters'); WhitelistCommand('g_scorelimit'); WhitelistCommand('g_timelimit'); + WhitelistCommand('g_dm_keys'); + WhitelistCommand('g_spawn_invul'); + WhitelistCommand('g_warmuptime'); g_Console_ResetBinds; g_Console_ReadConfig(configScript);