#include <r_model_brush.h>
Data Fields | |
cBspPlane_t * | plane |
int | flags |
int | tile |
int | frame |
int | firstedge |
int | numedges |
short | stmins [2] |
short | stmaxs [2] |
vec2_t | stcenter |
vec2_t | stextents |
vec3_t | mins |
vec3_t | maxs |
vec3_t | center |
vec4_t | color |
vec3_t | normal |
int | light_s |
int | light_t |
int | lightmap_scale |
unsigned int | index |
int | tracenum |
mBspTexInfo_t * | texinfo |
mBspFlare_t * | flare |
int | lightmap_texnum |
int | deluxemap_texnum |
byte * | samples |
byte * | lightmap |
int | lightframe |
int | lights |
qboolean | isOriginBrushModel |
Definition at line 84 of file r_model_brush.h.
Definition at line 103 of file r_model_brush.h.
Referenced by R_CreateSurfaceFlare(), and R_SetSurfaceExtents().
Definition at line 104 of file r_model_brush.h.
Referenced by R_BuildDefaultLightmap(), R_BuildLightmap(), R_CreateSurfaceFlare(), and R_SetSurfaceStageState().
Definition at line 119 of file r_model_brush.h.
Referenced by R_CreateSurfaceLightmap(), and R_SetSurfaceBumpMappingParameters().
look up in model->surfedges[], negative numbers are backwards edges
Definition at line 92 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), R_ModLoadSurfaces(), and R_SetSurfaceExtents().
Definition at line 86 of file r_model_brush.h.
Referenced by R_CreateSurfaceLightmap(), R_DrawBspModelSurfaces(), R_LoadBspVertexArrays(), R_ModLoadSurfaces(), R_RecursiveWorldNode(), R_SetSurfaceBumpMappingParameters(), R_SetSurfaceState(), and R_StageLighting().
Definition at line 116 of file r_model_brush.h.
Referenced by R_CreateSurfaceFlare(), and R_DrawFlareSurfaces().
used to decide whether this surface should be drawn
Definition at line 89 of file r_model_brush.h.
Referenced by R_DrawBspModelSurfaces(), R_DrawBspNormals(), R_DrawFlareSurfaces(), R_DrawMaterialSurfaces(), R_DrawSurfaces(), and R_RecursiveWorldNode().
unsigned int mBspSurface_s::index |
Definition at line 110 of file r_model_brush.h.
Referenced by R_DrawBspNormals(), R_DrawSurface(), R_DrawSurfaceStage(), and R_LoadBspVertexArrays().
func_door, func_rotating - if this is true the vertices for this surface won't get shifted in case of an rma - these surfaces are translated by their entities origin vector (which was given by the CONTENTS_ORIGIN flag in ufo2map and removed from the bsp later)
Definition at line 127 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), and R_SetupSubmodels().
Definition at line 107 of file r_model_brush.h.
Referenced by R_CreateSurfaceLightmap(), and R_LoadBspVertexArrays().
gl lightmap coordinates
Definition at line 107 of file r_model_brush.h.
Referenced by R_CreateSurfaceLightmap(), and R_LoadBspVertexArrays().
dynamic lighting frame
Definition at line 124 of file r_model_brush.h.
finalized lightmap samples, cached for lookups
Definition at line 122 of file r_model_brush.h.
Referenced by R_BuildLightmap().
Definition at line 108 of file r_model_brush.h.
Referenced by R_BuildDefaultLightmap(), R_BuildLightmap(), R_CreateSurfaceLightmap(), R_LoadBspVertexArrays(), R_ModLoadSurfaces(), and R_SetSurfaceExtents().
Definition at line 118 of file r_model_brush.h.
Referenced by R_CreateSurfaceLightmap(), R_SetSurfaceState(), and R_StageLighting().
bitmask of dynamic light sources
Definition at line 125 of file r_model_brush.h.
Definition at line 101 of file r_model_brush.h.
Referenced by R_CreateSurfaceFlare(), R_DrawSurface(), and R_SetSurfaceExtents().
Definition at line 100 of file r_model_brush.h.
Referenced by R_CreateSurfaceFlare(), R_DrawSurface(), and R_SetSurfaceExtents().
Definition at line 105 of file r_model_brush.h.
Referenced by R_CreateSurfaceFlare(), R_DrawFlareSurfaces(), R_LoadBspVertexArrays(), and R_ModLoadSurfaces().
Definition at line 93 of file r_model_brush.h.
Referenced by R_DrawBspNormals(), R_DrawSurface(), R_DrawSurfaceStage(), R_LoadBspVertexArrays(), R_ModLoadSurfaces(), and R_SetSurfaceExtents().
Definition at line 85 of file r_model_brush.h.
Referenced by R_DrawBspModelSurfaces(), and R_ModLoadSurfaces().
lightmap samples - only used at loading time
Definition at line 121 of file r_model_brush.h.
Referenced by R_BuildLightmap(), R_CreateSurfaceLightmap(), and R_ModLoadSurfaces().
Definition at line 97 of file r_model_brush.h.
Referenced by R_SetSurfaceExtents(), and R_StageTextureMatrix().
Definition at line 98 of file r_model_brush.h.
Referenced by R_BuildDefaultLightmap(), R_BuildLightmap(), R_CreateSurfaceLightmap(), and R_SetSurfaceExtents().
short mBspSurface_s::stmaxs[2] |
st max coordinates
Definition at line 96 of file r_model_brush.h.
Referenced by R_SetSurfaceExtents().
short mBspSurface_s::stmins[2] |
st min coordinates
Definition at line 95 of file r_model_brush.h.
Referenced by R_LoadBspVertexArrays(), and R_SetSurfaceExtents().
Definition at line 114 of file r_model_brush.h.
Referenced by R_BuildLightmap(), R_CreateSurfaceFlare(), R_DrawBspNormals(), R_DrawMaterialSurfaces(), R_LoadBspVertexArrays(), R_LoadSurfacesArrays_(), R_ModLoadSurfaces(), R_SetSurfaceBumpMappingParameters(), R_SetSurfaceExtents(), R_SetSurfaceState(), R_SetupSubmodels(), R_SortSurfacesArrays(), R_SortSurfacesArrays_(), and R_StageTextureMatrix().
index in r_mapTiles (loaded bsp map index) this surface belongs, to
Definition at line 87 of file r_model_brush.h.
Referenced by R_DrawSurfaceStage(), R_ModLoadSurfaces(), and R_SetSurfaceState().
Definition at line 112 of file r_model_brush.h.