X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_score.qc;h=6cbbe46183a9fe91888fdebcaa59312bc7546399;hb=db7c0f258711d75763876f234a08ad8e5bb5a6c5;hp=676830f80c23df75107b1544bfafdd81b92a6882;hpb=d99a102842ced06e6e1a0c9358c07c3b64523968;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_score.qc b/qcsrc/menu/xonotic/dialog_hudpanel_score.qc index 676830f80..6cbbe4618 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_score.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_score.qc @@ -1,13 +1,15 @@ -#ifdef INTERFACE -CLASS(XonoticHUDScoreDialog) EXTENDS(XonoticRootDialog) - METHOD(XonoticHUDScoreDialog, fill, void(entity)) +#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) ATTRIB(XonoticHUDScoreDialog, intendedWidth, float, 0.4) 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