|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Classes | |
| class | Inventory |
Macros | |
| #define | G_MAJOR(id) |
| #define | G_MINOR(id) |
Functions | |
| void | Inventory_clear (entity store) |
| bool | Inventory_customize (entity this, entity client) |
| void | Inventory_delete (entity e) |
| void | Inventory_new (PlayerState this) |
| void | Inventory_pickupitem (Pickup this, entity player) |
| void | Inventory_remove (entity this) |
| bool | Inventory_Send (Inventory this, Client to, int sf) |
| void | Inventory_update (entity e) |
| void | Inventory_Write (Inventory data, Inventory store) |
| void | InventoryStorage_attach (entity e) |
| void | InventoryStorage_delete (entity e) |
| NET_HANDLE (ENT_CLIENT_INVENTORY, bool isnew) | |
| NET_HANDLE (TE_CSQC_WEAPONPICKUP, bool isnew) | |
| STATIC_INIT (Inventory) | |
Variables | |
| Inventory | g_inventory |
| Inventory | inventory |
| Player inventory. | |
| const int | Inventory_groups_major = 4 |
| const int | Inventory_groups_minor = 8 |
| Inventory | inventory_store |
| Player inventory storage (holds previous state) | |
| int | minorBitsArr [Inventory_groups_major] |
| #define G_MAJOR | ( | id | ) |
| #define G_MINOR | ( | id | ) |
Definition at line 36 of file inventory.qh.
Referenced by Inventory_Write().
Definition at line 169 of file inventory.qh.
References entity(), and FOREACH.
Referenced by reset_map().
Definition at line 143 of file inventory.qh.
References entity(), inventory, and PS.
Referenced by Inventory_new().
Definition at line 158 of file inventory.qh.
References entity().
Referenced by PlayerState_detach().
| void Inventory_new | ( | PlayerState | this | ) |
Definition at line 149 of file inventory.qh.
References Inventory_customize(), Inventory_Send(), Net_LinkEntity(), NEW, and setcefc.
Referenced by PlayerState_attach().
Definition at line 161 of file inventory.qh.
References entity(), Inventory_update(), IS_PLAYER, m_id, and PS.
Referenced by Pickup::giveTo(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
Definition at line 44 of file inventory.qh.
References entity(), g_inventory, and NULL.
Referenced by NET_HANDLE().
Definition at line 134 of file inventory.qh.
References Inventory_Write(), MSG_ENTITY, owner, TC, and WriteHeader.
Referenced by Inventory_new().
Definition at line 159 of file inventory.qh.
References entity().
Referenced by Inventory_pickupitem(), and reset_map().
Definition at line 87 of file inventory.qh.
References BIT, BITSET, entity(), FOREACH, G_MAJOR, G_MINOR, Inventory::inv_items, Inventory_groups_major, Inventory_groups_minor, minorBitsArr, MSG_ENTITY, REGISTRY_GET, TC, WriteByte(), and WriteShort().
Referenced by Inventory_Send().
| NET_HANDLE | ( | ENT_CLIENT_INVENTORY | , |
| bool | isnew ) |
Definition at line 50 of file inventory.qh.
References BIT, g_inventory, Inventory_groups_major, Inventory_groups_minor, Inventory_remove(), LOG_DEBUGF, GameItem::m_id, make_pure, next, Pickup_Update(), prev, Readbits(), ReadByte(), and REGISTRY_GET.
| NET_HANDLE | ( | TE_CSQC_WEAPONPICKUP | , |
| bool | isnew ) |
Definition at line 77 of file inventory.qh.
References Pickup_Update(), ReadByte(), REGISTRY_GET, and Weapons.
| STATIC_INIT | ( | Inventory | ) |
Definition at line 24 of file inventory.qh.
References ceil(), error, floor(), Inventory_groups_major, Inventory_groups_minor, and REGISTRY_COUNT.
| Inventory g_inventory |
Definition at line 42 of file inventory.qh.
Referenced by Inventory_remove(), NET_HANDLE(), Scoreboard_ItemStats_Draw(), and Scoreboard_ItemStats_WouldDraw().
| Inventory inventory |
| const int Inventory_groups_major = 4 |
Definition at line 19 of file inventory.qh.
Referenced by Inventory_Write(), NET_HANDLE(), and STATIC_INIT().
| const int Inventory_groups_minor = 8 |
Definition at line 18 of file inventory.qh.
Referenced by Inventory_Write(), NET_HANDLE(), and STATIC_INIT().
| Inventory inventory_store |
Player inventory storage (holds previous state)
Definition at line 14 of file inventory.qh.
Referenced by PlayerState_detach().
| int minorBitsArr[Inventory_groups_major] |
Definition at line 86 of file inventory.qh.
Referenced by Inventory_Write().