Xonotic
|
#include "scores_rules.qh"
#include <common/gamemodes/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 | |
int | AvailableTeams () |
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 | |
int | ScoreRules_teams |
int AvailableTeams | ( | ) |
Definition at line 22 of file scores_rules.qc.
References NumTeams(), and ScoreRules_teams.
Referenced by bot_fixcount(), bot_setnameandstuff(), ClientConnect(), MapHasRightSize(), and TeamBalance_CheckAllowedTeams().
Definition at line 12 of file scores_rules.qc.
References boolean, ScoreRules_teams, and Team_TeamToBit().
Referenced by GameCommand_moveplayer().
Definition at line 17 of file scores_rules.qc.
Referenced by AvailableTeams(), CA_CheckTeams(), ctf_DelayedInit(), freezetag_CheckTeams(), GoalTouch(), kh_GetMissingTeams(), kh_Key_AllOwnedByWhichTeam(), kh_LoserTeam(), kh_StartRound(), and kh_WinnerTeam().
Definition at line 29 of file scores_rules.qc.
References FOREACH, INDEPENDENT_PLAYERS, MAX_TEAMSCORE, ScoreInfo_SetLabel_PlayerScore(), ScoreInfo_SetLabel_TeamScore(), ScoreRules_teams, SFL_LOWER_IS_BETTER, ST_SCORE, and teams.
Referenced by _GameRules_scoring_begin().
void ScoreRules_basics_end | ( | ) |
Definition at line 64 of file scores_rules.qc.
References ScoreInfo_Init(), and ScoreRules_teams.
Referenced by _GameRules_scoring_end().
void ScoreRules_generic | ( | ) |
Definition at line 69 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().
int ScoreRules_teams |
Definition at line 10 of file scores_rules.qc.
Referenced by AvailableTeams(), IsTeamAvailable(), ScoreRules_basics(), and ScoreRules_basics_end().