X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fworld.qh;h=d82469c11ef1ca7573752897113a614c673e01f3;hb=4677838f1b8eede1622d78afe6e156991ebda476;hp=f92322f9cf04a874e85df95f656249b3185ee37b;hpb=80e96d3476de18ec2d27c905eb789bd39b2f52f9;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/world.qh b/qcsrc/server/world.qh index f92322f9c..d82469c11 100644 --- a/qcsrc/server/world.qh +++ b/qcsrc/server/world.qh @@ -3,6 +3,7 @@ #include bool autocvar__sv_init; +bool autocvar__endmatch; bool autocvar_g_use_ammunition; bool autocvar_g_jetpack; bool autocvar_g_warmup_allguns; @@ -30,11 +31,13 @@ float autocvar_timelimit_suddendeath; float checkrules_equality; float checkrules_suddendeathwarning; float checkrules_suddendeathend; -float checkrules_overtimesadded; //how many overtimes have been already added +int checkrules_overtimesadded; //how many overtimes have been already added // flag set on worldspawn so that the code knows if it is dedicated or not bool server_is_dedicated; +int world_initialized; + string cvar_changes; string cvar_purechanges; float cvar_purechanges_count; @@ -43,6 +46,12 @@ string modname; string gamemode_name; +string record_type; + +string autocvar_sv_termsofservice_url; +// only escape the terms of service url on map change +string sv_termsofservice_url_escaped; + string clientstuff; string matchid; @@ -105,7 +114,7 @@ float g_weapon_stay; float want_weapon(entity weaponinfo, float allguns); // WEAPONTODO: what still needs done? float g_grappling_hook; -float warmup_stage; +int warmup_stage; bool sv_ready_restart_after_countdown; @@ -130,7 +139,7 @@ const int WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath float WinningCondition_Scores(float limit, float leadlimit); void SetWinners(.float field, float value); -void ReadyRestart(); +void ReadyRestart(bool forceWarmupEnd); void DumpStats(float final);