X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fdialog_hudpanel_score.qc;h=f04ca30da9397f358055366fa8bb726398847078;hb=3018b03b7ad0decee85f2a659783d0b5309fe5a3;hp=edd4da66e0cb9654b326ec9e185fbee29206d4c8;hpb=bb80a6aba067167c6ef8d5f3465f03bd34142fa2;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 edd4da66e..f04ca30da 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_score.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_score.qc @@ -1,17 +1,9 @@ -#ifdef INTERFACE -CLASS(XonoticHUDScoreDialog) EXTENDS(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) -ENDCLASS(XonoticHUDScoreDialog) -#endif +#include "dialog_hudpanel_score.qh" + +#include "checkbox.qh" +#include "textlabel.qh" +#include "radiobutton.qh" -#ifdef IMPLEMENTATION void XonoticHUDScoreDialog_fill(entity me) { entity e; @@ -28,4 +20,3 @@ void XonoticHUDScoreDialog_fill(entity me) me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "1", _("And me"))); me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "2", _("Pure"))); } -#endif