77 if (!
cls.i.removeFromInventory(&le->
inv,
INVDEF(container), item))
78 Com_Error(
ERR_DROP,
"CL_InvDel: No item was removed from container %i", container);
void LE_SetThink(le_t *le, localEntityThinkFunc_t think)
void LE_PlaceItem(le_t *le)
void LET_StartIdle(le_t *le)
Change the animation of an actor to the idle animation (which can be panic, dead or stand).
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
Primary header for client.
void Cmd_ExecuteString(const char *text,...)
A complete command line has been parsed, so try to execute it.
void Com_Error(int code, const char *fmt,...)
int CL_InvDelTime(const struct eventRegister_s *self, dbuffer *msg, eventTiming_t *eventTiming)
Decides if following events should be delayed.
void CL_InvDel(const eventRegister_t *self, dbuffer *msg)
void NET_ReadFormat(dbuffer *buf, const char *format,...)
The user-friendly version of NET_ReadFormat that reads variable arguments from a buffer according to ...
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.
CL_ParseEvent timers and vars.