]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_hudpanel_score.qc
Merge branch 'sev/buff_updates' into 'Mario/buff_updates'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_score.qc
index 676830f80c23df75107b1544bfafdd81b92a6882..690fc3b109adcf45cd09f6e82d90c31da001bff5 100644 (file)
@@ -1,5 +1,7 @@
-#ifdef INTERFACE
-CLASS(XonoticHUDScoreDialog) EXTENDS(XonoticRootDialog)
+#ifndef DIALOG_HUDPANEL_SCORE_H
+#define DIALOG_HUDPANEL_SCORE_H
+#include "rootdialog.qc"
+CLASS(XonoticHUDScoreDialog, XonoticRootDialog)
        METHOD(XonoticHUDScoreDialog, fill, void(entity))
        ATTRIB(XonoticHUDScoreDialog, title, string, _("Score Panel"))
        ATTRIB(XonoticHUDScoreDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
@@ -7,7 +9,7 @@ CLASS(XonoticHUDScoreDialog) EXTENDS(XonoticRootDialog)
        ATTRIB(XonoticHUDScoreDialog, rows, float, 15)
        ATTRIB(XonoticHUDScoreDialog, columns, float, 4)
        ATTRIB(XonoticHUDScoreDialog, name, string, "HUDscore")
-       ATTRIB(XonoticHUDScoreDialog, requiresConnection, float, TRUE)
+       ATTRIB(XonoticHUDScoreDialog, requiresConnection, float, true)
 ENDCLASS(XonoticHUDScoreDialog)
 #endif