]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/g_world.qh
Fix FL_WEAPON flag overlapping FL_JUMPRELEASED. This unintentional change was introdu...
[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 string cache_mutatormsg;
9 string cache_lastmutatormsg;
10
11 const int WINNING_NO = 0; // no winner, but time limits may terminate the game
12 const int WINNING_YES = 1; // winner found
13 const int WINNING_NEVER = 2; // no winner, enter overtime if time limit is reached
14 const int WINNING_STARTSUDDENDEATHOVERTIME = 3; // no winner, enter suddendeath overtime NOW
15
16 float WinningCondition_Scores(float limit, float leadlimit);
17 void SetWinners(.float field, float value);
18 void IntermissionThink(entity this);
19 void GotoNextMap(float reinit);
20 void ReadyRestart();
21
22 string GetGametype();
23
24 void DumpStats(float final);
25 float Map_IsRecent(string m);
26 string GetNextMap();
27 void ShuffleMaplist();
28 void Map_Goto_SetStr(string nextmapname);
29 void Map_Goto(float reinit);
30 void Map_MarkAsRecent(string m);
31 float DoNextMapOverride(float reinit);
32 void CheckRules_World();
33 float RedirectionThink();