99 Com_Error(
ERR_DROP,
"InvAdd for ET_ITEM but target container is not the floor but %i", container);
100 }
else if (
INVDEF(container)->temp) {
105 Com_Error(
ERR_DROP,
"InvAdd failed - could not add %i item(s) of %s to container %i",
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 LE_REMOVE_NEXT_FRAME
#define LE_IsSelected(le)
#define LE_NotFoundError(entnum)
#define INVDEF(containerID)
item instance data, with linked list capability
void setAmount(int value)
void setAmmoDef(const objDef_t *od)
void setDef(const objDef_t *objDef)
const objDef_t * def(void) const
void setAmmoLeft(int value)
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_InvAddTime(const struct eventRegister_s *self, dbuffer *msg, eventTiming_t *eventTiming)
Decides if following events should be delayed.
void CL_InvAdd(const eventRegister_t *self, dbuffer *msg)
static void CL_NetReceiveItem(dbuffer *buf, Item *item, containerIndex_t *container, int *x, int *y)
const eventRegister_t * CL_GetEvent(const event_t eType)
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 ...
int NET_ReadShort(dbuffer *buf)
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.