Xonotic
|
#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.
void XonoticPlayerList_drawListBoxItem | ( | entity | me, |
int | i, | ||
vector | absSize, | ||
bool | isSelected, | ||
bool | isFocused | ||
) |
Definition at line 78 of file playerlist.qc.
References colormapPaletteColor, PLAYERPARM_NAME, PLAYERPARM_SCORE, PLAYERPARM_TEAM, stof(), strlen(), substring(), and vector().
void XonoticPlayerList_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
Definition at line 19 of file playerlist.qc.
References argv(), buf_create, 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_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.