|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/mutators/base.qh>Go to the source code of this file.
Macros | |
| #define | autocvar_g_keyhunt_point_limit cvar("g_keyhunt_point_limit") |
| #define | FOR_EACH_KH_KEY(v) |
Typedefs | |
| using | kh_Think_t = void() |
Functions | |
| void | kh_Controller_SetThink (float t, kh_Think_t func) |
| void | kh_Initialize () |
| void | kh_StartRound () |
| REGISTER_MUTATOR (kh, false) | |
Variables | |
| int | autocvar_g_keyhunt_point_leadlimit |
| bool | autocvar_g_keyhunt_team_spawns |
| entity | kh_next |
| bool | kh_tracking_enabled |
| entity | kh_worldkeylist |
| entity | kh_worldkeynext |
| #define autocvar_g_keyhunt_point_limit cvar("g_keyhunt_point_limit") |
Definition at line 4 of file sv_keyhunt.qh.
Referenced by REGISTER_MUTATOR().
| #define FOR_EACH_KH_KEY | ( | v | ) |
Definition at line 27 of file sv_keyhunt.qh.
Referenced by kh_FinishRound(), kh_Key_AllOwnedByWhichTeam(), kh_Key_AssignTo(), kh_Key_Think(), kh_LoserTeam(), kh_update_state(), kh_WinnerTeam(), and MUTATOR_HOOKFUNCTION().
| using kh_Think_t = void() |
Definition at line 35 of file sv_keyhunt.qh.
| void kh_Controller_SetThink | ( | float | t, |
| kh_Think_t | func ) |
Definition at line 155 of file sv_keyhunt.qc.
References ceil(), kh_controller, kh_Controller_Thinkfunc, and time.
Referenced by kh_FinishRound(), kh_Initialize(), kh_StartRound(), and kh_WaitForPlayers().
| void kh_Initialize | ( | ) |
Definition at line 974 of file sv_keyhunt.qc.
References autocvar_g_keyhunt_teams_override, BITS, bound(), cvar(), entity(), kh_controller, kh_Controller_SetThink(), kh_Controller_Think(), kh_key_carried, kh_key_dropped, kh_ScoreRules(), kh_teams, kh_WaitForPlayers(), new_pure, setmodel, setthink, and spawn.
Referenced by REGISTER_MUTATOR().
| void kh_StartRound | ( | ) |
Definition at line 908 of file sv_keyhunt.qc.
References autocvar_g_balance_keyhunt_delay_tracking, entity(), FOREACH_CLIENT, game_starttime, IS_DEAD, IS_PLAYER, kh_Controller_SetThink(), kh_EnableTrackingDevice(), kh_GetMissingTeams(), kh_Key_Spawn(), kh_Team_ByID(), kh_teams, kh_tracking_enabled, kh_WaitForPlayers(), Kill_Notification(), NULL, NumTeams(), PHYS_INPUT_BUTTON_CHAT, players, random(), Send_Notification(), and time.
Referenced by kh_FinishRound(), and kh_WaitForPlayers().
| REGISTER_MUTATOR | ( | kh | , |
| false | ) |
Definition at line 9 of file sv_keyhunt.qh.
References autocvar_g_keyhunt_point_leadlimit, autocvar_g_keyhunt_point_limit, autocvar_g_keyhunt_team_spawns, GameRules_limit_lead(), GameRules_limit_score(), GameRules_spawning_teams, GameRules_teams(), kh_Initialize(), MUTATOR_ONADD, and MUTATOR_STATIC.
| int autocvar_g_keyhunt_point_leadlimit |
Definition at line 5 of file sv_keyhunt.qh.
Referenced by REGISTER_MUTATOR().
| bool autocvar_g_keyhunt_team_spawns |
Definition at line 6 of file sv_keyhunt.qh.
Referenced by REGISTER_MUTATOR().
| entity kh_next |
Definition at line 33 of file sv_keyhunt.qh.
| bool kh_tracking_enabled |
Definition at line 32 of file sv_keyhunt.qh.
Referenced by kh_EnableTrackingDevice(), kh_Key_waypointsprite_visible_for_player(), kh_KeyCarrier_waypointsprite_visible_for_player(), and kh_StartRound().
| entity kh_worldkeylist |
Definition at line 24 of file sv_keyhunt.qh.
Referenced by havocbot_goalrating_kh(), kh_Key_Remove(), and kh_Key_Spawn().
| entity kh_worldkeynext |
Definition at line 25 of file sv_keyhunt.qh.