#include <inventory.h>
Data Fields | |
const inventoryImport_t * | import |
invList_t * | invList |
item_t | cacheItem |
csi_t * | csi |
const char * | name |
qboolean(* | RemoveFromInventory )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container, invList_t *fItem) __attribute__((nonnull(1) |
qboolean(* | nonnull )(2) |
qboolean(* | warn_unused_result ) |
invList_t *(* | AddToInventory )(struct inventoryInterface_s *self, inventory_t *const i, item_t item, const invDef_t *container, int x, int y, int amount) __attribute__((nonnull(1) |
invList_t *(* | nonnull )(2) |
invList_t *(* | warn_unused_result ) |
int(* | MoveInInventory )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *from, invList_t *item, const invDef_t *to, int tx, int ty, int *TU, invList_t **icp) __attribute__((nonnull(1) |
int(* | nonnull )(2))) |
qboolean(* | TryAddToInventory )(struct inventoryInterface_s *self, inventory_t *const inv, item_t item, const invDef_t *container) |
void(* | DestroyInventory )(struct inventoryInterface_s *self, inventory_t *const i) __attribute__((nonnull(1) |
void(* | nonnull )(2))) |
void(* | EmptyContainer )(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container) __attribute__((nonnull(1) |
void(* | EquipActor )(struct inventoryInterface_s *self, inventory_t *const inv, const equipDef_t *ed, const teamDef_t *td) __attribute__((nonnull(1) |
void(* | EquipActorMelee )(struct inventoryInterface_s *self, inventory_t *const inv, const teamDef_t *td) __attribute__((nonnull(1))) |
void(* | EquipActorRobot )(struct inventoryInterface_s *self, inventory_t *const inv, objDef_t *weapon) __attribute__((nonnull(1) |
int(* | GetUsedSlots )(struct inventoryInterface_s *self) |
Definition at line 14 of file inventory.h.
invList_t*(* inventoryInterface_s::AddToInventory)(struct inventoryInterface_s *self, inventory_t *const i, item_t item, const invDef_t *container, int x, int y, int amount) __attribute__((nonnull(1) |
Definition at line 21 of file inventory.h.
Referenced by INV_InitInventory().
Definition at line 23 of file inventory.h.
Referenced by INV_InitInventory().
void(* inventoryInterface_s::DestroyInventory)(struct inventoryInterface_s *self, inventory_t *const i) __attribute__((nonnull(1) |
void(* inventoryInterface_s::EmptyContainer)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container) __attribute__((nonnull(1) |
Referenced by CL_EntPerish(), G_ClientShoot(), INV_InitInventory(), and LE_Cleanup().
void(* inventoryInterface_s::EquipActor)(struct inventoryInterface_s *self, inventory_t *const inv, const equipDef_t *ed, const teamDef_t *td) __attribute__((nonnull(1) |
Referenced by AI_SetEquipment(), B_PackInitialEquipment(), GAME_AppendTeamMember(), and INV_InitInventory().
void(* inventoryInterface_s::EquipActorMelee)(struct inventoryInterface_s *self, inventory_t *const inv, const teamDef_t *td) __attribute__((nonnull(1))) |
Referenced by AI_SetEquipment(), and INV_InitInventory().
void(* inventoryInterface_s::EquipActorRobot)(struct inventoryInterface_s *self, inventory_t *const inv, objDef_t *weapon) __attribute__((nonnull(1) |
Referenced by CL_CleanupAircraftCrew(), and INV_InitInventory().
int(* inventoryInterface_s::GetUsedSlots)(struct inventoryInterface_s *self) |
Referenced by G_ClientTeamInfo(), G_Shutdown(), G_SpawnEntities(), GAME_EndBattlescape(), GAME_StartBattlescape(), and INV_InitInventory().
Definition at line 17 of file inventory.h.
Referenced by INV_DestroyInventory(), and INV_InitInventory().
Definition at line 19 of file inventory.h.
Referenced by INV_InitInventory().
int(* inventoryInterface_s::MoveInInventory)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *from, invList_t *item, const invDef_t *to, int tx, int ty, int *TU, invList_t **icp) __attribute__((nonnull(1) |
Referenced by G_ActorInvMove(), INV_InitInventory(), INV_MoveItem(), and testItemMove().
const char* inventoryInterface_s::name |
Definition at line 25 of file inventory.h.
Referenced by INV_InitInventory().
void(* inventoryInterface_s::nonnull)(2))) | ( | 2 | ) |
int(* inventoryInterface_s::nonnull)(2))) |
void(* inventoryInterface_s::nonnull)(2))) | ( | 2 | ) |
qboolean(* inventoryInterface_s::RemoveFromInventory)(struct inventoryInterface_s *self, inventory_t *const i, const invDef_t *container, invList_t *fItem) __attribute__((nonnull(1) |
qboolean(* inventoryInterface_s::TryAddToInventory)(struct inventoryInterface_s *self, inventory_t *const inv, item_t item, const invDef_t *container) |
Referenced by G_AddItemToFloor(), G_SpawnItemOnFloor(), INV_InitInventory(), and testAddSingle().
Definition at line 31 of file inventory.h.
Definition at line 28 of file inventory.h.