47 assert(container >= 0);
le_t * LE_Get(int entnum)
Searches all local entities for the one with the searched entnum.
#define INVDEF(containerID)
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.
item instance data, with linked list capability
void setAmmoDef(const objDef_t *od)
void setAmmoLeft(int value)
Primary header for client.
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
void CL_InvAmmo(const eventRegister_t *self, dbuffer *msg)
const objDef_t * INVSH_GetItemByIDX(int index)
Returns the item that belongs to the given index or nullptr if the index is invalid.
void NET_ReadFormat(dbuffer *buf, const char *format,...)
The user-friendly version of NET_ReadFormat that reads variable arguments from a buffer according to ...
QGL_EXTERN GLint GLenum type
Struct that defines one particular event with all its callbacks and data.
const char * formatString
The format string that is used to write and parse this event.