25 #include "../../../../client.h" 26 #include "../../../cl_localentity.h" 27 #include "../../../cl_particle.h" 46 le_t* actor =
nullptr;
82 Com_Printf(
"CL_EntPerish: Particle is nullptr for entnum %i!\n", entnum);
void destroyInventory(Inventory *const inv)
Destroys inventory.
QGL_EXTERN GLint GLenum type
void LE_CenterView(const le_t *le)
Center the camera on the local entity's origin.
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 Com_Printf(const char *const fmt,...)
#define LE_NotFoundWithTypeError(entnum, type)
Struct that defines one particular event with all its callbacks and data.
le_t * LE_Get(int entnum)
Searches all local entities for the one with the searched entnum.
int CL_CountVisibleEnemies(void)
Counts visible enemies on the battlescape.
void Com_DPrintf(int level, const char *fmt,...)
A Com_Printf that only shows up if the "developer" cvar is set.
#define VectorCompare(a, b)
le_t * LE_GetNextInUse(le_t *lastLE)
Iterate through the entities that are in use.
void CL_ParticleFree(ptl_t *p)
Free a particle and all it's children.
void CL_EntPerish(const eventRegister_t *self, dbuffer *msg)
Called whenever an entity disappears from view.
void emptyContainer(Inventory *const inv, const containerIndex_t container)
Clears the linked list of a container - removes all items from this container.
void Cvar_SetValue(const char *varName, float value)
Expands value to a string and calls Cvar_Set.