]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/mutators/events.qh
Merge branch 'Mario/itemstime_editor_fix' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / mutators / events.qh
index a3dc720e8f0bc5f4ac8c05865a734ec0b66e32d0..1df38f5af09c571df07e280b3c9691ec192f837b 100644 (file)
@@ -1,7 +1,6 @@
-#ifndef MENU_MUTATORS_EVENTS_H
-#define MENU_MUTATORS_EVENTS_H
+#pragma once
 
-#include "../../common/mutators/base.qh"
+#include <common/mutators/base.qh>
 
 // 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);