25 #include "../../../../client.h" 26 #include "../../../cl_actor.h" 27 #include "../../../cl_localentity.h" 47 assert(container >= 0);
QGL_EXTERN GLint GLenum type
Item * getItemAtPos(const invDef_t *container, const int x, const int y) const
Searches if there is an item at location (x,y) in a container.
void NET_ReadFormat(dbuffer *buf, const char *format,...)
The user-friendly version of NET_ReadFormat that reads variable arguments from a buffer according to ...
void setAmmoDef(const objDef_t *od)
le_t * LE_Get(int entnum)
Searches all local entities for the one with the searched entnum.
void CL_InvAmmo(const eventRegister_t *self, dbuffer *msg)
item instance data, with linked list capability
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
#define INVDEF(containerID)
const objDef_t * INVSH_GetItemByIDX(int index)
Returns the item that belongs to the given index or nullptr if the index is invalid.
void setAmmoLeft(int value)
Struct that defines one particular event with all its callbacks and data.