|
UFO: Alien Invasion
|
#include <r_entity.h>

Public Member Functions | |
| entity_s (int flag=RF_NONE) | |
| void | setScale (const vec3_t scale_) |
| vec_t | getScaleX () const |
Data Fields | |
| struct model_s * | model |
| vec3_t | angles |
| vec3_t | scale |
| vec3_t | color |
| vec3_t | origin |
| vec3_t | oldorigin |
| AABB | eBox |
| struct entity_s * | tagent |
| const char * | tagname |
| int | skinnum |
| float | alpha |
| int | flags |
| float | distanceFromViewOrigin |
| bool | isOriginBrushModel |
| animState_t | as |
| transform_t | transform |
| vec4_t | shell |
| const image_t * | texture |
| lighting_t * | lighting |
| struct entity_s * | next |
| int | firstbrush |
| int | numbrushes |
| epair_t * | epairs |
| bool | skip |
Definition at line 96 of file r_entity.h.
|
inline |
Definition at line 154 of file r_entity.h.
References scale, and VectorCopy.
Referenced by LM_AddToSceneOrder().
| float entity_t::alpha |
ignore if RF_TRANSLUCENT isn't set
Definition at line 111 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddArrow(), CL_AddEdictFunc(), CL_AddPathingBox(), CL_AddTargetingBox(), CL_AddUGV(), entity_s(), LE_AddEdictHighlight(), LE_AddToScene(), LE_BrushModelAction(), R_DrawArrow(), R_DrawBox(), R_DrawFloor(), and SEQ_Render3D().
| vec3_t entity_t::angles |
Definition at line 98 of file r_entity.h.
Referenced by entity_s(), LE_AddToScene(), LE_BrushModelAction(), LM_AddToSceneOrder(), R_CalcTransform(), R_CullMeshModel(), R_GetEntityLists(), R_RotateForMeshShadow(), R_Trace(), R_TransformForEntity(), and SEQ_Render3D().
| animState_t entity_t::as |
Definition at line 117 of file r_entity.h.
Referenced by entity_s(), LE_AddToScene(), LM_AddToSceneOrder(), R_DrawAliasModel(), R_DrawAliasModelBuffer(), R_GetEntityLists(), and SEQ_Render3D().
| vec3_t entity_t::color |
Definition at line 100 of file r_entity.h.
Referenced by CL_AddArrow(), CL_AddEdictFunc(), CL_AddPathingBox(), CL_AddTargetingBox(), entity_s(), LE_AddEdictHighlight(), LE_BrushModelAction(), R_DrawArrow(), R_DrawBox(), and R_DrawFloor().
| float entity_t::distanceFromViewOrigin |
Definition at line 113 of file r_entity.h.
Referenced by entity_s(), R_CalcTransform(), and R_MergeSortMerge().
| AABB entity_t::eBox |
Definition at line 103 of file r_entity.h.
Referenced by CL_AddEdictFunc(), entity_s(), LE_AddEdictHighlight(), LE_BrushModelAction(), R_DrawBox(), and R_UpdateLightList().
| epair_t* entity_t::epairs |
the entity parameters (key, value)
Definition at line 50 of file bspfile.h.
Referenced by CheckEntities(), EpairCheckForDuplicate(), ParseEntity(), ParseMapEntity(), ProcessSubModel(), SetKeyValue(), ValueForKey(), and WriteMapFile().
| int entity_t::firstbrush |
the index of the first brush in mapbrushes in case of a bmodel
Definition at line 48 of file bspfile.h.
Referenced by AdjustBrushesForOrigin(), BeginModel(), Check_ExtraBrushesForWorldspawn(), MoveBrushesToWorld(), ParseBrush(), ParseMapEntity(), ProcessSubModel(), ProcessWorldModel(), and WriteMapFile().
| int entity_t::flags |
Definition at line 112 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddEdictFunc(), CL_AddUGV(), entity_s(), LE_BrushModelAction(), LM_AddToSceneOrder(), R_DrawAliasModel(), R_DrawEntityEffects(), R_DrawMeshShadow(), R_DrawSpecialEntities(), R_GetEntityLists(), and R_UpdateLightList().
| bool entity_t::isOriginBrushModel |
true for bmodels that have an origin set
Definition at line 115 of file r_entity.h.
Referenced by entity_s(), LE_AddToScene(), and R_CullBspModel().
| lighting_t* entity_t::lighting |
cached static light source information
Definition at line 125 of file r_entity.h.
Referenced by entity_s(), LE_AddToScene(), LM_AddToSceneOrder(), R_DrawAliasModel(), R_DrawMeshShadow(), R_RotateForMeshShadow(), R_UpdateLightList(), and R_UpdateShadowOrigin().
| struct model_s* entity_t::model |
Definition at line 97 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddUGV(), entity_s(), LE_AddToScene(), LE_BrushModelAction(), LM_AddToSceneOrder(), R_AddEntity(), R_CullBspModel(), R_CullEntity(), R_CullMeshModel(), R_DrawAliasModel(), R_DrawAliasModelBuffer(), R_DrawMeshEntities(), R_GetEntityLists(), R_Trace(), and SEQ_Render3D().
| struct entity_s* entity_t::next |
for chaining
Definition at line 127 of file r_entity.h.
Referenced by entity_s(), R_DrawMeshEntities(), R_DrawNullEntities(), R_DrawSpecialEntities(), R_GetEntityLists(), R_MergeSortEntList(), and R_MergeSortMerge().
| int entity_t::numbrushes |
the number of brushes in case of a bmodel
Definition at line 49 of file bspfile.h.
Referenced by AdjustBrushesForOrigin(), BeginModel(), Check_EntityWithBrushes(), Check_ExtraBrushesForWorldspawn(), MoveBrushesToWorld(), ParseBrush(), ParseMapEntity(), ProcessSubModel(), ProcessWorldModel(), and WriteMapFile().
| vec3_t entity_t::oldorigin |
Definition at line 102 of file r_entity.h.
Referenced by CL_AddArrow(), CL_AddPathingBox(), CL_AddTargetingBox(), entity_s(), LE_AddToScene(), LE_BrushModelAction(), LM_AddToSceneOrder(), R_DrawArrow(), R_DrawBox(), and SEQ_Render3D().
| vec3_t entity_t::origin |
the origin vector of the entity
Definition at line 101 of file r_entity.h.
Referenced by AdjustBrushesForOrigin(), Check_InfoStartAligned(), CL_AddArrow(), CL_AddPathingBox(), CL_AddTargetingBox(), entity_s(), LE_BrushModelAction(), ParseMapEntity(), R_CalcTransform(), R_CullBspModel(), R_CullMeshModel(), R_DrawAliasModelBuffer(), R_DrawArrow(), R_DrawBox(), R_DrawFloor(), R_EntityAddToOrigin(), R_EntitySetOrigin(), R_GetEntityLists(), R_Trace(), R_TransformForEntity(), and R_UpdateShadowOrigin().
| vec3_t entity_t::scale |
Definition at line 99 of file r_entity.h.
Referenced by entity_s(), getScaleX(), R_CullMeshModel(), R_DrawAliasModel(), and setScale().
| vec4_t entity_t::shell |
shell color
Definition at line 121 of file r_entity.h.
Referenced by entity_s(), R_DrawAliasModel(), and R_DrawAliasModelBuffer().
| int entity_t::skinnum |
Definition at line 110 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddUGV(), entity_s(), LE_AddToScene(), LM_AddToSceneOrder(), R_DrawAliasModel(), R_GetEntityLists(), and SEQ_Render3D().
| bool entity_t::skip |
skip this entity in case the check functions have found an error and it should not get written back into the fixed map file
Definition at line 51 of file bspfile.h.
Referenced by Check_EntityWithBrushes(), and WriteMapFile().
| struct entity_s* entity_t::tagent |
pointer to the parent entity
Definition at line 106 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddUGV(), entity_s(), LM_AddToSceneOrder(), R_CalcTransform(), R_CullMeshModel(), R_UpdateLightList(), and SEQ_Render3D().
| const char* entity_t::tagname |
name of the tag
Definition at line 107 of file r_entity.h.
Referenced by CL_AddActor(), CL_AddUGV(), entity_s(), LM_AddToSceneOrder(), R_CalcTransform(), and SEQ_Render3D().
| const image_t* entity_t::texture |
Definition at line 123 of file r_entity.h.
Referenced by CL_AddActor(), entity_s(), LE_BrushModelAction(), R_DrawBox(), and R_DrawEntityEffects().
| transform_t entity_t::transform |
Definition at line 119 of file r_entity.h.
Referenced by entity_s(), R_CalcTransform(), R_DrawAliasModel(), R_DrawEntityEffects(), R_DrawNullModel(), and R_UpdateLightList().