DEADSOFTWARE

clean up GameCVars; add sv_forwardports
[d2df-sdl.git] / src / game / g_console.pas
index 27ef5ecdb18b982c65cd625bb47e5ae86e356985..cbfcf5faaabf1134618ca6942c99485d89bb364d 100644 (file)
@@ -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);
@@ -1019,6 +1020,7 @@ begin
   WhitelistCommand('restart');
   WhitelistCommand('kick');
   WhitelistCommand('ban');
+  WhitelistCommand('centerprint');
 
   WhitelistCommand('addbot');
   WhitelistCommand('bot_add');
@@ -1033,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);