|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | round_handler_AwaitingNextRound() |
| #define | round_handler_CountdownRunning() |
| #define | round_handler_GetEndDelayTime() |
| #define | round_handler_GetEndTime() |
| #define | round_handler_IsActive() |
| #define | round_handler_IsRoundStarted() |
| #define | round_handler_ResetEndDelayTime() |
| #define | round_handler_SetEndDelayTime(t) |
Functions | |
| bool () canRoundStart | |
| 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 () roundStart | |
Variables | |
| float | cnt |
| float | count |
| float | delay |
| float | round_enddelaytime |
| float | round_endtime |
| entity | round_handler |
| float | round_timelimit |
| bool | wait |
| #define round_handler_AwaitingNextRound | ( | ) |
Definition at line 22 of file round_handler.qh.
| #define round_handler_CountdownRunning | ( | ) |
Definition at line 23 of file round_handler.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| #define round_handler_GetEndDelayTime | ( | ) |
Definition at line 26 of file round_handler.qh.
Referenced by CA_CheckWinner(), freezetag_CheckWinner(), and Surv_CheckWinner().
| #define round_handler_GetEndTime | ( | ) |
Definition at line 25 of file round_handler.qh.
Referenced by CA_CheckWinner(), Domination_CheckWinner(), freezetag_CheckWinner(), Invasion_CheckWinner(), Onslaught_CheckWinner(), and Surv_CheckWinner().
| #define round_handler_IsActive | ( | ) |
Definition at line 21 of file round_handler.qh.
Referenced by buff_Think(), ca_LastPlayerForTeam_Notify(), ClientKill_TeamChange(), dompointtouch(), freezetag_LastPlayerForTeam_Notify(), GrapplingHookThink(), ImpulseCommands(), Monster_Move(), Monster_Move_2D(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_darkness_think(), nade_ice_think(), napalm_ball_think(), napalm_fountain_think(), PlayerDamage(), reset_map(), surv_LastPlayerForTeam_Notify(), TeleportPlayer(), and weaponUseForbidden().
| #define round_handler_IsRoundStarted | ( | ) |
Definition at line 24 of file round_handler.qh.
Referenced by buff_Think(), ca_LastPlayerForTeam_Notify(), ClientKill_TeamChange(), dompointtouch(), freezetag_LastPlayerForTeam_Notify(), GrapplingHookThink(), ImpulseCommands(), Monster_Move(), Monster_Move_2D(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_darkness_think(), nade_ice_think(), napalm_ball_think(), napalm_fountain_think(), ons_GeneratorDamage(), PlayerDamage(), surv_LastPlayerForTeam_Notify(), TeleportPlayer(), and weaponUseForbidden().
| #define round_handler_ResetEndDelayTime | ( | ) |
Definition at line 28 of file round_handler.qh.
Referenced by CA_CheckWinner(), freezetag_CheckWinner(), round_handler_Reset(), round_handler_Spawn(), round_handler_Think(), and Surv_CheckWinner().
| #define round_handler_SetEndDelayTime | ( | t | ) |
Definition at line 27 of file round_handler.qh.
Referenced by CA_CheckWinner(), freezetag_CheckWinner(), and Surv_CheckWinner().
| bool | ( | ) |
Definition at line 79 of file round_handler.qc.
References cnt, count, delay, entity(), fabs(), floor(), round_handler, round_limit, 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(), round_handler_Spawn(), Surv_CheckWinner(), and surv_Initialize().
| void round_handler_Remove | ( | ) |
Definition at line 134 of file round_handler.qc.
References NULL, and round_handler.
Referenced by round_handler_Think().
Definition at line 119 of file round_handler.qc.
References cnt, count, entity(), game_starttime, nextthink, round_handler, round_handler_ResetEndDelayTime, round_starttime, rounds_played, 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 98 of file round_handler.qc.
References backtrace, entity(), new_pure, nextthink, round_handler, round_handler_FirstThink(), round_handler_Init(), round_handler_ResetEndDelayTime, ScoreInfo_SetLabel_PlayerScore(), setthink, time, and wait.
Referenced by dom_DelayedInit(), freezetag_Initialize(), invasion_DelayedInit(), ons_DelayedInit(), REGISTER_MUTATOR(), and surv_Initialize().
| void | ( | ) |
Definition at line 72 of file self.qh.
Referenced by conveyor_think(), func_ladder_think(), InitializeEntitiesRun(), MapVote_Draw(), sys_phys_simulate_simple(), target_speed_use(), and W_PROP_reload().
| float cnt |
Definition at line 7 of file round_handler.qh.
| float count |
Definition at line 5 of file round_handler.qh.
| float delay |
Definition at line 4 of file round_handler.qh.
| float round_enddelaytime |
Definition at line 11 of file round_handler.qh.
| float round_endtime |
Definition at line 10 of file round_handler.qh.
Referenced by round_handler_Think().
| entity round_handler |
Definition at line 3 of file round_handler.qh.
Referenced by round_handler_Init(), round_handler_Remove(), round_handler_Reset(), and round_handler_Spawn().
| float round_timelimit |
Definition at line 9 of file round_handler.qh.
Referenced by HUD_Timer(), round_handler_Init(), and round_handler_Think().
| bool wait |
Definition at line 6 of file round_handler.qh.