doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
tr_lightrun.cpp File Reference
#include "../idlib/precompiled.h"
#include "tr_local.h"

Go to the source code of this file.

Macros

#define MAX_LIGHT_VERTS   40
 

Functions

void R_ModulateLights_f (const idCmdArgs &args)
 
void R_CreateEntityRefs (idRenderEntityLocal *def)
 
void R_SetLightProject (idPlane lightProject[4], const idVec3 origin, const idVec3 target, const idVec3 rightVector, const idVec3 upVector, const idVec3 start, const idVec3 stop)
 
void R_SetLightFrustum (const idPlane lightProject[4], idPlane frustum[6])
 
void R_FreeLightDefFrustum (idRenderLightLocal *ldef)
 
void R_DeriveLightData (idRenderLightLocal *light)
 
void R_CreateLightRefs (idRenderLightLocal *light)
 
void R_RenderLightFrustum (const renderLight_t &renderLight, idPlane lightFrustum[6])
 
bool WindingCompletelyInsideLight (const idWinding *w, const idRenderLightLocal *ldef)
 
void R_CreateLightDefFogPortals (idRenderLightLocal *ldef)
 
void R_FreeLightDefDerivedData (idRenderLightLocal *ldef)
 
void R_FreeEntityDefDerivedData (idRenderEntityLocal *def, bool keepDecals, bool keepCachedDynamicModel)
 
void R_ClearEntityDefDynamicModel (idRenderEntityLocal *def)
 
void R_FreeEntityDefDecals (idRenderEntityLocal *def)
 
void R_FreeEntityDefFadedDecals (idRenderEntityLocal *def, int time)
 
void R_FreeEntityDefOverlay (idRenderEntityLocal *def)
 
void R_FreeDerivedData (void)
 
void R_CheckForEntityDefsUsingModel (idRenderModel *model)
 
void R_ReCreateWorldReferences (void)
 
void R_RegenerateWorld_f (const idCmdArgs &args)
 

Macro Definition Documentation

#define MAX_LIGHT_VERTS   40

Definition at line 446 of file tr_lightrun.cpp.

Function Documentation

void R_CheckForEntityDefsUsingModel ( idRenderModel model)

Definition at line 785 of file tr_lightrun.cpp.

void R_ClearEntityDefDynamicModel ( idRenderEntityLocal def)

Definition at line 699 of file tr_lightrun.cpp.

void R_CreateEntityRefs ( idRenderEntityLocal def)

Definition at line 168 of file tr_lightrun.cpp.

void R_CreateLightDefFogPortals ( idRenderLightLocal ldef)

Definition at line 548 of file tr_lightrun.cpp.

void R_CreateLightRefs ( idRenderLightLocal light)

Definition at line 447 of file tr_lightrun.cpp.

void R_DeriveLightData ( idRenderLightLocal light)

Definition at line 351 of file tr_lightrun.cpp.

void R_FreeDerivedData ( void  )

Definition at line 753 of file tr_lightrun.cpp.

void R_FreeEntityDefDecals ( idRenderEntityLocal def)

Definition at line 716 of file tr_lightrun.cpp.

void R_FreeEntityDefDerivedData ( idRenderEntityLocal def,
bool  keepDecals,
bool  keepCachedDynamicModel 
)

Definition at line 633 of file tr_lightrun.cpp.

void R_FreeEntityDefFadedDecals ( idRenderEntityLocal def,
int  time 
)

Definition at line 729 of file tr_lightrun.cpp.

void R_FreeEntityDefOverlay ( idRenderEntityLocal def)

Definition at line 738 of file tr_lightrun.cpp.

void R_FreeLightDefDerivedData ( idRenderLightLocal ldef)

Definition at line 596 of file tr_lightrun.cpp.

void R_FreeLightDefFrustum ( idRenderLightLocal ldef)

Definition at line 327 of file tr_lightrun.cpp.

void R_ModulateLights_f ( const idCmdArgs args)

Definition at line 123 of file tr_lightrun.cpp.

void R_ReCreateWorldReferences ( void  )

Definition at line 815 of file tr_lightrun.cpp.

void R_RegenerateWorld_f ( const idCmdArgs args)

Definition at line 863 of file tr_lightrun.cpp.

void R_RenderLightFrustum ( const renderLight_t renderLight,
idPlane  lightFrustum[6] 
)

Definition at line 501 of file tr_lightrun.cpp.

void R_SetLightFrustum ( const idPlane  lightProject[4],
idPlane  frustum[6] 
)

Definition at line 297 of file tr_lightrun.cpp.

void R_SetLightProject ( idPlane  lightProject[4],
const idVec3  origin,
const idVec3  target,
const idVec3  rightVector,
const idVec3  upVector,
const idVec3  start,
const idVec3  stop 
)

Definition at line 231 of file tr_lightrun.cpp.

bool WindingCompletelyInsideLight ( const idWinding w,
const idRenderLightLocal ldef 
)

Definition at line 524 of file tr_lightrun.cpp.