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 207 of file cl_localentity.h.
Definition at line 236 of file cl_localentity.h.
Referenced by LM_AddModel().
vec3_t localModel_s::angles |
Definition at line 219 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
char localModel_s::animname[MAX_QPATH] |
is this an animated model
Definition at line 213 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), LM_Register(), and SP_misc_model().
animState_t localModel_s::as |
Definition at line 228 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LM_Register().
int localModel_s::entnum |
entnum from the entity string (if available in the server, they match)
Definition at line 222 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_Find().
int localModel_s::frame |
which static frame to show (this can't be used if animname is set)
Definition at line 226 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
char localModel_s::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 208 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), LM_GetByID(), and SP_misc_model().
bool localModel_s::inuse |
Definition at line 216 of file cl_localentity.h.
Referenced by LM_AddModel(), LM_AddToSceneOrder(), and LM_Register().
int localModel_s::levelflags |
Definition at line 227 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
lighting_t localModel_s::lighting |
Definition at line 229 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder().
model_t* localModel_s::model |
Definition at line 234 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LM_Register().
char localModel_s::name[MAX_QPATH] |
the name of the model file
Definition at line 210 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_Register().
vec3_t localModel_s::origin |
Definition at line 218 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
struct localModel_s* localModel_s::parent |
in case a tag should be used to place the model a parent local model id must be given
Definition at line 215 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and LMT_Init().
int localModel_s::renderEntityNum |
entity number in the renderer entity array
Definition at line 223 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder().
int localModel_s::renderFlags |
effect flags
Definition at line 225 of file cl_localentity.h.
Referenced by LM_AddModel(), and LM_AddToSceneOrder().
vec3_t localModel_s::scale |
default is 1.0 - no scaling
Definition at line 220 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder().
int localModel_s::skin |
Definition at line 224 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
char localModel_s::tagname[MAX_VAR] |
in case a tag should be used to place the model
Definition at line 212 of file cl_localentity.h.
Referenced by LM_AddToSceneOrder(), and SP_misc_model().
char localModel_s::target[MAX_VAR] |
Definition at line 211 of file cl_localentity.h.
Referenced by LMT_Init(), and SP_misc_model().
void(* localModel_s::think)(struct localModel_s *localModel) |
is called every frame
Definition at line 232 of file cl_localentity.h.
Referenced by LM_Think(), LMT_Init(), and SP_misc_model().