icculus quake2 doxygen  1.0 dev
model_s Struct Reference

#include <r_model.h>

Public Attributes

char name [MAX_QPATH]
 
int registration_sequence
 
modtype_t type
 
int numframes
 
int flags
 
vec3_t mins
 
vec3_t maxs
 
qboolean clipbox
 
vec3_t clipmins
 
vec3_t clipmaxs
 
int firstmodelsurface
 
int nummodelsurfaces
 
int numsubmodels
 
dmodel_tsubmodels
 
int numplanes
 
mplane_tplanes
 
int numleafs
 
mleaf_tleafs
 
int numvertexes
 
mvertex_tvertexes
 
int numedges
 
medge_tedges
 
int numnodes
 
int firstnode
 
mnode_tnodes
 
int numtexinfo
 
mtexinfo_ttexinfo
 
int numsurfaces
 
msurface_tsurfaces
 
int numsurfedges
 
intsurfedges
 
int nummarksurfaces
 
msurface_t ** marksurfaces
 
dvis_tvis
 
bytelightdata
 
image_tskins [MAX_MD2SKINS]
 
voidextradata
 
int extradatasize
 
float radius
 
int lightmap
 
mmodel_tsubmodels
 
cplane_tplanes
 

Detailed Description

Definition at line 171 of file r_model.h.

Member Data Documentation

◆ clipbox

qboolean model_s::clipbox

Definition at line 190 of file r_model.h.

◆ clipmaxs

vec3_t model_s::clipmaxs

Definition at line 191 of file r_model.h.

◆ clipmins

vec3_t model_s::clipmins

Definition at line 191 of file r_model.h.

◆ edges

◆ extradata

◆ extradatasize

int model_s::extradatasize

Definition at line 236 of file r_model.h.

Referenced by Mod_ForName(), Mod_FreeAll(), Mod_Modellist_f(), and R_EndRegistration().

◆ firstmodelsurface

int model_s::firstmodelsurface

◆ firstnode

int model_s::firstnode

Definition at line 214 of file r_model.h.

Referenced by Mod_LoadBrushModel(), R_DrawInlineBModel(), and R_PushDlights().

◆ flags

int model_s::flags

◆ leafs

mleaf_t * model_s::leafs

Definition at line 205 of file r_model.h.

Referenced by Mod_LoadLeafs(), Mod_LoadNodes(), R_MarkLeaves(), and R_NumberLeafs().

◆ lightdata

byte * model_s::lightdata

◆ lightmap

int model_s::lightmap

Definition at line 201 of file gl_model.h.

◆ marksurfaces

msurface_t ** model_s::marksurfaces

Definition at line 227 of file r_model.h.

Referenced by Mod_LoadLeafs(), and Mod_LoadMarksurfaces().

◆ maxs

vec3_t model_s::maxs

◆ mins

vec3_t model_s::mins

◆ name

◆ nodes

◆ numedges

int model_s::numedges

Definition at line 210 of file r_model.h.

Referenced by Mod_LoadEdges(), and R_InitSkyBox().

◆ numframes

int model_s::numframes

Definition at line 178 of file r_model.h.

Referenced by Mod_LoadBrushModel(), and R_RegisterModel().

◆ numleafs

int model_s::numleafs

Definition at line 204 of file r_model.h.

Referenced by Mod_LoadBrushModel(), Mod_LoadLeafs(), and R_MarkLeaves().

◆ nummarksurfaces

int model_s::nummarksurfaces

Definition at line 226 of file r_model.h.

Referenced by Mod_LoadMarksurfaces().

◆ nummodelsurfaces

◆ numnodes

int model_s::numnodes

Definition at line 213 of file r_model.h.

Referenced by Mod_LoadBrushModel(), Mod_LoadNodes(), and R_MarkLeaves().

◆ numplanes

int model_s::numplanes

Definition at line 201 of file r_model.h.

Referenced by Mod_LoadPlanes().

◆ numsubmodels

int model_s::numsubmodels

Definition at line 198 of file r_model.h.

Referenced by Mod_ForName(), Mod_LoadBrushModel(), and Mod_LoadSubmodels().

◆ numsurfaces

int model_s::numsurfaces

Definition at line 220 of file r_model.h.

Referenced by Mod_LoadFaces(), Mod_LoadMarksurfaces(), and R_InitSkyBox().

◆ numsurfedges

int model_s::numsurfedges

Definition at line 223 of file r_model.h.

Referenced by Mod_LoadSurfedges(), and R_InitSkyBox().

◆ numtexinfo

int model_s::numtexinfo

Definition at line 217 of file r_model.h.

Referenced by Mod_LoadFaces(), Mod_LoadTexinfo(), and R_RegisterModel().

◆ numvertexes

int model_s::numvertexes

Definition at line 207 of file r_model.h.

Referenced by Mod_LoadVertexes(), and R_InitSkyBox().

◆ planes [1/2]

mplane_t* model_s::planes

Definition at line 202 of file r_model.h.

Referenced by Mod_LoadFaces(), Mod_LoadNodes(), and Mod_LoadPlanes().

◆ planes [2/2]

cplane_t* model_s::planes

Definition at line 207 of file gl_model.h.

◆ radius

float model_s::radius

Definition at line 189 of file gl_model.h.

Referenced by CL_NewDlight(), Mod_LoadBrushModel(), and R_DrawBrushModel().

◆ registration_sequence

int model_s::registration_sequence

Definition at line 175 of file r_model.h.

Referenced by R_EndRegistration(), and R_RegisterModel().

◆ skins

◆ submodels [1/2]

dmodel_t* model_s::submodels

Definition at line 199 of file r_model.h.

Referenced by Mod_LoadBrushModel(), and Mod_LoadSubmodels().

◆ submodels [2/2]

mmodel_t* model_s::submodels

Definition at line 204 of file gl_model.h.

◆ surfaces

◆ surfedges

◆ texinfo

mtexinfo_t * model_s::texinfo

Definition at line 218 of file r_model.h.

Referenced by Mod_LoadFaces(), Mod_LoadTexinfo(), and R_RegisterModel().

◆ type

◆ vertexes

◆ vis

dvis_t * model_s::vis

Definition at line 229 of file r_model.h.

Referenced by Mod_ClusterPVS(), Mod_DecompressVis(), Mod_LoadVisibility(), and R_MarkLeaves().