Xonotic
|
Go to the source code of this file.
Definition at line 126 of file sv_rules.qc.
References PlayerScore_Add().
float _GameRules_scoring_add_float2int | ( | entity | client, |
entity | sp, | ||
float | value, | ||
.float | float_field, | ||
float | score_factor | ||
) |
Definition at line 111 of file sv_rules.qc.
References floor(), and PlayerScore_Add().
Definition at line 130 of file sv_rules.qc.
References PlayerTeamScore_Add().
Definition at line 80 of file sv_rules.qc.
References _GameRules_score_enabled, and ScoreRules_basics().
void _GameRules_scoring_end | ( | ) |
Definition at line 92 of file sv_rules.qc.
References ScoreRules_basics_end().
Definition at line 84 of file sv_rules.qc.
References ScoreInfo_SetLabel_PlayerScore().
Definition at line 88 of file sv_rules.qc.
References ScoreInfo_SetLabel_TeamScore().
void GameRules_limit_fallbacks | ( | ) |
Set any unspecified rules to their defaults.
Definition at line 73 of file sv_rules.qc.
References autocvar_leadlimit_override, GameRules_limit_lead(), GameRules_limit_score(), and GameRules_limit_time().
Referenced by spawnfunc().
Definition at line 44 of file sv_rules.qc.
References autocvar_g_campaign, cvar_set(), ftos(), and GameRules_limit_lead_initialized.
Referenced by GameRules_limit_fallbacks(), nb_Initialize(), rc_SetLimits(), REGISTER_MUTATOR(), and tdm_Initialize().
Definition at line 34 of file sv_rules.qc.
References autocvar_g_campaign, cvar_set(), ftos(), and GameRules_limit_score_initialized.
Referenced by GameRules_limit_fallbacks(), nb_Initialize(), rc_SetLimits(), REGISTER_MUTATOR(), and tdm_Initialize().
Definition at line 54 of file sv_rules.qc.
References autocvar_g_campaign, cvar_set(), ftos(), and GameRules_limit_time_initialized.
Referenced by GameRules_limit_fallbacks(), and rc_SetLimits().
Definition at line 64 of file sv_rules.qc.
References autocvar_g_campaign, cvar_set(), ftos(), and GameRules_limit_time_qualifying_initialized.
Referenced by rc_SetLimits().
Disabling score disables the "score" column on the scoreboard.
Definition at line 28 of file sv_rules.qc.
References _GameRules_score_enabled.
Referenced by cts_ScoreRules(), invasion_ScoreRules(), race_ScoreRules(), and REGISTER_MUTATOR().
Definition at line 102 of file sv_rules.qc.
Mark a player as being 'important' (flag carrier, ball carrier, etc)
player | the entity to mark |
value | VIP status |
Definition at line 98 of file sv_rules.qc.
Referenced by ctf_Handle_Pickup(), ctf_Handle_Retrieve(), ctf_Handle_Throw(), ctf_RespawnFlag(), DropBall(), GiveBall(), ka_PlayerReset(), and ka_TouchEvent().
Used to disable team spawns in team modes.
Definition at line 22 of file sv_rules.qc.
References have_team_spawns.
Referenced by GameRules_teams(), REGISTER_MUTATOR(), and tdm_Initialize().
Definition at line 6 of file sv_rules.qc.
References cvar_set(), GameRules_spawning_teams(), SERVERFLAG_TEAMPLAY, serverflags, Team_InitTeams(), and teamplay.
Referenced by InitGameplayMode(), nb_Initialize(), rc_SetLimits(), REGISTER_MUTATOR(), and tdm_Initialize().
Definition at line 27 of file sv_rules.qc.
Referenced by _GameRules_scoring_begin(), and GameRules_score_enabled().
bool GameRules_limit_lead_initialized |
Definition at line 43 of file sv_rules.qc.
Referenced by GameRules_limit_lead().
bool GameRules_limit_score_initialized |
Definition at line 33 of file sv_rules.qc.
Referenced by GameRules_limit_score().
bool GameRules_limit_time_initialized |
Definition at line 53 of file sv_rules.qc.
Referenced by GameRules_limit_time().
bool GameRules_limit_time_qualifying_initialized |
Definition at line 63 of file sv_rules.qc.
Referenced by GameRules_limit_time_qualifying().
bool m_GameRules_scoring_vip |
Definition at line 97 of file sv_rules.qc.