2 CLASS(XonoticHUDScoreDialog) EXTENDS(XonoticRootDialog)
3 METHOD(XonoticHUDScoreDialog, fill, void(entity))
4 ATTRIB(XonoticHUDScoreDialog, title, string, _("Score Panel"))
5 ATTRIB(XonoticHUDScoreDialog, color, vector, SKINCOLOR_DIALOG_TEAMSELECT)
6 ATTRIB(XonoticHUDScoreDialog, intendedWidth, float, 0.4)
7 ATTRIB(XonoticHUDScoreDialog, rows, float, 15)
8 ATTRIB(XonoticHUDScoreDialog, columns, float, 4)
9 ATTRIB(XonoticHUDScoreDialog, name, string, "HUDscore")
10 ATTRIB(XonoticHUDScoreDialog, requiresConnection, float, true)
11 ENDCLASS(XonoticHUDScoreDialog)
15 void XonoticHUDScoreDialog_fill(entity me)
18 string panelname = "score";
20 DIALOG_HUDPANEL_COMMON();
23 me.TD(me, 1, 4, e = makeXonoticTextLabel(0, _("Score:")));
26 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, _("Rankings:")));
27 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "0", _("Off")));
28 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "1", _("And me")));
29 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "2", _("Pure")));