UFO: Alien Invasion
|
brush model More...
#include <r_model_brush.h>
Data Fields | |
int | firstmodelsurface |
int | nummodelsurfaces |
int | maptile |
int | numsubmodels |
mBspHeader_t * | submodels |
int | numplanes |
cBspPlane_t * | planes |
int | numleafs |
mBspLeaf_t * | leafs |
int | numvertexes |
mBspVertex_t * | vertexes |
int | numedges |
mBspEdge_t * | edges |
int | numnodes |
int | firstnode |
mBspNode_t * | nodes |
int | numtexinfo |
mBspTexInfo_t * | texinfo |
int | numsurfaces |
mBspSurface_t * | surfaces |
int | numsurfedges |
int * | surfedges |
float * | verts |
float * | texcoords |
float * | lmtexcoords |
float * | tangents |
float * | normals |
glElementIndex_t * | indexes |
int | numIndexes |
unsigned int | vertex_buffer |
unsigned int | texcoord_buffer |
unsigned int | lmtexcoord_buffer |
unsigned int | tangent_buffer |
unsigned int | normal_buffer |
unsigned int | index_buffer |
byte | lightquant |
byte * | lightdata |
mBspSurfaces_t * | sorted_surfaces [NUM_SURFACES_ARRAYS] |
brush model
Definition at line 199 of file r_model_brush.h.
mBspEdge_t* mBspModel_s::edges |
Definition at line 217 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ModLoadEdges(), and R_SetSurfaceExtents().
int mBspModel_s::firstmodelsurface |
Definition at line 201 of file r_model_brush.h.
Referenced by R_AddBspRRef(), R_GenerateTriangleSoup_(), R_LoadSurfacesArrays_(), R_SetupSubmodels(), R_SetupWorldModel(), and R_SortSurfacesArrays().
int mBspModel_s::firstnode |
Definition at line 220 of file r_model_brush.h.
Referenced by R_SetupSubmodels(), and R_Trace().
unsigned int mBspModel_s::index_buffer |
Definition at line 247 of file r_model_brush.h.
Referenced by R_GenerateTriangleSoup(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
glElementIndex_t* mBspModel_s::indexes |
Definition at line 238 of file r_model_brush.h.
Referenced by R_GenerateGrass(), R_GenerateTriangleSoup(), R_GenerateTriangleSoup_(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_RenderBspRRefs().
mBspLeaf_t* mBspModel_s::leafs |
Definition at line 211 of file r_model_brush.h.
Referenced by R_ModLoadLeafs(), and R_ModLoadNodes().
byte* mBspModel_s::lightdata |
Definition at line 250 of file r_model_brush.h.
Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().
byte mBspModel_s::lightquant |
Definition at line 249 of file r_model_brush.h.
Referenced by R_ModLoadLighting(), and R_ModLoadSurfaces().
unsigned int mBspModel_s::lmtexcoord_buffer |
Definition at line 244 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
float* mBspModel_s::lmtexcoords |
Definition at line 235 of file r_model_brush.h.
Referenced by R_DrawSurfaceStage(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_SetVertexArrayState().
int mBspModel_s::maptile |
the maptile the surface indices belongs to
Definition at line 202 of file r_model_brush.h.
Referenced by R_GenerateTriangleSoup_(), R_ModAddMapTile(), R_RenderBspRRefs(), R_SetupSubmodels(), and R_Trace().
mBspNode_t* mBspModel_s::nodes |
Definition at line 221 of file r_model_brush.h.
Referenced by R_GetLevelSurfaceLists(), R_ModLoadNodes(), and R_SetupSubmodels().
unsigned int mBspModel_s::normal_buffer |
Definition at line 246 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
float* mBspModel_s::normals |
Definition at line 237 of file r_model_brush.h.
Referenced by R_DrawBspNormals(), R_DrawSurfaceStage(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_SetVertexArrayState().
int mBspModel_s::numedges |
Definition at line 216 of file r_model_brush.h.
Referenced by R_ModLoadEdges().
int mBspModel_s::numIndexes |
Definition at line 239 of file r_model_brush.h.
Referenced by R_GenerateTriangleSoup(), R_GenerateTriangleSoup_(), and R_ReinitOpenglContext().
int mBspModel_s::numleafs |
number of visible leafs, not counting 0
Definition at line 210 of file r_model_brush.h.
Referenced by R_ModLoadLeafs(), and R_ModLoadNodes().
int mBspModel_s::nummodelsurfaces |
Definition at line 201 of file r_model_brush.h.
Referenced by R_AddBspRRef(), R_GenerateTriangleSoup_(), R_LoadSurfacesArrays_(), R_SetupSubmodels(), R_SetupWorldModel(), and R_SortSurfacesArrays().
int mBspModel_s::numnodes |
Definition at line 219 of file r_model_brush.h.
Referenced by R_ModLoadNodes(), and R_SetupSubmodels().
int mBspModel_s::numplanes |
Definition at line 207 of file r_model_brush.h.
Referenced by R_ModLoadPlanes().
int mBspModel_s::numsubmodels |
Definition at line 204 of file r_model_brush.h.
Referenced by R_ModLoadSubmodels(), R_SetupSubmodels(), and R_SetupWorldModel().
int mBspModel_s::numsurfaces |
Definition at line 226 of file r_model_brush.h.
Referenced by R_CreateMaterialData_(), R_DrawBspNormals(), R_LoadBspVertexArrays(), R_ModLoadSurfaces(), R_ReinitOpenglContext(), and R_SetupWorldModel().
int mBspModel_s::numsurfedges |
Definition at line 229 of file r_model_brush.h.
Referenced by R_ModLoadSurfedges().
int mBspModel_s::numtexinfo |
Definition at line 223 of file r_model_brush.h.
Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().
int mBspModel_s::numvertexes |
Definition at line 213 of file r_model_brush.h.
Referenced by R_ModLoadNormals(), and R_ModLoadVertexes().
cBspPlane_t* mBspModel_s::planes |
Definition at line 208 of file r_model_brush.h.
Referenced by R_ModLoadNodes(), R_ModLoadPlanes(), R_ModLoadSurfaces(), and R_ModShiftTile().
mBspSurfaces_t* mBspModel_s::sorted_surfaces[NUM_SURFACES_ARRAYS] |
Definition at line 253 of file r_model_brush.h.
Referenced by R_GenerateTriangleSoup_(), R_LoadSurfacesArrays_(), R_ModReloadSurfacesArrays(), R_RenderBspRRefs(), and R_SortSurfacesArrays().
mBspHeader_t* mBspModel_s::submodels |
Definition at line 205 of file r_model_brush.h.
Referenced by R_GenerateGrass(), R_GetLevelSurfaceLists(), R_ModLoadSubmodels(), R_SetupSubmodels(), and R_SetupWorldModel().
mBspSurface_t* mBspModel_s::surfaces |
Definition at line 227 of file r_model_brush.h.
Referenced by R_AddBspRRef(), R_CreateMaterialData_(), R_DrawBspNormals(), R_GenerateGrass(), R_LoadBspVertexArrays(), R_LoadSurfacesArrays_(), R_ModLoadSurfaces(), R_RecursiveVisibleWorldNode(), R_RecursiveWorldNode(), R_ReinitOpenglContext(), R_SetupSubmodels(), and R_SortSurfacesArrays().
int* mBspModel_s::surfedges |
Definition at line 230 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ModLoadSurfedges(), and R_SetSurfaceExtents().
unsigned int mBspModel_s::tangent_buffer |
Definition at line 245 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
float* mBspModel_s::tangents |
Definition at line 236 of file r_model_brush.h.
Referenced by R_DrawSurfaceStage(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_SetVertexArrayState().
unsigned int mBspModel_s::texcoord_buffer |
Definition at line 243 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
float* mBspModel_s::texcoords |
Definition at line 234 of file r_model_brush.h.
Referenced by R_DrawSurfaceStage(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_SetVertexArrayState().
mBspTexInfo_t* mBspModel_s::texinfo |
Definition at line 224 of file r_model_brush.h.
Referenced by R_ModLoadSurfaces(), and R_ModLoadTexinfo().
unsigned int mBspModel_s::vertex_buffer |
Definition at line 242 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ReinitOpenglContext(), R_SetVertexBufferState(), and R_ShutdownModels().
mBspVertex_t* mBspModel_s::vertexes |
Definition at line 214 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ModLoadNormals(), R_ModLoadVertexes(), R_ModShiftTile(), and R_SetSurfaceExtents().
float* mBspModel_s::verts |
Definition at line 233 of file r_model_brush.h.
Referenced by R_DrawBspNormals(), R_DrawSurfaceStage(), R_GenerateGrass(), R_LoadBspVertexArrays(), R_ReinitOpenglContext(), and R_SetVertexArrayState().