|
Xonotic
|
#include "sv_clanarena.qh"
Include dependency graph for sv_clanarena.qc:Go to the source code of this file.
| bool CA_CheckTeams | ( | ) |
Definition at line 92 of file sv_clanarena.qc.
References allowed_to_spawn, CA_count_alive_players(), ca_teams, NULL, NUM_TEAMS, NumTeams(), Team_GetNumberOfAlivePlayers(), Team_GetNumberOfAliveTeams(), Team_GetTeamFromIndex(), Team_IndexToBit(), and total_players.
Referenced by REGISTER_MUTATOR().
Here is the call graph for this function:
Here is the caller graph for this function:| float CA_CheckWinner | ( | ) |
Definition at line 47 of file sv_clanarena.qc.
References allowed_to_spawn, APP_TEAM_NUM, autocvar_g_ca_round_timelimit, autocvar_g_ca_warmup, CA_count_alive_players(), FOREACH_CLIENT, IS_PLAYER, nades_Clear(), NULL, round_handler_GetEndTime, round_handler_Init(), ST_CA_ROUNDS, Team_GetWinnerAliveTeam(), TeamScore_AddToTeam(), and time.
Referenced by REGISTER_MUTATOR().
Here is the call graph for this function:
Here is the caller graph for this function:| void CA_count_alive_players | ( | ) |
Definition at line 17 of file sv_clanarena.qc.
References entity(), Entity_GetTeam(), Entity_HasValidTeam(), FOREACH_CLIENT, IS_DEAD, IS_PLAYER, IS_REAL_CLIENT, nades_Clear(), NUM_TEAMS, Team_GetNumberOfAlivePlayers(), Team_GetTeamFromIndex(), Team_SetNumberOfAlivePlayers(), and total_players.
Referenced by CA_CheckTeams(), and CA_CheckWinner().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 128 of file sv_clanarena.qc.
References FRAGS_PLAYER_OUT_OF_GAME, INGAME_JOINED, INGAME_JOINING, and IS_DEAD.
Referenced by REGISTER_MUTATOR().
Here is the caller graph for this function:Definition at line 224 of file sv_clanarena.qc.
References entity(), FOREACH_CLIENT, IS_DEAD, IS_PLAYER, NULL, and SAME_TEAM.
Referenced by ca_LastPlayerForTeam_Notify().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 239 of file sv_clanarena.qc.
References ca_LastPlayerForTeam(), entity(), round_handler_IsActive, round_handler_IsRoundStarted, and warmup_stage.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| void CA_RoundStart | ( | ) |
Definition at line 87 of file sv_clanarena.qc.
References allowed_to_spawn, boolean, and warmup_stage.
Referenced by REGISTER_MUTATOR().
Here is the caller graph for this function:Returns next available player to spectate if g_ca_spectate_enemies == 0.
Definition at line 138 of file sv_clanarena.qc.
References classname, entity(), find(), NULL, SAME_TEAM, and STR_PLAYER.
Referenced by MUTATOR_HOOKFUNCTION().
Here is the call graph for this function:
Here is the caller graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| PlayerSpawn | |||
| ) |
Definition at line 155 of file sv_clanarena.qc.
References eliminatedPlayers, entity(), INGAME_STATUS_JOINED, INGAME_STATUS_SET, M_ARGV, time, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| ForbidSpawn | |||
| ) |
Definition at line 166 of file sv_clanarena.qc.
References allowed_to_spawn, entity(), INGAME, and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| PutClientInServer | |||
| ) |
Definition at line 178 of file sv_clanarena.qc.
References allowed_to_spawn, CS(), entity(), INGAME, INGAME_STATUS_JOINING, INGAME_STATUS_SET, IS_PLAYER, jointime, M_ARGV, time, and TRANSMUTE().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| reset_map_players | |||
| ) |
Definition at line 193 of file sv_clanarena.qc.
References CS(), FOREACH_CLIENT, INGAME, INGAME_STATUS_JOINED, INGAME_STATUS_SET, IS_BOT_CLIENT, PutClientInServer(), and TRANSMUTE().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| reset_map_global | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| TeamBalance_CheckAllowedTeams | , | ||
| CBC_ORDER_EXCLUSIVE | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| PlayerDies | |||
| ) |
Definition at line 249 of file sv_clanarena.qc.
References allowed_to_spawn, ca_LastPlayerForTeam_Notify(), eliminatedPlayers, entity(), M_ARGV, RESPAWN_FORCE, RESPAWN_SILENT, time, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| ClientDisconnect | |||
| ) |
Definition at line 267 of file sv_clanarena.qc.
References ca_LastPlayerForTeam_Notify(), entity(), IS_DEAD, IS_PLAYER, and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| MakePlayerObserver | |||
| ) |
Definition at line 276 of file sv_clanarena.qc.
References ca_LastPlayerForTeam_Notify(), eliminatedPlayers, entity(), FRAGS_PLAYER_OUT_OF_GAME, INGAME, INGAME_STATUS_CLEAR, IS_DEAD, IS_PLAYER, M_ARGV, and warmup_stage.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| ForbidThrowCurrentWeapon | |||
| ) |
Definition at line 300 of file sv_clanarena.qc.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| GiveFragsForKill | , | ||
| CBC_ORDER_FIRST | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SetStartItems | |||
| ) |
Definition at line 311 of file sv_clanarena.qc.
References autocvar_g_ca_start_ammo_cells, autocvar_g_ca_start_ammo_fuel, autocvar_g_ca_start_ammo_nails, autocvar_g_ca_start_ammo_plasma, autocvar_g_ca_start_ammo_rockets, autocvar_g_ca_start_ammo_shells, autocvar_g_ca_start_armor, autocvar_g_ca_start_health, cvar(), start_ammo_cells, start_ammo_fuel, start_ammo_nails, start_ammo_plasma, start_ammo_rockets, start_ammo_shells, start_armorvalue, start_health, start_items, warmup_start_ammo_cells, warmup_start_ammo_fuel, warmup_start_ammo_nails, warmup_start_ammo_plasma, warmup_start_ammo_rockets, warmup_start_ammo_shells, warmup_start_armorvalue, and warmup_start_health.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| Damage_Calculate | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| FilterItem | |||
| ) |
Definition at line 346 of file sv_clanarena.qc.
References autocvar_g_pickup_items, autocvar_g_powerups, entity(), and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| PlayerDamage_SplitHealthArmor | |||
| ) |
Definition at line 358 of file sv_clanarena.qc.
References autocvar_g_ca_damage2score, bound(), ca_damage_counter, DIFF_TEAM, entity(), GameRules_scoring_add_float2int, GetResource(), IS_PLAYER, M_ARGV, max(), NULL, RES_HEALTH, round_handler_IsActive, round_handler_IsRoundStarted, and time.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| CalculateRespawnTime | |||
| ) |
Definition at line 410 of file sv_clanarena.qc.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| PlayerRegen | |||
| ) |
Definition at line 416 of file sv_clanarena.qc.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| Scores_CountFragsRemaining | |||
| ) |
Definition at line 422 of file sv_clanarena.qc.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SpectateSet | |||
| ) |
Definition at line 428 of file sv_clanarena.qc.
References autocvar_g_ca_spectate_enemies, DIFF_TEAM, entity(), INGAME, and M_ARGV.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SpectateNext | |||
| ) |
Definition at line 438 of file sv_clanarena.qc.
References autocvar_g_ca_spectate_enemies, CA_SpectateNext(), entity(), Entity_GetTeam(), INGAME, M_ARGV, and Team_GetNumberOfAlivePlayers().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SpectatePrev | |||
| ) |
Definition at line 451 of file sv_clanarena.qc.
References autocvar_g_ca_spectate_enemies, DIFF_TEAM, entity(), Entity_GetTeam(), INGAME, M_ARGV, MUT_SPECPREV_CONTINUE, MUT_SPECPREV_FOUND, MUT_SPECPREV_RETURN, and Team_GetNumberOfAlivePlayers().
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| Bot_FixCount | , | ||
| CBC_ORDER_EXCLUSIVE | |||
| ) |
Definition at line 479 of file sv_clanarena.qc.
References FOREACH_CLIENT, INGAME_JOINED, IS_PLAYER, IS_REAL_CLIENT, and M_ARGV.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| ClientCommand_Spectate | |||
| ) |
Definition at line 489 of file sv_clanarena.qc.
References autocvar_sv_spectate, entity(), INGAME, IS_OBSERVER, IS_SPEC, M_ARGV, MUT_SPECCMD_CONTINUE, and MUT_SPECCMD_FORCE.
Here is the call graph for this function:| MUTATOR_HOOKFUNCTION | ( | ca | , |
| HideTeamNagger | |||
| ) |
Definition at line 504 of file sv_clanarena.qc.
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SetWeaponArena | |||
| ) |
| MUTATOR_HOOKFUNCTION | ( | ca | , |
| SV_ParseServerCommand | |||
| ) |
Definition at line 515 of file sv_clanarena.qc.
References allowed_to_spawn, cmd_name, M_ARGV, and shuffleteams_on_reset_map.
Referenced by CA_CheckWinner(), and CA_count_alive_players().
Here is the caller graph for this function:| float autocvar_g_ca_damage2score = 100 |
Definition at line 3 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_ca_spectate_enemies |
Definition at line 4 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_cells = 180 |
Definition at line 11 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_fuel = 0 |
Definition at line 13 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_nails = 320 |
Definition at line 9 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_plasma = 180 |
Definition at line 12 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_rockets = 160 |
Definition at line 10 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_ammo_shells = 60 |
Definition at line 8 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_armor = 200 |
Definition at line 7 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_ca_start_health = 200 |
Definition at line 6 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().
| float ca_damage_counter |
Definition at line 15 of file sv_clanarena.qc.
Referenced by MUTATOR_HOOKFUNCTION().