inventory definition for our menus More...
#include <inv_shared.h>
Data Fields | |
char | name [MAX_VAR] |
containerIndex_t | id |
qboolean | single |
qboolean | armour |
qboolean | extension |
qboolean | headgear |
qboolean | all |
qboolean | temp |
uint32_t | shape [SHAPE_BIG_MAX_HEIGHT] |
int | in |
int | out |
qboolean | scroll |
inventory definition for our menus
Definition at line 307 of file inv_shared.h.
Every item type can be stored in this container.
Definition at line 315 of file inv_shared.h.
Referenced by INVSH_CheckToInventory().
Only armour can be stored in this container.
Definition at line 312 of file inv_shared.h.
Referenced by I_MoveInInventory(), and INVSH_CheckToInventory().
Only extension items can be stored in this container.
Definition at line 313 of file inv_shared.h.
Referenced by I_MoveInInventory(), and INVSH_CheckToInventory().
Only headgear items can be stored in this container.
Definition at line 314 of file inv_shared.h.
Referenced by I_MoveInInventory(), and INVSH_CheckToInventory().
Special container id. See csi_t for the values to compare it with.
Definition at line 309 of file inv_shared.h.
Referenced by Com_ParseInventory(), G_ActorReload(), G_ClientReadInventory(), G_EventInventoryDelete(), G_EventInventoryReload(), G_WriteItem(), I_AddToInventory(), I_EmptyContainer(), I_MoveInInventory(), I_RemoveFromInventory(), INV_IsArmourDef(), INV_IsEquipDef(), INV_IsFloorDef(), INV_IsLeftDef(), INV_IsRightDef(), INVSH_CheckToInventory(), INVSH_CheckToInventory_shape(), INVSH_ExistsInInventory(), INVSH_SearchInInventory(), and INVSH_SearchInInventoryWithFilter().
int invDef_s::in |
Definition at line 318 of file inv_shared.h.
Referenced by I_MoveInInventory(), and UI_DrawFree().
char invDef_s::name[MAX_VAR] |
id from script files.
Definition at line 308 of file inv_shared.h.
Referenced by CL_LoadItemXML(), CL_SaveItemXML(), Com_ParseInventory(), I_RemoveFromInventory(), INVSH_FindSpace(), INVSH_GetInventoryDefinitionByID(), and INVSH_SearchInInventory().
int invDef_s::out |
parsed: TU costs for moving items in and out.
Definition at line 318 of file inv_shared.h.
Referenced by G_ActorReload(), G_ClientGetWeaponFromInventory(), I_MoveInInventory(), and UI_DrawFree().
Scroll information.
Definition at line 321 of file inv_shared.h.
Referenced by I_MoveInInventory(), INVSH_CheckToInventory(), INVSH_CheckToInventory_shape(), INVSH_FindSpace(), and INVSH_SearchInInventory().
uint32_t invDef_s::shape[SHAPE_BIG_MAX_HEIGHT] |
The inventory form/shape.
Definition at line 317 of file inv_shared.h.
Referenced by INVSH_CheckToInventory_shape(), and UI_ContainerNodeLoaded().
Type of this container or inventory. Just a single item can be stored in this container.
Definition at line 311 of file inv_shared.h.
Referenced by G_ClientShoot(), I_AddToInventory(), I_MoveInInventory(), I_RemoveFromInventory(), INVSH_CheckToInventory(), and INVSH_SearchInInventory().
This is only a pointer to another inventory definitions.
Definition at line 316 of file inv_shared.h.
Referenced by G_MissionTouch(), I_AddToInventory(), I_DestroyInventory(), I_MoveInInventory(), and I_RemoveFromInventory().