PACKAGEMANAGER is now a compiletime feature in its own right, and can be enabled separately from WEBCLIENT (although won't be able to download without WEBCLIENT).
SAVEDGAMES is now a new compiletime feature. Deathmatch/dedicated servers can freely disable it. menuqc now makes sure that any fields it needs are actually present. developer 1 should now report glsl line numbers a bit more reliably. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5284 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
61c0b9f83b
commit
0b2be8f4ba
21 changed files with 330 additions and 164 deletions
|
@ -4899,8 +4899,10 @@ float SV_Frame (void)
|
|||
{
|
||||
isidle = false;
|
||||
|
||||
#ifdef SAVEDGAMES
|
||||
if (sv.time > sv.autosave_time)
|
||||
SV_AutoSave();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -5203,10 +5205,9 @@ void SV_InitLocal (void)
|
|||
|
||||
Cmd_AddCommand ("openroute", SV_OpenRoute_f);
|
||||
|
||||
#ifndef NOBUILTINMENUS
|
||||
#ifndef SERVERONLY
|
||||
#ifdef SAVEDGAMES
|
||||
#if !defined(NOBUILTINMENUS) && !defined(SERVERONLY)
|
||||
Cvar_Register(&sv_autosave, cvargroup_servercontrol);
|
||||
#endif
|
||||
#endif
|
||||
Cvar_Register(&sv_savefmt, cvargroup_servercontrol);
|
||||
#ifndef QUAKETC
|
||||
|
@ -5216,6 +5217,7 @@ void SV_InitLocal (void)
|
|||
Cmd_AddCommandAD ("loadgame", SV_Loadgame_f, SV_Savegame_c, "Loads an existing saved game.");
|
||||
Cmd_AddCommandAD ("save", SV_Savegame_f, SV_Savegame_c, "Saves the game to the named location.");
|
||||
Cmd_AddCommandAD ("load", SV_Loadgame_f, SV_Savegame_c, "Loads an existing saved game.");
|
||||
#endif
|
||||
|
||||
SV_MVDInit();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue