item definition More...
#include <inv_shared.h>
Data Fields | |
int | a |
objDef_t * | m |
objDef_t * | t |
int | amount |
int | rotated |
item definition
Definition at line 332 of file inv_shared.h.
int item_s::a |
Number of ammo rounds left - see NONE_AMMO
Definition at line 333 of file inv_shared.h.
Referenced by AI_GetItemFromInventory(), AII_CarriedItems(), AII_CollectingAmmo(), AII_CollectingItems(), AIR_MoveEmployeeInventoryIntoStorage(), CL_InvAmmo(), CL_InvReload(), CL_LoadItemXML(), CL_NetReceiveItem(), CL_NetSendItem(), CL_SaveItemXML(), CP_AddWeaponAmmo(), G_ClientGetWeaponFromInventory(), G_ClientShoot(), G_ReactionFireGetTUsForItem(), G_ReadItem(), G_WriteItem(), HUD_CheckShooting(), HUD_UpdateActorCvar(), HUD_UpdateActorFireMode(), HUD_WeaponCanBeReloaded(), I_EquipActorMelee(), I_EquipActorRobot(), I_MoveInInventory(), I_PackAmmoAndWeapon(), INV_UnloadWeapon(), INVSH_CompareItem(), testAddSingle(), testItemAdd(), testItemDel(), testItemMove(), UI_ContainerNodeAutoPlace(), UI_ContainerNodeDNDFinished(), UI_DrawItem(), and UI_GetItemTooltip().
int item_s::amount |
The amount of items of this type on the same x and y location in the container
Definition at line 336 of file inv_shared.h.
Referenced by CL_InvAdd(), CL_LoadItemXML(), CL_NetReceiveItem(), CL_NetSendItem(), CL_SaveItemXML(), G_InventoryToFloor(), G_ReadItem(), G_WriteItem(), I_AddToInventory(), I_MoveInInventory(), I_RemoveFromInventory(), UI_BaseInventoryNodeDrawItems(), and UI_GetItemTooltip().
Pointer to ammo type.
Definition at line 334 of file inv_shared.h.
Referenced by actorL_shoot(), AI_GetItemFromInventory(), AI_SearchBestTarget(), AII_CarriedItems(), AII_CollectingAmmo(), AIR_GetStorageRoom(), AIR_MoveEmployeeInventoryIntoStorage(), AIR_TransferItemsCarriedByCharacterToBase(), CL_InvAmmo(), CL_InvReload(), CL_LoadItemXML(), CL_NetReceiveItem(), CL_NetSendItem(), CL_SaveItemXML(), CP_AddWeaponAmmo(), E_RemoveInventoryFromStorage(), FIRESH_FiredefForWeapon(), G_ClientShoot(), G_EventInventoryReload(), G_PrepareShot(), G_ReactionFireGetTUsForItem(), G_ReadItem(), G_WriteItem(), HUD_UpdateActor(), HUD_UpdateActorFireMode(), HUD_WeaponCanBeReloaded(), I_EquipActorMelee(), I_EquipActorRobot(), I_MoveInInventory(), I_PackAmmoAndWeapon(), INV_UnloadWeapon(), INVSH_CompareItem(), testAddSingle(), testItemAdd(), testItemDel(), testItemMove(), UI_ContainerNodeAutoPlace(), UI_ContainerNodeDNDFinished(), and UI_GetItemTooltip().
int item_s::rotated |
If the item is currently displayed rotated (qtrue or 1) or not (qfalse or 0)
Definition at line 337 of file inv_shared.h.
Referenced by CL_LoadItemXML(), CL_NetReceiveItem(), CL_NetSendItem(), CL_SaveItemXML(), G_ReadItem(), G_WriteItem(), I_MoveInInventory(), I_TryAddToInventory(), INVSH_CheckToInventory_shape(), INVSH_ShapeCheckPosition(), UI_ContainerNodeDrawDropPreview(), and UI_DrawItem().
Pointer to weapon.
Definition at line 335 of file inv_shared.h.
Referenced by actorL_shoot(), AI_GetItemFromInventory(), AI_HideNeeded(), AII_CarriedItems(), AII_CollectingAmmo(), AII_CollectingItems(), AIR_GetStorageRoom(), AIR_MoveEmployeeInventoryIntoStorage(), AIR_TransferItemsCarriedByCharacterToBase(), CHRSH_CharGetBody(), CHRSH_CharGetHead(), CL_ActorCvars(), CL_ActorGetContainerForReload(), CL_ActorGetMuzzle(), CL_ActorReload(), CL_CleanupAircraftCrew(), CL_InvAdd(), CL_InvReload(), CL_LoadInventoryXML(), CL_LoadItemXML(), CL_NetReceiveItem(), CL_NetSendItem(), CL_SaveItemXML(), CP_AddWeaponAmmo(), E_RemoveInventoryFromStorage(), FIRESH_FiredefForWeapon(), G_ActorGetTUForReactionFire(), G_ActorInvMove(), G_ActorReload(), G_AddItemToFloor(), G_ClientCanReload(), G_ClientGetWeaponFromInventory(), G_ClientReadInventory(), G_ClientShoot(), G_EventInventoryReload(), G_InventoryDropToFloorCheck(), G_InventoryRemoveItemByID(), G_InventoryToFloor(), G_MissionThink(), G_MissionTouch(), G_PrepareShot(), G_ReactionFireGetTUsForItem(), G_ReadItem(), G_SendInventory(), G_ShootGrenade(), G_ShootSingle(), G_WriteItem(), HUD_CheckReload(), HUD_CheckShooting(), HUD_GetFireDefinitionForHand(), HUD_GetLeftHandWeapon(), HUD_GetMinimumTUsForUsage(), HUD_RefreshButtons(), HUD_UpdateActor(), HUD_UpdateActorCvar(), HUD_UpdateActorFireMode(), HUD_UpdateAllActors(), HUD_WeaponCanBeReloaded(), I_AddToInventory(), I_EquipActorMelee(), I_EquipActorRobot(), I_MoveInInventory(), I_PackAmmoAndWeapon(), I_RemoveFromInventory(), I_TryAddToInventory(), INV_LoadWeapon(), INVSH_CheckToInventory(), INVSH_CheckToInventory_shape(), INVSH_CompareItem(), INVSH_FindSpace(), INVSH_HasReactionFireEnabledWeapon(), INVSH_SearchInInventoryWithFilter(), INVSH_ShapeCheckPosition(), LE_BiggestItem(), testAddSingle(), testItemAdd(), testItemDel(), testItemMove(), UI_BaseInventoryNodeDraw(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeMouseDown(), UI_ContainerNodeAutoPlace(), UI_ContainerNodeDNDFinished(), UI_ContainerNodeDNDMove(), UI_ContainerNodeDraw(), UI_ContainerNodeDrawDropPreview(), UI_ContainerNodeDrawFreeSpace(), UI_ContainerNodeDrawGrid(), UI_ContainerNodeDrawSingle(), UI_ContainerNodeMouseDown(), UI_ContainerNodeUpdateEquipment(), UI_DrawItem(), UI_GetItemTooltip(), and UI_ItemNodeDraw().