]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/dialog_hudpanel_chat.qc
Merge branch 'master' into mirio/balance
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / dialog_hudpanel_chat.qc
index eb6ced2c49aff44e5f786b23214a4e6775e441f6..4c18f206653265318b5fa2d37a20f2be29650f7c 100644 (file)
@@ -1,13 +1,15 @@
-#ifdef INTERFACE
-CLASS(XonoticHUDChatDialog) EXTENDS(XonoticRootDialog)
-       METHOD(XonoticHUDChatDialog, fill, void(entity))
+#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)
        ATTRIB(XonoticHUDChatDialog, intendedWidth, float, 0.4)
        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