15 me.configureXonoticListBox(me);
26 for(i = 0; i < me.nItems; ++i)
31 for(i = 0; i < me.nItems; ++i)
61 me.itemAbsSize =
'0 0 0';
64 me.itemAbsSize.y = absSize.y * me.itemHeight;
65 me.itemAbsSize.x = absSize.x * (1 - me.controlWidth);
66 me.realFontSize.y = me.fontSize / me.itemAbsSize.y;
67 me.realFontSize.x = me.fontSize / me.itemAbsSize.x;
68 me.realUpperMargin = 0.5 * (1 - me.realFontSize.y);
71 me.columnScoreSize = 5 * me.realFontSize.x;
72 me.columnNameSize = 1 - 3 * me.realFontSize.x - me.columnScoreSize;
74 me.columnNameOrigin = me.realFontSize.x;
75 me.columnScoreOrigin = me.columnNameOrigin + me.columnNameSize + me.realFontSize.x;
102 score = _(
"spectator");
112 score = _(
"spectator");
116 draw_Text(me.realUpperMargin2 *
eY + (me.columnNameOrigin + 0.00 * (me.columnNameSize -
draw_TextWidth(s, 1, me.realFontSize))) *
eX, s, me.realFontSize,
'1 1 1', 1, 1);
119 draw_Text(me.realUpperMargin2 *
eY + (me.columnScoreOrigin + 1.00 * (me.columnScoreSize -
draw_TextWidth(score, 1, me.realFontSize))) *
eX, score, me.realFontSize, rgb, 1, 0);
string XonoticPlayerList_getPlayerList(entity me, float i, float key)
entity makeXonoticPlayerList()
const int PLAYERPARM_PING
const int PLAYERPARM_NAME
void XonoticPlayerList_setPlayerList(entity me, string plist)
const int PLAYERPARM_COUNT
const int PLAYERPARM_SCORE
vector(float skel, float bonenum) _skel_get_boneabs_hidden
const int PLAYERPARM_TEAM
const int FRAGS_SPECTATOR
#define tokenizebyseparator
void XonoticPlayerList_resizeNotify(entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize)
void XonoticPlayerList_drawListBoxItem(entity me, int i, vector absSize, bool isSelected, bool isFocused)
#define colormapPaletteColor(c, isPants)