|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "scores_rules.qh"#include <common/gametypes/rules.qh>#include <common/stats.qh>#include <common/weapons/_all.qh>#include <server/client.qh>#include <server/scores.qh>#include <server/teamplay.qh>Go to the source code of this file.
Functions | |
| bool | IsTeamAvailable (int team_num) |
| int | NumTeams (int teams) |
| void | ScoreRules_basics (int teams, float sprio, float stprio, float score_enabled) |
| void | ScoreRules_basics_end () |
| void | ScoreRules_generic () |
Variables | |
| bool | autocvar_sv_showskill |
| int | ScoreRules_teams |
Definition at line 13 of file scores_rules.qc.
References boolean, ScoreRules_teams, and Team_TeamToBit().
Referenced by GameCommand_moveplayer().
Definition at line 18 of file scores_rules.qc.
References BIT, boolean, and teams.
Referenced by CA_CheckTeams(), ctf_DelayedInit(), freezetag_CheckTeams(), GoalTouch(), kh_GetMissingTeams(), kh_Key_AllOwnedByWhichTeam(), kh_LoserTeam(), kh_StartRound(), kh_WinnerTeam(), and ScoreRules_basics().
Definition at line 25 of file scores_rules.qc.
References autocvar_sv_showskill, AVAILABLE_TEAMS, FOREACH, INDEPENDENT_PLAYERS, MAX_TEAMSCORE, NumTeams(), ScoreInfo_SetLabel_PlayerScore(), ScoreInfo_SetLabel_TeamScore(), ScoreRules_teams, SFL_LOWER_IS_BETTER, SFL_NOT_SORTABLE, ST_SCORE, STAT, teamplay, and teams.
| void ScoreRules_basics_end | ( | ) |
Definition at line 67 of file scores_rules.qc.
References ScoreInfo_Init(), and ScoreRules_teams.
| void ScoreRules_generic | ( | ) |
Definition at line 72 of file scores_rules.qc.
References entity(), GameRules_scoring, NULL, SFL_SORT_PRIO_PRIMARY, TeamBalance_CheckAllowedTeams(), TeamBalance_Destroy(), TeamBalance_GetAllowedTeams(), teamplay, and teams.
Referenced by GameplayMode_DelayedInit().
| bool autocvar_sv_showskill |
Definition at line 11 of file scores_rules.qc.
Referenced by ScoreRules_basics().
| int ScoreRules_teams |
Definition at line 10 of file scores_rules.qc.
Referenced by IsTeamAvailable(), ScoreRules_basics(), and ScoreRules_basics_end().