X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_notification.qc;h=93d58d0bbc9179147e70728c52609c0f1ff110c1;hb=1217fce596f1b9769ffb6f479e3abbd4f77af5ef;hp=1239bd316250fc3b340b20c81cca918999512563;hpb=d99a102842ced06e6e1a0c9358c07c3b64523968;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc index 1239bd316..93d58d0bb 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_notification.qc @@ -1,13 +1,15 @@ -#ifdef INTERFACE -CLASS(XonoticHUDNotificationDialog) EXTENDS(XonoticRootDialog) - METHOD(XonoticHUDNotificationDialog, fill, void(entity)) +#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) ATTRIB(XonoticHUDNotificationDialog, intendedWidth, float, 0.4) 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