]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/round_handler.qh
Merge branch 'master' into terencehill/ca_arena_freezetag_bugfixes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / round_handler.qh
1 entity round_handler;
2 .float delay; // stores delay from round end to countdown start
3 .float count; // stores initial number of the countdown
4 .float wait; // it's set to TRUE when round ends, to FALSE when countdown starts
5 .float cnt;     // its initial value is .count + 1, then decreased while counting down
6                         // reaches 0 when the round starts
7 .float() canRoundStart;
8 .float() canRoundEnd;
9
10 void round_handler_Spawn(float() canRoundStart_func, float() canRoundEnd_func, float the_delay, float the_count);
11 float round_handler_IsActive();
12 float round_handler_AwaitingNextRound();
13 float round_handler_CountdownRunning();
14 float round_handler_IsRoundStarted();
15 void round_handler_Reset(float next_think);
16 void round_handler_Remove();
17