]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_world.qh
Merge remote-tracking branch 'origin/master' into terencehill/menu_remove_tab_title
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qh
1 #ifndef G_WORLD_H
2 #define G_WORLD_H
3
4 float checkrules_equality;
5 float checkrules_suddendeathwarning;
6 float checkrules_suddendeathend;
7 float checkrules_overtimesadded; //how many overtimes have been already added
8
9 const float WINNING_NO = 0; // no winner, but time limits may terminate the game
10 const float WINNING_YES = 1; // winner found
11 const float WINNING_NEVER = 2; // no winner, enter overtime if time limit is reached
12 const float WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath overtime NOW
13
14 void CheckRules_Player();
15 void IntermissionThink();
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();
27
28 #endif