|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "playerlist.qh"Go to the source code of this file.
Functions | |
| entity | makeXonoticPlayerList () |
| void | XonoticPlayerList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
| string | XonoticPlayerList_getPlayerList (entity me, float i, float key) |
| void | XonoticPlayerList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
| void | XonoticPlayerList_setPlayerList (entity me, string plist) |
Variables | |
| const int | PLAYERPARM_COUNT = 4 |
| const int | PLAYERPARM_NAME = 3 |
| const int | PLAYERPARM_PING = 1 |
| const int | PLAYERPARM_SCORE = 0 |
| const int | PLAYERPARM_TEAM = 2 |
| float | realUpperMargin2 |
| entity makeXonoticPlayerList | ( | ) |
Definition at line 11 of file playerlist.qc.
Referenced by XonoticServerInfoTab_fill().
| void XonoticPlayerList_drawListBoxItem | ( | entity | me, |
| int | i, | ||
| vector | absSize, | ||
| bool | isSelected, | ||
| bool | isFocused ) |
Definition at line 75 of file playerlist.qc.
References colormapPaletteColor, cons(), draw_Text(), draw_TextShortenToWidth(), draw_TextWidth(), entity(), eX, eY, FRAGS_SPECTATOR, name, ping, PLAYERPARM_NAME, PLAYERPARM_PING, PLAYERPARM_SCORE, PLAYERPARM_TEAM, stof(), strlen, strstrofs, substring(), and vector.
| void XonoticPlayerList_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize ) |
Definition at line 56 of file playerlist.qc.
Definition at line 19 of file playerlist.qc.
References argv(), buf_create, entity(), name, PLAYERPARM_COUNT, PLAYERPARM_NAME, PLAYERPARM_PING, PLAYERPARM_SCORE, PLAYERPARM_TEAM, tokenize_console, and tokenizebyseparator.
| const int PLAYERPARM_COUNT = 4 |
Definition at line 9 of file playerlist.qc.
Referenced by XonoticPlayerList_getPlayerList(), and XonoticPlayerList_setPlayerList().
| const int PLAYERPARM_NAME = 3 |
Definition at line 8 of file playerlist.qc.
Referenced by XonoticPlayerList_drawListBoxItem(), and XonoticPlayerList_setPlayerList().
| const int PLAYERPARM_PING = 1 |
Definition at line 6 of file playerlist.qc.
Referenced by XonoticPlayerList_drawListBoxItem(), and XonoticPlayerList_setPlayerList().
| const int PLAYERPARM_SCORE = 0 |
Definition at line 5 of file playerlist.qc.
Referenced by XonoticPlayerList_drawListBoxItem(), and XonoticPlayerList_setPlayerList().
| const int PLAYERPARM_TEAM = 2 |
Definition at line 7 of file playerlist.qc.
Referenced by XonoticPlayerList_drawListBoxItem(), and XonoticPlayerList_setPlayerList().
| float realUpperMargin2 |
Definition at line 3 of file playerlist.qc.