QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
gl_rsurf.c File Reference

Macros

#define CHAIN_SURF_B2F(surf, chain)
 
#define CHAIN_SURF_F2B(surf, chain)
 
#define COLINEAR_EPSILON   0.001
 
#define NH_DEFINE
 
#define NUM_INSTSURFS   (64 * 6)
 

Functions

void GL_BuildSurfaceDisplayList (msurface_t *fa)
 
void gl_R_AddTexture (texture_t *tex)
 
void gl_R_ClearTextures (void)
 
void gl_R_DrawBrushModel (entity_t *e)
 
void gl_R_DrawWaterSurfaces (void)
 
void gl_R_DrawWorld (void)
 
void gl_R_InitSurfaceChains (model_t *model)
 

Variables

model_tgl_currentmodel
 

Macro Definition Documentation

#define CHAIN_SURF_B2F (   surf,
  chain 
)
Value:
do { \
instsurf_t *inst = (surf)->instsurf; \
if (__builtin_expect(!inst, 1)) \
(surf)->tinst = inst = get_instsurf (); \
inst->surface = (surf); \
inst->tex_chain = (chain); \
(chain) = inst; \
} while (0)
struct instsurf_s instsurf_t
Instanced surface data.
if(!(yy_init))
Definition: qp-lex.c:893
#define CHAIN_SURF_F2B (   surf,
  chain 
)
Value:
do { \
instsurf_t *inst = (surf)->instsurf; \
if (__builtin_expect(!inst, 1)) \
(surf)->tinst = inst = get_instsurf (); \
inst->surface = (surf); \
*(chain##_tail) = inst; \
(chain##_tail) = &inst->tex_chain; \
*(chain##_tail) = 0; \
} while (0)
struct instsurf_s instsurf_t
Instanced surface data.
if(!(yy_init))
Definition: qp-lex.c:893
#define COLINEAR_EPSILON   0.001
#define NH_DEFINE
#define NUM_INSTSURFS   (64 * 6)

Function Documentation

void GL_BuildSurfaceDisplayList ( msurface_t fa)
void gl_R_AddTexture ( texture_t tex)
void gl_R_ClearTextures ( void  )
void gl_R_DrawBrushModel ( entity_t e)
void gl_R_DrawWaterSurfaces ( void  )
void gl_R_DrawWorld ( void  )
void gl_R_InitSurfaceChains ( model_t model)

Variable Documentation

model_t* gl_currentmodel