UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
rendererData_t Struct Reference

#include <cl_renderer.h>

Data Fields

bool ready
 
float fieldOfViewX
 
float fieldOfViewY
 
vec3_t viewOrigin
 
vec3_t viewAngles
 
float time
 
int rendererFlags
 
int worldlevel
 
int brushCount
 
int aliasCount
 
int batchCount
 
int FFPToShaderCount
 
int shaderToShaderCount
 
int shaderToFFPCount
 
int weather
 
vec4_t fogColor
 
vec4_t ambientColor
 
vec4_t modelAmbientColor
 
vec4_t sunDiffuseColor
 
vec4_t sunSpecularColor
 
vec4_t sunVector
 
int numEntities
 
int numDynamicLights
 
light_t dynamicLights [MAX_GL_LIGHTS]
 
light_t staticLights [MAX_STATIC_LIGHTS]
 
int numStaticLights
 
int numCoronas
 
corona_t coronas [MAX_CORONAS]
 
trace_t trace
 
struct entity_straceEntity
 
mapTiles_tmapTiles
 

Detailed Description

Definition at line 168 of file cl_renderer.h.

Field Documentation

int rendererData_t::aliasCount
vec4_t rendererData_t::ambientColor
int rendererData_t::brushCount

Definition at line 177 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_DrawSurfaces(), and SCR_UpdateScreen().

corona_t rendererData_t::coronas[MAX_CORONAS]

Definition at line 198 of file cl_renderer.h.

Referenced by R_AddCorona(), and R_DrawCoronas().

light_t rendererData_t::dynamicLights[MAX_GL_LIGHTS]

Definition at line 191 of file cl_renderer.h.

Referenced by R_AddLight(), R_EnableWorldLights(), R_RenderFrame(), and R_UpdateLightList().

int rendererData_t::FFPToShaderCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

float rendererData_t::fieldOfViewX
float rendererData_t::fieldOfViewY

Definition at line 171 of file cl_renderer.h.

Referenced by CL_ViewCalcFieldOfViewY(), and R_SetupFrustum().

mapTiles_t* rendererData_t::mapTiles

Definition at line 203 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_Trace(), and SEQ_Render3D().

vec4_t rendererData_t::modelAmbientColor

clamped to avoid black models

Definition at line 183 of file cl_renderer.h.

Referenced by R_EnableModelLights(), R_InitModelProgram(), R_UseModelProgram(), and SP_worldspawn().

int rendererData_t::numCoronas

Definition at line 197 of file cl_renderer.h.

Referenced by R_AddCorona(), R_ClearScene(), and R_DrawCoronas().

int rendererData_t::numDynamicLights
int rendererData_t::numStaticLights
bool rendererData_t::ready

false if on new level or vid restart - if this is true the map can be rendered

Definition at line 169 of file cl_renderer.h.

Referenced by CL_ParseConfigString(), CL_ParseServerData(), CL_ViewLoadMedia(), CL_ViewRender(), R_RunThread(), SCR_UpdateScreen(), and VID_Restart_f().

int rendererData_t::shaderToFFPCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

int rendererData_t::shaderToShaderCount

Definition at line 178 of file cl_renderer.h.

Referenced by CL_ViewRender(), R_UseProgram(), and SCR_UpdateScreen().

light_t rendererData_t::staticLights[MAX_STATIC_LIGHTS]

Definition at line 194 of file cl_renderer.h.

Referenced by R_AddStaticLight(), R_RenderFrame(), and R_UpdateLightList().

vec4_t rendererData_t::sunDiffuseColor
vec4_t rendererData_t::sunSpecularColor

Definition at line 185 of file cl_renderer.h.

Referenced by SP_worldspawn().

vec4_t rendererData_t::sunVector

pointing towards the sun, should be x y z 0 to match the OpengGL logic

Definition at line 186 of file cl_renderer.h.

Referenced by R_EnableModelLights(), R_InitModelProgram(), R_UpdateLightList(), R_UseModelProgram(), and SP_worldspawn().

trace_t rendererData_t::trace

occlusion testing

Definition at line 200 of file cl_renderer.h.

Referenced by R_DrawFlareSurfaces(), R_Trace(), R_UpdateLightList(), and R_UpdateShadowOrigin().

struct entity_s* rendererData_t::traceEntity

Definition at line 201 of file cl_renderer.h.

Referenced by R_Trace().

vec3_t rendererData_t::viewAngles
int rendererData_t::weather

weather effects

Definition at line 180 of file cl_renderer.h.

Referenced by R_EnableFog(), and SP_worldspawn().

int rendererData_t::worldlevel

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