|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| entity | makeXonoticWeaponsList () |
| void | WeaponsList_MoveDown_Click (entity box, entity me) |
| void | WeaponsList_MoveUp_Click (entity box, entity me) |
| void | XonoticWeaponsList_cb (string _name, string _icon) |
| void | XonoticWeaponsList_draw (entity me) |
| void | XonoticWeaponsList_drawListBoxItem (entity me, int i, vector absSize, bool isSelected, bool isFocused) |
| float | XonoticWeaponsList_keyDown (entity me, float key, float ascii, float shift) |
| float | XonoticWeaponsList_mouseDrag (entity me, vector pos) |
| void | XonoticWeaponsList_resizeNotify (entity me, vector relOrigin, vector relSize, vector absOrigin, vector absSize) |
| string | XonoticWeaponsList_toString (entity me) |
Variables | |
| bool | disabled |
| string | XonoticWeaponsList_cb_icon |
| string | XonoticWeaponsList_cb_name |
| entity makeXonoticWeaponsList | ( | ) |
Definition at line 14 of file weaponslist.qc.
Referenced by XonoticWeaponsList::ATTRIB(), and XonoticGameWeaponsSettingsTab_fill().
Definition at line 41 of file weaponslist.qc.
References cvar_set(), cvar_string(), entity(), and swapInPriorityList().
Referenced by XonoticWeaponsList::ATTRIB(), XonoticGameWeaponsSettingsTab_fill(), and XonoticWeaponsList_keyDown().
Definition at line 33 of file weaponslist.qc.
References cvar_set(), cvar_string(), entity(), and swapInPriorityList().
Referenced by XonoticWeaponsList::ATTRIB(), XonoticGameWeaponsSettingsTab_fill(), and XonoticWeaponsList_keyDown().
Definition at line 8 of file weaponslist.qc.
References XonoticWeaponsList_cb_icon, and XonoticWeaponsList_cb_name.
Referenced by XonoticWeaponsList_drawListBoxItem(), and XonoticWeaponsList_resizeNotify().
Definition at line 22 of file weaponslist.qc.
References cvar_set(), cvar_string(), entity(), SUPER, tokenize_console, W_FixWeaponOrder(), W_NameWeaponOrder(), and W_NumberWeaponOrder().
| void XonoticWeaponsList_drawListBoxItem | ( | entity | me, |
| int | i, | ||
| vector | absSize, | ||
| bool | isSelected, | ||
| bool | isFocused ) |
Definition at line 100 of file weaponslist.qc.
References argv(), draw_CondensedFontFactor(), draw_Fill(), draw_fontscale, draw_Picture(), draw_Text(), draw_TextWidth(), entity(), eX, eY, getFadedAlpha(), REGISTRY_GET, stof(), strcat(), vector, Weapons, WEP_FLAG_MUTATORBLOCKED, XonoticWeaponsList_cb(), XonoticWeaponsList_cb_icon, and XonoticWeaponsList_cb_name.
Definition at line 129 of file weaponslist.qc.
References entity(), K_DOWNARROW, K_KP_DOWNARROW, K_KP_UPARROW, K_UPARROW, NULL, S_CTRL, SUPER, WeaponsList_MoveDown_Click(), and WeaponsList_MoveUp_Click().
Definition at line 69 of file weaponslist.qc.
References cvar_set(), cvar_string(), entity(), SUPER, swapInPriorityList(), and vector.
| void XonoticWeaponsList_resizeNotify | ( | entity | me, |
| vector | relOrigin, | ||
| vector | relSize, | ||
| vector | absOrigin, | ||
| vector | absSize ) |
Definition at line 49 of file weaponslist.qc.
References draw_PictureSize(), entity(), REGISTRY_GET, SUPER, vector, Weapons, WEP_FIRST, XonoticWeaponsList_cb(), and XonoticWeaponsList_cb_icon.
Definition at line 86 of file weaponslist.qc.
References argv(), cvar_string(), entity(), REGISTRY_GET, stof(), strcat(), strlen, substring(), tokenize_console, W_NumberWeaponOrder(), and Weapons.
| bool disabled |
Definition at line 5 of file weaponslist.qc.
| string XonoticWeaponsList_cb_icon |
Definition at line 7 of file weaponslist.qc.
Referenced by XonoticWeaponsList_cb(), XonoticWeaponsList_drawListBoxItem(), and XonoticWeaponsList_resizeNotify().
| string XonoticWeaponsList_cb_name |
Definition at line 7 of file weaponslist.qc.
Referenced by XonoticWeaponsList_cb(), and XonoticWeaponsList_drawListBoxItem().