|
UFO: Alien Invasion
|
local models More...
#include <cl_localentity.h>

Public Member Functions | |
| void | setScale (const vec3_t scale_) |
Data Fields | |
| char | id [MAX_VAR] |
| char | name [MAX_QPATH] |
| char | target [MAX_VAR] |
| char | tagname [MAX_VAR] |
| char | animname [MAX_QPATH] |
| struct localModel_s * | parent |
| bool | inuse |
| vec3_t | origin |
| vec3_t | angles |
| vec3_t | scale |
| int | entnum |
| int | renderEntityNum |
| int | skin |
| int | renderFlags |
| int | frame |
| int | levelflags |
| animState_t | as |
| lighting_t | lighting |
| void(* | think )(struct localModel_s *localModel) |
| model_t * | model |
local models
Definition at line 206 of file cl_localentity.h.
Definition at line 235 of file cl_localentity.h.
References scale, and VectorCopy.
Referenced by LM_AddModel().
| vec3_t localModel_t::angles |
Definition at line 218 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
| char localModel_t::animname[MAX_QPATH] |
is this an animated model
Definition at line 212 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), LM_Register(), and SP_misc_model().
| animState_t localModel_t::as |
Definition at line 227 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LM_Register().
| int localModel_t::entnum |
entnum from the entity string (if available in the server, they match)
Definition at line 221 of file cl_localentity.h.
Referenced by LM_AddModel().
| int localModel_t::frame |
which static frame to show (this can't be used if animname is set)
Definition at line 225 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
| char localModel_t::id[MAX_VAR] |
in case this local model is referenced by some other local model (e.g. for tags) - this id is set in the mapeditor
Definition at line 207 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), LM_GetByID(), and SP_misc_model().
| bool localModel_t::inuse |
Definition at line 215 of file cl_localentity.h.
Referenced by LM_AddModel(), LM_AddToSceneOrder(), and LM_Register().
| int localModel_t::levelflags |
Definition at line 226 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
| lighting_t localModel_t::lighting |
Definition at line 228 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder().
| model_t* localModel_t::model |
Definition at line 233 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LM_Register().
| char localModel_t::name[MAX_QPATH] |
the name of the model file
Definition at line 209 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_Register().
| vec3_t localModel_t::origin |
Definition at line 217 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
| struct localModel_s* localModel_t::parent |
in case a tag should be used to place the model a parent local model id must be given
Definition at line 214 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LMT_Init().
| int localModel_t::renderEntityNum |
entity number in the renderer entity array
Definition at line 222 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder().
| int localModel_t::renderFlags |
effect flags
Definition at line 224 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
| vec3_t localModel_t::scale |
default is 1.0 - no scaling
Definition at line 219 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and setScale().
| int localModel_t::skin |
Definition at line 223 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
| char localModel_t::tagname[MAX_VAR] |
in case a tag should be used to place the model
Definition at line 211 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
| char localModel_t::target[MAX_VAR] |
Definition at line 210 of file cl_localentity.h.
Referenced by LMT_Init(), and SP_misc_model().
| void(* localModel_t::think) (struct localModel_s *localModel) |
is called every frame
Definition at line 231 of file cl_localentity.h.
Referenced by LM_Think(), LMT_Init(), and SP_misc_model().