]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_hudpanel_notification.qc
Merge branch 'master' into terencehill/menu_listbox_changes
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_notification.qc
index 1239bd316250fc3b340b20c81cca918999512563..d0586710cf63ad55fc88e3a32184d418e81d18c8 100644 (file)
@@ -1,5 +1,7 @@
-#ifdef INTERFACE
-CLASS(XonoticHUDNotificationDialog) EXTENDS(XonoticRootDialog)
+#ifndef DIALOG_HUDPANEL_NOTIFICATION_H
+#define DIALOG_HUDPANEL_NOTIFICATION_H
+#include "rootdialog.qc"
+CLASS(XonoticHUDNotificationDialog, XonoticRootDialog)
        METHOD(XonoticHUDNotificationDialog, fill, void(entity))
        ATTRIB(XonoticHUDNotificationDialog, title, string, _("Notification Panel"))
        ATTRIB(XonoticHUDNotificationDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
@@ -7,7 +9,7 @@ CLASS(XonoticHUDNotificationDialog) EXTENDS(XonoticRootDialog)
        ATTRIB(XonoticHUDNotificationDialog, rows, float, 15)
        ATTRIB(XonoticHUDNotificationDialog, columns, float, 4)
        ATTRIB(XonoticHUDNotificationDialog, name, string, "HUDnotify")
-       ATTRIB(XonoticHUDNotificationDialog, requiresConnection, float, TRUE)
+       ATTRIB(XonoticHUDNotificationDialog, requiresConnection, float, true)
 ENDCLASS(XonoticHUDNotificationDialog)
 #endif