]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/menu/xonotic/playerlist.qh
Merge branch '2259-ca-uses-lms-start-values' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / playerlist.qh
1 #pragma once
2
3 #include "listbox.qh"
4 CLASS(XonoticPlayerList, XonoticListBox)
5         ATTRIB(XonoticPlayerList, rowsPerItem, float, 1);
6         METHOD(XonoticPlayerList, resizeNotify, void(entity, vector, vector, vector, vector));
7         METHOD(XonoticPlayerList, drawListBoxItem, void(entity, int, vector, bool, bool));
8         ATTRIB(XonoticPlayerList, allowFocusSound, float, 0);
9         ATTRIB(XonoticPlayerList, realFontSize, vector, '0 0 0');
10         ATTRIB(XonoticPlayerList, columnNameOrigin, float, 0);
11         ATTRIB(XonoticPlayerList, columnNameSize, float, 0);
12         ATTRIB(XonoticPlayerList, columnScoreOrigin, float, 0);
13         ATTRIB(XonoticPlayerList, columnScoreSize, float, 0);
14         ATTRIB(XonoticPlayerList, realUpperMargin, float, 0);
15         ATTRIB(XonoticPlayerList, origin, vector, '0 0 0');
16         ATTRIB(XonoticPlayerList, itemAbsSize, vector, '0 0 0');
17         METHOD(XonoticPlayerList, setPlayerList, void(entity, string));
18         METHOD(XonoticPlayerList, getPlayerList, string(entity, float, float));
19         ATTRIB(XonoticPlayerList, playerList, float, -1);
20         ATTRIB(XonoticPlayerList, selectionDoesntMatter, bool, true);
21 ENDCLASS(XonoticPlayerList)
22 entity makeXonoticPlayerList();