]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/round_handler.qh
Merge branch 'master' into terencehill/ca_arena_mutators
[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 round_timelimit;
8 .float round_endtime;
9 .float() canRoundStart;
10 .float() canRoundEnd;
11 .void() roundStart;
12
13 void round_handler_Spawn(float() canRoundStart_func, float() canRoundEnd_func, void() roundStart_func, float the_delay, float the_count, float the_round_timelimit);
14 float round_handler_IsActive();
15 float round_handler_AwaitingNextRound();
16 float round_handler_CountdownRunning();
17 float round_handler_IsRoundStarted();
18 float round_handler_GetTimeLeft();
19 void round_handler_Reset(float next_think);
20 void round_handler_Remove();
21