]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_world.qh
Merge branch 'TimePath/gamerules' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qh
1 #pragma once
2
3 float checkrules_equality;
4 float checkrules_suddendeathwarning;
5 float checkrules_suddendeathend;
6 float checkrules_overtimesadded; //how many overtimes have been already added
7
8 const int WINNING_NO = 0; // no winner, but time limits may terminate the game
9 const int WINNING_YES = 1; // winner found
10 const int WINNING_NEVER = 2; // no winner, enter overtime if time limit is reached
11 const int WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath overtime NOW
12
13 float WinningCondition_Scores(float limit, float leadlimit);
14 void SetWinners(.float field, float value);
15 void IntermissionThink(entity this);
16 void GotoNextMap(float reinit);
17 void ReadyRestart();
18
19 void DumpStats(float final);
20 float Map_IsRecent(string m);
21 string GetNextMap();
22 void ShuffleMaplist();
23 void Map_Goto_SetStr(string nextmapname);
24 void Map_Goto(float reinit);
25 float DoNextMapOverride(float reinit);
26 void CheckRules_World();