#define GameRules_scoring(teams, spprio, stprio, fields)
void TeamBalance_Destroy(entity balance)
Destroy the team balance entity.
void ScoreRules_basics(int teams, float sprio, float stprio, float score_enabled)
const int SFL_SORT_PRIO_PRIMARY
void ScoreRules_basics_end()
void ScoreInfo_SetLabel_PlayerScore(PlayerScoreField i, string label, float scoreflags)
Set the label of a player score item, as well as the scoring flags.
#define INDEPENDENT_PLAYERS
const int SFL_LOWER_IS_BETTER
Lower scores are better (e.g.
void ScoreInfo_Init(int teams)
#define BIT(n)
Only ever assign into the first 24 bits in QC (so max is BIT(23)).
void ScoreRules_generic()
int TeamBalance_GetAllowedTeams(entity balance)
Returns the bitmask of allowed teams.
bool IsTeamAvailable(int team_num)
void ScoreInfo_SetLabel_TeamScore(float i, string label, float scoreflags)
Set the label of a team score item, as well as the scoring flags.
entity TeamBalance_CheckAllowedTeams(entity for_whom)
Checks whether the player can join teams according to global configuration and mutator settings...
#define FOREACH(list, cond, body)
int Team_TeamToBit(int team_num)
Converts team value into bit value that is used in team bitmasks.