X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fg_console.pas;h=b4842f5eef671e325dd6b17c5cbeb010c729525b;hb=80bd740786c1cb6fc146642daf668da1ab950743;hp=806c73f098e08e38746a65891a0b8c9c717a1128;hpb=be2ad7bf5e09b4ee91a0c5ee741503ace8c7887c;p=d2df-sdl.git diff --git a/src/game/g_console.pas b/src/game/g_console.pas index 806c73f..b4842f5 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); @@ -2053,6 +2054,7 @@ begin 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()); @@ -2128,6 +2130,7 @@ begin end end; + WriteLn(f, 'r_maxfps ', gMaxFPS); WriteLn(f, 'r_reset'); CloseFile(f) end;