]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_hudpanel_centerprint.qc
Macros: optimize
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_centerprint.qc
index bb7312f13e213002ecd65a4f2c07d2818c75e299..c888fa733627436b254f9f03f297f77069a43987 100644 (file)
@@ -1,6 +1,8 @@
-#ifdef INTERFACE
-CLASS(XonoticHUDCenterprintDialog) EXTENDS(XonoticRootDialog)
-       METHOD(XonoticHUDCenterprintDialog, fill, void(entity))
+#ifndef DIALOG_HUDPANEL_CENTERPRINT_H
+#define DIALOG_HUDPANEL_CENTERPRINT_H
+#include "rootdialog.qc"
+CLASS(XonoticHUDCenterprintDialog, XonoticRootDialog)
+       METHOD(XonoticHUDCenterprintDialog, fill, void(entity));
        ATTRIB(XonoticHUDCenterprintDialog, title, string, _("Centerprint Panel"))
        ATTRIB(XonoticHUDCenterprintDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
        ATTRIB(XonoticHUDCenterprintDialog, intendedWidth, float, 0.4)