Xonotic
|
#include "round_handler.qh"
#include <common/mapobjects/triggers.qh>
#include <common/util.qh>
#include <server/campaign.qh>
#include <server/command/vote.qh>
#include <server/world.qh>
Go to the source code of this file.
Functions | |
void | round_handler_FirstThink (entity this) |
void | round_handler_Init (float the_delay, float the_count, float the_round_timelimit) |
void | round_handler_Remove () |
void | round_handler_Reset (float next_think) |
void | round_handler_Spawn (bool() canRoundStart_func, bool() canRoundEnd_func, void() roundStart_func) |
void | round_handler_Think (entity this) |
Definition at line 84 of file round_handler.qc.
References count, max(), nextthink, round_handler_Think(), setthink, and time.
Referenced by round_handler_Spawn().
Definition at line 72 of file round_handler.qc.
References cnt, count, delay, entity(), fabs(), floor(), round_handler, and round_timelimit.
Referenced by CA_CheckWinner(), dom_DelayedInit(), Domination_CheckWinner(), freezetag_CheckWinner(), freezetag_Initialize(), Invasion_CheckWinner(), invasion_DelayedInit(), ons_DelayedInit(), Onslaught_CheckWinner(), REGISTER_MUTATOR(), and round_handler_Spawn().
void round_handler_Remove | ( | ) |
Definition at line 120 of file round_handler.qc.
References NULL, and round_handler.
Referenced by round_handler_Think().
Definition at line 109 of file round_handler.qc.
References cnt, count, entity(), nextthink, round_handler, and wait.
Referenced by reset_map(), and round_handler_Think().
void round_handler_Spawn | ( | bool() | canRoundStart_func, |
bool() | canRoundEnd_func, | ||
void() | roundStart_func | ||
) |
Definition at line 91 of file round_handler.qc.
References backtrace, entity(), new_pure, nextthink, round_handler, round_handler_FirstThink(), round_handler_Init(), setthink, time, and wait.
Referenced by dom_DelayedInit(), freezetag_Initialize(), invasion_DelayedInit(), ons_DelayedInit(), and REGISTER_MUTATOR().
Definition at line 9 of file round_handler.qc.
References autocvar_g_campaign, campaign_bots_may_start, cnt, count, delay, intermission_running, nextthink, reset_map(), round_endtime, round_handler_Remove(), round_handler_Reset(), round_timelimit, time, and wait.
Referenced by round_handler_FirstThink().