Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_survival.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/base.qh
>
4
#include <
common/scores.qh
>
5
void
surv_Initialize
();
6
7
REGISTER_MUTATOR
(surv,
false
)
8
{
9
MUTATOR_STATIC
();
10
MUTATOR_ONADD
11
{
12
surv_Initialize
();
13
}
14
return
false
;
15
}
16
17
.int
survival_validkills
;
// store the player's valid kills to be given at the end of the match (avoid exposing their score until then)
base.qh
MUTATOR_ONADD
#define MUTATOR_ONADD
Definition
base.qh:309
REGISTER_MUTATOR
#define REGISTER_MUTATOR(...)
Definition
base.qh:295
MUTATOR_STATIC
#define MUTATOR_STATIC()
Definition
base.qh:313
scores.qh
survival_validkills
int survival_validkills
Definition
sv_survival.qh:17
surv_Initialize
void surv_Initialize()
Definition
sv_survival.qc:239
common
gametypes
gametype
survival
sv_survival.qh
Generated on
for Xonotic QuakeC by
1.14.0