]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Mutators: remove MUTATOR_(DECLARATION|DEFINITION)
authorTimePath <andrew.hardaker1995@gmail.com>
Wed, 14 Oct 2015 11:18:36 +0000 (22:18 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Wed, 14 Oct 2015 11:23:15 +0000 (22:23 +1100)
qcsrc/common/mutators/base.qh

index 58213aabdca0e926ad060abf54f3ac419841aca6..0ab6fcbbafc278b1cb639aa7f86e57532ff09eb7 100644 (file)
@@ -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;