X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fmutators%2Fevents.qh;h=1df38f5af09c571df07e280b3c9691ec192f837b;hb=cd60b2d7d720d0ccc580eecd3abf2a4768092aba;hp=a3dc720e8f0bc5f4ac8c05865a734ec0b66e32d0;hpb=c741e6b3f012aa525f23e1df30d1d933b383fbc5;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/mutators/events.qh b/qcsrc/menu/mutators/events.qh index a3dc720e8..1df38f5af 100644 --- a/qcsrc/menu/mutators/events.qh +++ b/qcsrc/menu/mutators/events.qh @@ -1,7 +1,6 @@ -#ifndef MENU_MUTATORS_EVENTS_H -#define MENU_MUTATORS_EVENTS_H +#pragma once -#include "../../common/mutators/base.qh" +#include // globals @@ -34,4 +33,8 @@ string cmd_string; /** whole command, use only if you really have to */ i(string, cmd_string) \ /**/ MUTATOR_HOOKABLE(Menu_ConsoleCommand, EV_Menu_ConsoleCommand); -#endif + +#define EV_ConfigureDialogs(i, o) \ + /** main window entity */ i(entity, MUTATOR_ARGV_0_entity) \ + /**/ +MUTATOR_HOOKABLE(ConfigureDialogs, EV_ConfigureDialogs);