mBspSurface_s Struct Reference

#include <r_model_brush.h>

Collaboration diagram for mBspSurface_s:
Collaboration graph
[legend]

Data Fields

cBspPlane_tplane
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_ttexinfo
mBspFlare_tflare
int lightmap_texnum
int deluxemap_texnum
bytesamples
bytelightmap
int lightframe
int lights
qboolean isOriginBrushModel

Detailed Description

Definition at line 84 of file r_model_brush.h.


Field Documentation

Definition at line 103 of file r_model_brush.h.

Referenced by R_CreateSurfaceFlare(), and R_SetSurfaceExtents().

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 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

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 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 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().

st max coordinates

Definition at line 96 of file r_model_brush.h.

Referenced by R_SetSurfaceExtents().

st min coordinates

Definition at line 95 of file r_model_brush.h.

Referenced by R_LoadBspVertexArrays(), and R_SetSurfaceExtents().

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.


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

Generated by  doxygen 1.6.2