invDef_s Struct Reference

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

Detailed Description

inventory definition for our menus

Definition at line 307 of file inv_shared.h.


Field Documentation

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().

Definition at line 318 of file inv_shared.h.

Referenced by I_MoveInInventory(), and UI_DrawFree().

char invDef_s::name[MAX_VAR]

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.

See also:
inventory_t Set if the container is scrollable

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().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2