localModel_s Struct Reference

local models More...

#include <cl_localentity.h>

Collaboration diagram for localModel_s:
Collaboration graph
[legend]

Data Fields

char id [MAX_VAR]
char name [MAX_QPATH]
char target [MAX_VAR]
char tagname [MAX_VAR]
struct localModel_sparent
qboolean inuse
vec3_t origin
vec3_t angles
vec3_t scale
int entnum
int renderEntityNum
int skin
int renderFlags
int frame
char animname [MAX_QPATH]
int levelflags
animState_t as
void(* think )(struct localModel_s *localModel)
struct model_smodel

Detailed Description

local models

Definition at line 147 of file cl_localentity.h.


Field Documentation

Definition at line 157 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 165 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder(), LM_Register(), and SP_misc_model().

Definition at line 167 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder(), and LM_Register().

entnum from the entity string (if available in the server, they match)

Definition at line 160 of file cl_localentity.h.

Referenced by LM_AddModel().

which static frame to show (this can't be used if animname is set)

Definition at line 164 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 148 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder(), and SP_misc_model().

Definition at line 154 of file cl_localentity.h.

Referenced by LM_AddModel(), LM_AddToSceneOrder(), and LM_Register().

Definition at line 166 of file cl_localentity.h.

Referenced by LM_AddModel(), and LM_AddToSceneOrder().

Definition at line 172 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 150 of file cl_localentity.h.

Referenced by LM_AddModel(), and LM_Register().

Definition at line 156 of file cl_localentity.h.

Referenced by LM_AddModel(), and LM_AddToSceneOrder().

in case a tag should be used to place the model a parent local model id must be given

Definition at line 153 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder(), and LMT_Init().

entity number in the renderer entity array

Definition at line 161 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder().

effect flags

Definition at line 163 of file cl_localentity.h.

Referenced by LM_AddModel(), and LM_AddToSceneOrder().

default is 1.0 - no scaling

Definition at line 158 of file cl_localentity.h.

Referenced by LM_AddModel(), and LM_AddToSceneOrder().

Definition at line 162 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 152 of file cl_localentity.h.

Referenced by LM_AddToSceneOrder(), and SP_misc_model().

char localModel_s::target[MAX_VAR]

Definition at line 151 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

Referenced by LM_Think(), LMT_Init(), and SP_misc_model().


The documentation for this struct was generated from the following file:

Generated by  doxygen 1.6.2