Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_tmayhem.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/base.qh
>
4
5
// autocvars defined here so they can be imported in FFA sv_mayhem.qc
6
float
autocvar_g_tmayhem_scoring_upscaler
;
7
float
autocvar_g_tmayhem_scoring_kill_weight
;
8
float
autocvar_g_tmayhem_scoring_damage_weight
;
9
bool
autocvar_g_tmayhem_scoring_disable_selfdamage2score
;
10
11
void
tmayhem_Initialize
();
12
13
REGISTER_MUTATOR
(
tmayhem
,
false
)
14
{
15
MUTATOR_STATIC
();
16
MUTATOR_ONADD
17
{
18
tmayhem_Initialize
();
19
}
20
return
0;
21
}
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
tmayhem
Definition
tmayhem.qh:7
autocvar_g_tmayhem_scoring_damage_weight
float autocvar_g_tmayhem_scoring_damage_weight
Definition
sv_tmayhem.qh:8
autocvar_g_tmayhem_scoring_upscaler
float autocvar_g_tmayhem_scoring_upscaler
Definition
sv_tmayhem.qh:6
tmayhem_Initialize
void tmayhem_Initialize()
Definition
sv_tmayhem.qc:63
autocvar_g_tmayhem_scoring_kill_weight
float autocvar_g_tmayhem_scoring_kill_weight
Definition
sv_tmayhem.qh:7
autocvar_g_tmayhem_scoring_disable_selfdamage2score
bool autocvar_g_tmayhem_scoring_disable_selfdamage2score
Definition
sv_tmayhem.qh:9
common
gametypes
gametype
tmayhem
sv_tmayhem.qh
Generated on
for Xonotic QuakeC by
1.14.0