X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fmutators%2Fevents.qh;h=1df38f5af09c571df07e280b3c9691ec192f837b;hb=cd60b2d7d720d0ccc580eecd3abf2a4768092aba;hp=2b881992ee6a5177b9585ea12ffdacdec01d1c00;hpb=10c0be8573ea4ab40c24c4a4267f445e00b63857;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/mutators/events.qh b/qcsrc/menu/mutators/events.qh index 2b881992ee..1df38f5af0 100644 --- a/qcsrc/menu/mutators/events.qh +++ b/qcsrc/menu/mutators/events.qh @@ -1,5 +1,4 @@ -#ifndef MENU_MUTATORS_EVENTS_H -#define MENU_MUTATORS_EVENTS_H +#pragma once #include @@ -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);