Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_melee_only.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/mutator/overkill/sv_overkill.qh
>
4
5
string
autocvar_g_melee_only
;
6
REGISTER_MUTATOR
(melee_only,
expr_evaluate
(
autocvar_g_melee_only
) && !
MUTATOR_IS_ENABLED
(mutator_instagib) && !
MUTATOR_IS_ENABLED
(ok) && !
MapInfo_LoadedGametype
.m_weaponarena);
MUTATOR_IS_ENABLED
#define MUTATOR_IS_ENABLED(this)
Definition
base.qh:237
REGISTER_MUTATOR
#define REGISTER_MUTATOR(...)
Definition
base.qh:349
expr_evaluate
ERASEABLE bool expr_evaluate(string s)
Evaluate an expression of the form: [+ | -]?
Definition
cvar.qh:48
MapInfo_LoadedGametype
Gametype MapInfo_LoadedGametype
Definition
mapinfo.qh:220
autocvar_g_melee_only
string autocvar_g_melee_only
Definition
sv_melee_only.qh:5
sv_overkill.qh
common
mutators
mutator
melee_only
sv_melee_only.qh
Generated on
for Xonotic QuakeC by
1.16.1