]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hud/hud.qh
Registry API: add REGISTRY_GET
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hud / hud.qh
index c0a322244d3431946ba3db32e9007d3c69075c75..38ca8a0187c9845f43bbfcc40c37ee66b7c30961 100644 (file)
@@ -11,9 +11,10 @@ bool HUD_WouldShowCursor();
 bool QuickMenu_IsOpened();
 
 REGISTRY(hud_panels, BITS(6))
-#define hud_panels_from(i) _hud_panels_from(i, NULL)
 REGISTER_REGISTRY(hud_panels)
 
+REGISTRY_DEFINE_GET(hud_panels, NULL)
+
 #define _REGISTER_HUD_PANEL(id, draw_func, export_func, configflags, showflags) \
        void draw_func(); \
        void export_func(int fh); \