Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

trGlobals_t Struct Reference

#include <tr_local.h>

Collaboration diagram for trGlobals_t:

Collaboration graph
[legend]

Data Fields

trRefEntity_tcurrentEntity
int currentEntityNum
model_tcurrentModel
image_tdefaultImage
shader_tdefaultShader
image_tdlightImage
const byteexternalVisData
image_tflareImage
shader_tflareShader
image_tfogImage
float fogTable [FOG_TABLE_SIZE]
int frameCount
int frameSceneNum
int frontEndMsec
float identityLight
int identityLightByte
image_tidentityLightImage
image_timages [MAX_DRAWIMAGES]
float inverseSawToothTable [FUNCTABLE_SIZE]
image_tlightmaps [MAX_LIGHTMAPS]
model_tmodels [MAX_MOD_KNOWN]
int numImages
int numLightmaps
int numModels
int numShaders
int numSkins
orientationr_t or
int overbrightBits
frontEndCounters_t pc
shader_tprojectionShadowShader
trRefdef_t refdef
qboolean registered
float sawToothTable [FUNCTABLE_SIZE]
int sceneCount
image_tscratchImage [32]
shader_tshaders [MAX_SHADERS]
shader_tshadowShader
int shiftedEntityNum
float sinTable [FUNCTABLE_SIZE]
skin_tskins [MAX_SKINS]
int smpFrame
shader_tsortedShaders [MAX_SHADERS]
float squareTable [FUNCTABLE_SIZE]
vec3_t sunDirection
vec3_t sunLight
shader_tsunShader
float triangleTable [FUNCTABLE_SIZE]
int viewCluster
int viewCount
viewParms_t viewParms
int visCount
image_twhiteImage
world_tworld
trRefEntity_t worldEntity
qboolean worldMapLoaded

Field Documentation

trRefEntity_t* currentEntity
 

Definition at line 910 of file tr_local.h.

Referenced by IsMirror(), R_AddBrushModelSurfaces(), R_AddEntitySurfaces(), R_DlightBmodel(), and R_GetPortalOrientations().

int currentEntityNum
 

Definition at line 912 of file tr_local.h.

Referenced by IsMirror(), R_AddEntitySurfaces(), R_AddPolygonSurfaces(), R_AddWorldSurfaces(), R_CullGrid(), and R_GetPortalOrientations().

model_t* currentModel
 

Definition at line 914 of file tr_local.h.

Referenced by R_AddAnimSurfaces(), R_AddEntitySurfaces(), R_AddMD3Surfaces(), and R_ComputeLOD().

image_t* defaultImage
 

Definition at line 892 of file tr_local.h.

Referenced by CreateInternalShaders(), GL_Bind(), ParseSkyParms(), R_CreateDefaultImage(), and RB_StageIteratorSky().

shader_t* defaultShader
 

Definition at line 900 of file tr_local.h.

Referenced by CreateInternalShaders(), GeneratePermanentShader(), ParseFace(), ParseFlare(), ParseMesh(), ParseTriSurf(), R_AddEntitySurfaces(), R_AddMD3Surfaces(), R_FindShader(), R_FindShaderByName(), R_GetShaderByHandle(), R_InitSkins(), R_RemapShader(), and ShaderForShaderNum().

image_t* dlightImage
 

Definition at line 895 of file tr_local.h.

Referenced by GL_Bind(), GL_BindMultitexture(), ProjectDlightTexture(), and R_CreateDlightImage().

const byte* externalVisData
 

Definition at line 890 of file tr_local.h.

Referenced by R_LoadVisibility(), and RE_SetWorldVisData().

image_t* flareImage
 

Definition at line 896 of file tr_local.h.

shader_t* flareShader
 

Definition at line 904 of file tr_local.h.

Referenced by CreateExternalShaders(), and RB_RenderFlare().

image_t* fogImage
 

Definition at line 894 of file tr_local.h.

Referenced by R_CreateFogImage(), and RB_FogPass().

float fogTable[FOG_TABLE_SIZE]
 

Definition at line 959 of file tr_local.h.

Referenced by R_FogFactor(), and R_InitFogTable().

int frameCount
 

Definition at line 878 of file tr_local.h.

Referenced by GL_Bind(), GL_BindMultitexture(), R_RenderView(), R_SumOfUsedImages(), and RE_BeginFrame().

int frameSceneNum
 

Definition at line 885 of file tr_local.h.

Referenced by R_RenderView(), RE_BeginFrame(), and RE_RenderScene().

int frontEndMsec
 

Definition at line 932 of file tr_local.h.

Referenced by RE_EndFrame(), and RE_RenderScene().

float identityLight
 

Definition at line 918 of file tr_local.h.

Referenced by ComputeColors(), R_LoadFogs(), R_SetColorMappings(), R_SetupEntityLighting(), RB_CalcWaveColor(), RB_RenderFlare(), RB_StageIteratorSky(), and RE_StretchRaw().

int identityLightByte
 

Definition at line 919 of file tr_local.h.

Referenced by ComputeColors(), R_CreateBuiltinImages(), R_SetColorMappings(), and R_SetupEntityLighting().

image_t* identityLightImage
 

Definition at line 898 of file tr_local.h.

Referenced by R_CreateBuiltinImages().

image_t* images[MAX_DRAWIMAGES]
 

Definition at line 942 of file tr_local.h.

Referenced by GL_TextureMode(), R_CreateImage(), R_DeleteTextures(), R_ImageList_f(), R_SumOfUsedImages(), and RB_ShowImages().

float inverseSawToothTable[FUNCTABLE_SIZE]
 

Definition at line 958 of file tr_local.h.

Referenced by R_Init(), and TableForFunc().

image_t* lightmaps[MAX_LIGHTMAPS]
 

Definition at line 908 of file tr_local.h.

Referenced by ParseStage(), R_FindShader(), R_LoadLightmaps(), and RE_RegisterShaderFromImage().

model_t* models[MAX_MOD_KNOWN]
 

Definition at line 938 of file tr_local.h.

Referenced by R_AllocModel(), R_GetModelByHandle(), R_Modellist_f(), and RE_RegisterModel().

int numImages
 

Definition at line 941 of file tr_local.h.

Referenced by GL_TextureMode(), R_CreateImage(), R_DeleteTextures(), R_ImageList_f(), R_SumOfUsedImages(), and RB_ShowImages().

int numLightmaps
 

Definition at line 907 of file tr_local.h.

Referenced by R_FindShader(), and R_LoadLightmaps().

int numModels
 

Definition at line 939 of file tr_local.h.

Referenced by R_AllocModel(), R_GetModelByHandle(), R_ModelInit(), R_Modellist_f(), and RE_RegisterModel().

int numShaders
 

Definition at line 947 of file tr_local.h.

Referenced by CreateInternalShaders(), GeneratePermanentShader(), R_GetShaderByHandle(), R_ShaderList_f(), and SortNewShader().

int numSkins
 

Definition at line 951 of file tr_local.h.

Referenced by R_AddMD3Surfaces(), R_GetSkinByHandle(), R_InitSkins(), R_SkinList_f(), and RE_RegisterSkin().

orientationr_t or
 

Definition at line 922 of file tr_local.h.

Referenced by IsMirror(), R_AddEntitySurfaces(), R_CullLocalBox(), R_CullSurface(), R_DlightBmodel(), R_GetPortalOrientations(), R_LocalNormalToWorld(), R_LocalPointToWorld(), R_RotateForViewer(), R_WorldToLocal(), and SurfIsOffscreen().

int overbrightBits
 

Definition at line 920 of file tr_local.h.

Referenced by GfxInfo_f(), R_ColorShiftLightingBytes(), R_LevelShot(), R_SetColorMappings(), RB_TakeScreenshot(), and RB_TakeScreenshotJPEG().

frontEndCounters_t pc
 

Definition at line 931 of file tr_local.h.

Referenced by R_CullGrid(), R_CullModel(), R_DlightFace(), R_DlightGrid(), R_DlightSurface(), R_DlightTrisurf(), R_PerformanceCounters(), and R_RecursiveWorldNode().

shader_t* projectionShadowShader
 

Definition at line 902 of file tr_local.h.

Referenced by CreateExternalShaders(), and R_AddMD3Surfaces().

trRefdef_t refdef
 

Definition at line 924 of file tr_local.h.

Referenced by IsMirror(), R_AddDrawSurf(), R_AddDrawSurfCmd(), R_AddEntitySurfaces(), R_AddMD3Surfaces(), R_AddPolygonSurfaces(), R_AddWorldSurfaces(), R_ComputeFogNum(), R_DlightBmodel(), R_DlightFace(), R_DlightGrid(), R_DlightTrisurf(), R_GetPortalOrientations(), R_MarkLeaves(), R_RecursiveWorldNode(), R_RenderView(), R_SetupProjection(), R_SpriteFogNum(), RE_RenderScene(), and SetFarClip().

qboolean registered
 

Definition at line 875 of file tr_local.h.

Referenced by R_SyncRenderThread(), RE_AddDynamicLightToScene(), RE_AddPolyToScene(), RE_AddRefEntityToScene(), RE_BeginFrame(), RE_BeginRegistration(), RE_EndFrame(), RE_RenderScene(), RE_SetColor(), RE_Shutdown(), RE_StretchPic(), and RE_StretchRaw().

float sawToothTable[FUNCTABLE_SIZE]
 

Definition at line 957 of file tr_local.h.

Referenced by R_Init(), and TableForFunc().

int sceneCount
 

Definition at line 879 of file tr_local.h.

Referenced by RE_RenderScene().

image_t* scratchImage[32]
 

Definition at line 893 of file tr_local.h.

Referenced by ParseStage(), R_CreateBuiltinImages(), RE_StretchRaw(), and RE_UploadCinematic().

shader_t* shaders[MAX_SHADERS]
 

Definition at line 948 of file tr_local.h.

Referenced by GeneratePermanentShader(), R_AddMD3Surfaces(), R_GetShaderByHandle(), R_ShaderList_f(), and SortNewShader().

shader_t* shadowShader
 

Definition at line 901 of file tr_local.h.

Referenced by CreateInternalShaders(), R_AddMD3Surfaces(), and RB_EndSurface().

int shiftedEntityNum
 

Definition at line 913 of file tr_local.h.

Referenced by R_AddDrawSurf(), R_AddEntitySurfaces(), R_AddPolygonSurfaces(), and R_AddWorldSurfaces().

float sinTable[FUNCTABLE_SIZE]
 

Definition at line 954 of file tr_local.h.

Referenced by LerpMeshVertexes(), R_Init(), R_SetupEntityLightingGrid(), RB_CalcBulgeVertexes(), RB_CalcRotateTexCoords(), RB_CalcTurbulentTexCoords(), and TableForFunc().

skin_t* skins[MAX_SKINS]
 

Definition at line 952 of file tr_local.h.

Referenced by R_GetSkinByHandle(), R_InitSkins(), R_SkinList_f(), and RE_RegisterSkin().

int smpFrame
 

Definition at line 883 of file tr_local.h.

Referenced by FixRenderCommandList(), R_DlightBmodel(), R_DlightFace(), R_DlightGrid(), R_DlightTrisurf(), R_GetCommandBuffer(), R_IssueRenderCommands(), R_ToggleSmpFrame(), RE_AddDynamicLightToScene(), RE_AddPolyToScene(), RE_AddRefEntityToScene(), and RE_RenderScene().

shader_t* sortedShaders[MAX_SHADERS]
 

Definition at line 949 of file tr_local.h.

Referenced by GeneratePermanentShader(), R_DecomposeSort(), R_ShaderList_f(), and SortNewShader().

float squareTable[FUNCTABLE_SIZE]
 

Definition at line 955 of file tr_local.h.

Referenced by R_Init(), and TableForFunc().

vec3_t sunDirection
 

Definition at line 929 of file tr_local.h.

Referenced by ParseShader(), R_SetupEntityLighting(), RB_DrawSun(), and RE_LoadWorldMap().

vec3_t sunLight
 

Definition at line 928 of file tr_local.h.

Referenced by ParseShader().

shader_t* sunShader
 

Definition at line 905 of file tr_local.h.

Referenced by CreateExternalShaders(), and RB_DrawSun().

float triangleTable[FUNCTABLE_SIZE]
 

Definition at line 956 of file tr_local.h.

Referenced by R_Init(), and TableForFunc().

int viewCluster
 

Definition at line 926 of file tr_local.h.

Referenced by R_MarkLeaves(), R_PerformanceCounters(), and RE_BeginRegistration().

int viewCount
 

Definition at line 880 of file tr_local.h.

Referenced by R_AddWorldSurface(), R_BoxSurfaces_r(), R_MarkFragments(), and R_RenderView().

viewParms_t viewParms
 

Definition at line 916 of file tr_local.h.

Referenced by IsMirror(), ProjectRadius(), R_AddDrawSurfCmd(), R_AddEntitySurfaces(), R_AddMD3Surfaces(), R_AddWorldSurfaces(), R_CullLocalBox(), R_CullPointAndRadius(), R_GetPortalOrientations(), R_MarkLeaves(), R_MirrorViewBySurface(), R_PerformanceCounters(), R_RecursiveWorldNode(), R_RenderView(), R_RotateForViewer(), R_SetupFrustum(), R_SetupProjection(), SetFarClip(), and SurfIsOffscreen().

int visCount
 

Definition at line 877 of file tr_local.h.

Referenced by R_MarkLeaves(), and R_RecursiveWorldNode().

image_t* whiteImage
 

Definition at line 897 of file tr_local.h.

Referenced by DrawNormals(), DrawTris(), ParseStage(), R_CreateBuiltinImages(), R_DebugGraphics(), R_FindShader(), RB_IterateStagesGeneric(), RB_ShadowFinish(), RB_ShadowTessEnd(), RB_SurfaceAxis(), RB_SurfaceBeam(), and RE_RegisterShaderFromImage().

world_t* world
 

Definition at line 888 of file tr_local.h.

Referenced by ComputeColors(), R_AddWorldSurfaces(), R_ClusterPVS(), R_ComputeFogNum(), R_LevelShot(), R_LightForPoint(), R_MarkFragments(), R_MarkLeaves(), R_Modellist_f(), R_PointInLeaf(), R_SetupEntityLighting(), R_SetupEntityLightingGrid(), R_SpriteFogNum(), RB_AddDlightFlares(), RB_CalcFogTexCoords(), RB_FogPass(), RE_AddPolyToScene(), RE_LoadWorldMap(), and RE_RenderScene().

trRefEntity_t worldEntity
 

Definition at line 911 of file tr_local.h.

Referenced by Autosprite2Deform(), AutospriteDeform(), and RB_RenderDrawSurfList().

qboolean worldMapLoaded
 

Definition at line 887 of file tr_local.h.

Referenced by RE_LoadWorldMap().


The documentation for this struct was generated from the following file:
Generated on Thu Aug 25 20:01:37 2005 for Quake III Arena by  doxygen 1.3.9.1