diff --git a/src/game/g_console.pas b/src/game/g_console.pas
index 806c73f098e08e38746a65891a0b8c9c717a1128..c779409eaa4ecc070b5ddf844b941f1e4c16c7be 100644 (file)
--- a/src/game/g_console.pas
+++ b/src/game/g_console.pas
AddCommand('quit', SystemCommands);
AddCommand('exit', SystemCommands);
AddCommand('r_reset', SystemCommands);
+ AddCommand('r_maxfps', SystemCommands);
AddCommand('g_language', SystemCommands);
AddCommand('bind', BindCommands);
AddCommand('ready', GameCommands);
AddCommand('kick', GameCommands);
AddCommand('kick_id', GameCommands);
+ AddCommand('kick_pid', GameCommands);
AddCommand('ban', GameCommands);
- AddCommand('permban', GameCommands);
AddCommand('ban_id', GameCommands);
+ AddCommand('ban_pid', GameCommands);
+ AddCommand('permban', GameCommands);
AddCommand('permban_id', GameCommands);
+ AddCommand('permban_pid', GameCommands);
+ AddCommand('permban_ip', GameCommands);
AddCommand('unban', GameCommands);
AddCommand('connect', GameCommands);
AddCommand('disconnect', GameCommands);
WhitelistCommand('endmap');
WhitelistCommand('restart');
WhitelistCommand('kick');
+ WhitelistCommand('kick_pid');
WhitelistCommand('ban');
+ WhitelistCommand('ban_pid');
WhitelistCommand('centerprint');
WhitelistCommand('addbot');
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);
WriteLn(f, 'sv_passwd ', QuoteStr(NetPassword));
WriteLn(f, 'sv_maxplrs ', NetMaxClients);
WriteLn(f, 'sv_port ', NetPort);
+ WriteLn(f, 'sv_public ', IfThen(NetUseMaster, 1, 0));
// game settings
WriteLn(f, 'g_max_particles ', g_GFX_GetMax());
end
end;
+ WriteLn(f, 'r_maxfps ', gMaxFPS);
WriteLn(f, 'r_reset');
CloseFile(f)
end;