Xonotic
|
#include "gametypelist.qh"
#include "dialog_multiplayer_create.qh"
#include <common/gamemodes/_mod.qh>
#include <common/mapinfo.qh>
Go to the source code of this file.
Functions | |
entity | makeXonoticGametypeList () |
void | XonoticGametypeList_clickListBoxItem (entity me, float i, vector where) |
void | XonoticGametypeList_configureXonoticGametypeList (entity me) |
void | XonoticGametypeList_draw (entity me) |
void | XonoticGametypeList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
void | XonoticGametypeList_focusedItemChangeNotify (entity me) |
float | XonoticGametypeList_keyDown (entity me, float scan, float ascii, float shift) |
void | XonoticGametypeList_loadCvars (entity me) |
void | XonoticGametypeList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
void | XonoticGametypeList_saveCvars (entity me) |
void | XonoticGametypeList_setSelected (entity me, float i) |
entity makeXonoticGametypeList | ( | ) |
Definition at line 7 of file gametypelist.qc.
Definition at line 127 of file gametypelist.qc.
References m_play_click_sound(), and MENU_SOUND_SELECT.
Definition at line 14 of file gametypelist.qc.
References draw_PreloadPictureWithFlags(), GameType_GetCount(), GameType_GetIcon(), GameType_GetTotalCount(), and PRECACHE_PIC_MIPMAP.
Definition at line 63 of file gametypelist.qc.
References GameType_GetCount(), and SUPER.
void XonoticGametypeList_drawListBoxItem | ( | entity | me, |
int | i, | ||
vector | absSize, | ||
bool | isSelected, | ||
bool | isFocused | ||
) |
Definition at line 72 of file gametypelist.qc.
References _MapInfo_GetTeamPlayBool(), draw_Fill(), draw_Picture(), eX, eY, GameType_GetIcon(), GameType_GetID(), GameType_GetName(), getFadedAlpha(), s1, and s2.
Definition at line 131 of file gametypelist.qc.
References clearTooltip(), GameType_GetID(), MapInfo_Type_Description(), setZonedTooltip(), and string_null.
Definition at line 116 of file gametypelist.qc.
References K_ENTER, K_KP_ENTER, m_play_click_sound(), MENU_SOUND_EXECUTE, and SUPER.
Definition at line 32 of file gametypelist.qc.
References cnt, GameType_GetCount(), GameType_GetID(), and MapInfo_CurrentGametype().
void XonoticGametypeList_resizeNotify | ( | entity | me, |
vector | relOrigin, | ||
vector | relSize, | ||
vector | absOrigin, | ||
vector | absSize | ||
) |
Definition at line 51 of file gametypelist.qc.
References entity(), GameType_GetID(), MapInfo_CurrentGametype(), MapInfo_SwitchGameType(), and owner.