X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fevents.qh;h=bff80c7cec81470bd690e3285c383a6573832afd;hp=ff9a775cf9fd8e0f4faaeb2efaac33f877541a3a;hb=6ba37d06b4afe2b08882f5cc5b211441227586b2;hpb=ca72730bfd00d5f872bf27931adc42e3d67ff2bb diff --git a/qcsrc/server/mutators/events.qh b/qcsrc/server/mutators/events.qh index ff9a775cf..bff80c7ce 100644 --- a/qcsrc/server/mutators/events.qh +++ b/qcsrc/server/mutators/events.qh @@ -1,7 +1,7 @@ #ifndef SERVER_MUTATORS_EVENTS_H #define SERVER_MUTATORS_EVENTS_H -#include "../../common/mutators/base.qh" +#include // register all possible hooks here @@ -73,16 +73,6 @@ string weapon_sound; string weapon_sound_output; MUTATOR_HOOKABLE(WeaponSound, EV_WeaponSound); -/** called when a weapon model is about to be set, allows custom paths etc. */ -#define EV_WeaponModel(i, o) \ - /**/ i(string, weapon_model) \ - /**/ i(string, weapon_model_output) \ - /**/ o(string, weapon_model_output) \ - /**/ -string weapon_model; -string weapon_model_output; -MUTATOR_HOOKABLE(WeaponModel, EV_WeaponModel); - /** called when an item model is about to be set, allows custom paths etc. */ #define EV_ItemModel(i, o) \ /**/ i(string, item_model) \