Xonotic
sv_cts.qh File Reference
+ Include dependency graph for sv_cts.qh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void cts_Initialize ()
 
 REGISTER_MUTATOR (cts, false)
 

Variables

const float ST_CTS_LAPS = 1
 

Function Documentation

◆ cts_Initialize()

void cts_Initialize ( )

Definition at line 373 of file sv_cts.qc.

References CTS_RECORD, cts_ScoreRules(), and record_type.

Referenced by REGISTER_MUTATOR().

374 {
376  cts_ScoreRules();
377 }
#define CTS_RECORD
Definition: util.qh:59
string record_type
Definition: world.qh:49
void cts_ScoreRules()
Definition: sv_cts.qc:54
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ REGISTER_MUTATOR()

REGISTER_MUTATOR ( cts  ,
false   
)

Definition at line 8 of file sv_cts.qh.

References cts_Initialize(), g_race_qualifying, GameRules_limit_lead(), GameRules_limit_score(), independent_players, MUTATOR_ONADD, and MUTATOR_STATIC.

9 {
12  {
13  g_race_qualifying = true;
17 
19  }
20  return 0;
21 }
#define MUTATOR_STATIC()
Definition: base.qh:288
void GameRules_limit_score(int limit)
Definition: sv_rules.qc:34
bool g_race_qualifying
Definition: race.qh:12
bool independent_players
Definition: client.qh:312
void GameRules_limit_lead(int limit)
Definition: sv_rules.qc:44
void cts_Initialize()
Definition: sv_cts.qc:373
#define MUTATOR_ONADD
Definition: base.qh:284
+ Here is the call graph for this function:

Variable Documentation

◆ ST_CTS_LAPS

const float ST_CTS_LAPS = 1

Definition at line 24 of file sv_cts.qh.