From: TimePath Date: Wed, 14 Oct 2015 11:18:36 +0000 (+1100) Subject: Mutators: remove MUTATOR_(DECLARATION|DEFINITION) X-Git-Tag: xonotic-v0.8.2~1801^2~38 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=722eadaf14983e364e0bff9bdbc2fd74164c1d5a Mutators: remove MUTATOR_(DECLARATION|DEFINITION) --- diff --git a/qcsrc/common/mutators/base.qh b/qcsrc/common/mutators/base.qh index 58213aabd..0ab6fcbba 100644 --- a/qcsrc/common/mutators/base.qh +++ b/qcsrc/common/mutators/base.qh @@ -203,13 +203,6 @@ void Mutator_Remove(Mutator mut) } } -#define MUTATOR_DECLARATION(name) \ - Mutator MUTATOR_##name -#define MUTATOR_DEFINITION(name) \ - bool MUTATORFUNCTION_##name(int mode); \ - [[accumulate]] void RegisterMutators() { MUTATOR_##name = NEW(Mutator, #name, MUTATORFUNCTION_##name); } \ - [[last]] bool MUTATORFUNCTION_##name(int mode) - const int MUTATORS_MAX = MAX_MUTATORS; noref entity MUTATORS[MUTATORS_MAX], MUTATORS_first, MUTATORS_last; noref int MUTATORS_COUNT;