]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_hudpanel_chat.qc
Merge remote-tracking branch 'remotes/origin/master' into TimePath/itemsys
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_chat.qc
index eb6ced2c49aff44e5f786b23214a4e6775e441f6..c56c312efc0461b39e2365f481d82f5106af340f 100644 (file)
@@ -1,5 +1,7 @@
-#ifdef INTERFACE
-CLASS(XonoticHUDChatDialog) EXTENDS(XonoticRootDialog)
+#ifndef DIALOG_HUDPANEL_CHAT_H
+#define DIALOG_HUDPANEL_CHAT_H
+#include "rootdialog.qc"
+CLASS(XonoticHUDChatDialog, XonoticRootDialog)
        METHOD(XonoticHUDChatDialog, fill, void(entity))
        ATTRIB(XonoticHUDChatDialog, title, string, _("Chat Panel"))
        ATTRIB(XonoticHUDChatDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
@@ -7,7 +9,7 @@ CLASS(XonoticHUDChatDialog) EXTENDS(XonoticRootDialog)
        ATTRIB(XonoticHUDChatDialog, rows, float, 15)
        ATTRIB(XonoticHUDChatDialog, columns, float, 4)
        ATTRIB(XonoticHUDChatDialog, name, string, "HUDchat")
-       ATTRIB(XonoticHUDChatDialog, requiresConnection, float, TRUE)
+       ATTRIB(XonoticHUDChatDialog, requiresConnection, float, true)
 ENDCLASS(XonoticHUDChatDialog)
 #endif