#include "r_light.h"
Go to the source code of this file.
Data Structures | |
struct | animState_s |
struct | transform_t |
entity transform matrix More... | |
struct | entity_s |
Defines | |
#define | MAX_ANIMLIST 8 |
Typedefs | |
typedef struct animState_s | animState_t |
typedef struct entity_s | entity_t |
Functions | |
int | R_AddEntity (const entity_t *ent) |
Adds a copy of the specified entity to the list of all known render entities. | |
entity_t * | R_GetFreeEntity (void) |
Get the next free entry in the entity list (the last one). | |
entity_t * | R_GetEntity (int id) |
Returns a specific entity from the list. | |
const vec3_t * | R_EntityGetOrigin (const entity_t *ent) |
void | R_EntitySetOrigin (entity_t *ent, const vec3_t ovec) |
void | R_EntityCopyOrigin (entity_t *ent, const entity_t *other) |
void | R_EntityAddToOrigin (entity_t *ent, const vec3_t offs) |
void | R_EntitySubtractFromOrigin (entity_t *ent, const vec3_t offs) |
Definition in file r_entity.h.
#define MAX_ANIMLIST 8 |
Definition at line 28 of file r_entity.h.
Referenced by R_AnimAppend(), R_AnimChange(), R_AnimGetName(), and R_AnimRun().
typedef struct animState_s animState_t |
int R_AddEntity | ( | const entity_t * | ent | ) |
Adds a copy of the specified entity to the list of all known render entities.
-1
in case the entity wasn't added. Definition at line 630 of file r_entity.c.
References Com_Error(), ERR_DROP, MAX_ENTITIES, mod_bsp, rendererData_t::numEntities, entity_t::origin, refdef, VectorDist, and rendererData_t::viewOrigin.
Referenced by CL_AddActor(), CL_AddArrow(), CL_AddPathingBox(), CL_AddTargetingBox(), CL_AddUGV(), LE_AddToScene(), LM_AddToSceneOrder(), and SEQ_Render3D().
Definition at line 40 of file r_entity.c.
References entity_t::origin, and VectorAdd.
Referenced by LE_AddToScene().
Definition at line 39 of file r_entity.c.
References entity_t::origin, and VectorCopy.
Definition at line 37 of file r_entity.c.
References entity_t::origin.
Referenced by LE_BrushModelAction(), R_CullBspModel(), and R_DrawBrushModel().
Definition at line 38 of file r_entity.c.
References entity_t::origin, and VectorCopy.
Referenced by CL_AddEdictFunc(), LE_AddToScene(), LM_AddToSceneOrder(), and SEQ_Render3D().
Definition at line 41 of file r_entity.c.
References entity_t::origin, and VectorSubtract.
entity_t* R_GetEntity | ( | int | id | ) |
Returns a specific entity from the list.
Definition at line 618 of file r_entity.c.
References rendererData_t::numEntities, and refdef.
Referenced by LM_AddToSceneOrder(), and R_Trace().
entity_t* R_GetFreeEntity | ( | void | ) |
Get the next free entry in the entity list (the last one).
Definition at line 608 of file r_entity.c.
References Com_Error(), ERR_DROP, MAX_ENTITIES, rendererData_t::numEntities, and refdef.
Referenced by CL_AddActor(), CL_AddUGV(), and SEQ_Render3D().