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 ENDCLASS(XonoticHUDScoreDialog)
14 void XonoticHUDScoreDialog_fill(entity me)
17 string panelname = "score";
19 DIALOG_HUDPANEL_COMMON();
22 me.TD(me, 1, 2, e = makeXonoticTextLabel(0, "Score:"));
25 me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, "Rankings:"));
26 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "0", "Off"));
27 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "1", "And me"));
28 me.TD(me, 1, 2.6/3, e = makeXonoticRadioButton(1, "hud_panel_score_rankings", "2", "Pure"));