Xonotic
|
#include "sv_tdm.qh"
Go to the source code of this file.
Functions | |
MUTATOR_HOOKFUNCTION (tdm, TeamBalance_CheckAllowedTeams, CBC_ORDER_EXCLUSIVE) | |
MUTATOR_HOOKFUNCTION (tdm, Scores_CountFragsRemaining) | |
spawnfunc (tdm_team) | |
void | tdm_DelayedInit (entity this) |
void | tdm_Initialize () |
void | tdm_SpawnTeam (string teamname, int teamcolor) |
Variables | |
int | autocvar_g_tdm_teams |
int | autocvar_g_tdm_teams_override |
MUTATOR_HOOKFUNCTION | ( | tdm | , |
TeamBalance_CheckAllowedTeams | , | ||
CBC_ORDER_EXCLUSIVE | |||
) |
MUTATOR_HOOKFUNCTION | ( | tdm | , |
Scores_CountFragsRemaining | |||
) |
spawnfunc | ( | tdm_team | ) |
Definition at line 31 of file sv_tdm.qc.
References autocvar_g_tdm_teams, autocvar_g_tdm_teams_override, BIT, BITS, bound(), classname, find(), LOG_TRACE, NULL, NUM_TEAM_1, NUM_TEAM_2, NUM_TEAM_3, NUM_TEAM_4, tdm_SpawnTeam(), and teams.
Referenced by tdm_Initialize().
void tdm_Initialize | ( | ) |
Definition at line 53 of file sv_tdm.qc.
References autocvar_g_tdm_point_leadlimit, autocvar_g_tdm_point_limit, autocvar_g_tdm_team_spawns, GameRules_limit_lead(), GameRules_limit_score(), GameRules_spawning_teams(), GameRules_teams(), InitializeEntity(), NULL, and tdm_DelayedInit().
Referenced by REGISTER_MUTATOR().
int autocvar_g_tdm_teams |
Definition at line 4 of file sv_tdm.qc.
Referenced by tdm_DelayedInit().
int autocvar_g_tdm_teams_override |
Definition at line 5 of file sv_tdm.qc.
Referenced by tdm_DelayedInit().