]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_world.qh
3703abad2367ccb59a3a24feb146738b63cb7554
[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 float WINNING_NO = 0; // no winner, but time limits may terminate the game
9 const float WINNING_YES = 1; // winner found
10 const float WINNING_NEVER = 2; // no winner, enter overtime if time limit is reached
11 const float WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath overtime NOW
12
13 void CheckRules_Player();
14 void IntermissionThink();
15 void GotoNextMap(float reinit);
16 void ReadyRestart();
17
18 void DumpStats(float final);
19 float Map_IsRecent(string m);
20 string GetNextMap();
21 void ShuffleMaplist();
22 void Map_Goto_SetStr(string nextmapname);
23 void Map_Goto(float reinit);
24 float DoNextMapOverride(float reinit);
25 void CheckRules_World();