]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_world.qh
Merge branch 'master' into Lyberta/PrintMove
[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 string GetGametype();
20
21 void DumpStats(float final);
22 float Map_IsRecent(string m);
23 string GetNextMap();
24 void ShuffleMaplist();
25 void Map_Goto_SetStr(string nextmapname);
26 void Map_Goto(float reinit);
27 float DoNextMapOverride(float reinit);
28 void CheckRules_World();