Xonotic
sv_cts.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/base.qh
>
4
#include <
server/race.qh
>
5
6
void
cts_Initialize
();
7
8
REGISTER_MUTATOR
(cts,
false
)
9
{
10
MUTATOR_STATIC
();
11
MUTATOR_ONADD
12
{
13
g_race_qualifying
=
true
;
14
independent_players
= 1;
15
GameRules_limit_score
(0);
16
GameRules_limit_lead
(0);
17
18
cts_Initialize
();
19
}
20
return
0;
21
}
22
23
// scores
24
const
float
ST_CTS_LAPS
= 1;
MUTATOR_STATIC
#define MUTATOR_STATIC()
Definition:
base.qh:288
race.qh
GameRules_limit_score
void GameRules_limit_score(int limit)
Definition:
sv_rules.qc:34
g_race_qualifying
bool g_race_qualifying
Definition:
race.qh:12
base.qh
independent_players
bool independent_players
Definition:
client.qh:312
GameRules_limit_lead
void GameRules_limit_lead(int limit)
Definition:
sv_rules.qc:44
ST_CTS_LAPS
const float ST_CTS_LAPS
Definition:
sv_cts.qh:24
cts_Initialize
void cts_Initialize()
Definition:
sv_cts.qc:373
MUTATOR_ONADD
#define MUTATOR_ONADD
Definition:
base.qh:284
REGISTER_MUTATOR
REGISTER_MUTATOR(cts, false)
Definition:
sv_cts.qh:8
common
gamemodes
gamemode
cts
sv_cts.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13