|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "leavematchbutton.qh"Go to the source code of this file.
Functions | |
| string | leaveMatchButton_getText (entity me) |
| string | leaveMatchButton_getTooltip (entity me) |
| entity | makeXonoticLeaveMatchButton (vector theColor, int theFlags) |
| void | XonoticLeaveMatchButton_configureXonoticLeaveMatchButton (entity me, vector theColor, int theFlags) |
| void | XonoticLeaveMatchButton_draw (entity me) |
Variables | |
| const string | LEAVEMATCH_CMD = "defer 0.4 disconnect; defer 0.4 wait; defer 0.4 \"g_campaign 0\"; defer 0.4 menu_sync" |
Definition at line 9 of file leavematchbutton.qc.
References cvar(), entity(), isdemo(), and isServerSingleplayer().
Referenced by XonoticLeaveMatchButton_draw().
Definition at line 23 of file leavematchbutton.qc.
References cvar(), entity(), isdemo(), and isServerSingleplayer().
Referenced by XonoticLeaveMatchButton_draw().
Definition at line 35 of file leavematchbutton.qc.
References entity(), NEW, and vector.
Referenced by XonoticLeaveMatchButton::configureXonoticLeaveMatchButton(), XonoticGameMenuDialog_fill(), XonoticServerCreateTab_fill(), XonoticServerListTab_fill(), and XonoticSingleplayerDialog_fill().
| void XonoticLeaveMatchButton_configureXonoticLeaveMatchButton | ( | entity | me, |
| vector | theColor, | ||
| int | theFlags ) |
Definition at line 51 of file leavematchbutton.qc.
References entity(), LEAVEMATCH_CMD, string_null, vector, and XonoticLeaveMatchButton_draw().
Definition at line 43 of file leavematchbutton.qc.
References entity(), GAME_CONNECTED, GAME_ISSERVER, gamestatus, leaveMatchButton_getText(), leaveMatchButton_getTooltip(), setZonedTooltip(), string_null, and SUPER.
Referenced by XonoticLeaveMatchButton_configureXonoticLeaveMatchButton().
| const string LEAVEMATCH_CMD = "defer 0.4 disconnect; defer 0.4 wait; defer 0.4 \"g_campaign 0\"; defer 0.4 menu_sync" |
Definition at line 7 of file leavematchbutton.qc.
Referenced by XonoticLeaveMatchButton_configureXonoticLeaveMatchButton().