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

Macros

#define NH_DEFINE
 
#define RE_LOOP(type_name, Type)
 

Functions

void glsl_R_ClearState (void)
 
void glsl_R_Init (void)
 
void glsl_R_LineGraph (int x, int y, int *h_vals, int count)
 
void glsl_R_NewMap (model_t *worldmodel, struct model_s **models, int num_models)
 
void glsl_R_RenderView (void)
 
void glsl_R_SetupFrame (void)
 
void glsl_R_TimeRefresh_f (void)
 
void glsl_R_ViewChanged (float aspect)
 

Variables

mat4_t glsl_projection
 
mat4_t glsl_view
 

Macro Definition Documentation

#define NH_DEFINE
#define RE_LOOP (   type_name,
  Type 
)
Value:
do { \
begun = 0; \
for (ent = r_ent_queue; ent; ent = ent->next) { \
if (ent->model->type != mod_##type_name) \
continue; \
if (!begun) { \
glsl_R_##Type##Begin (); \
begun = 1; \
} \
glsl_R_Draw##Type (); \
} \
if (begun) \
glsl_R_##Type##End (); \
} while (0)
struct entity_s * r_ent_queue
Definition: r_ent.c:56
if(!(yy_init))
Definition: qp-lex.c:893
struct entity_s * next
Definition: render.h:85
struct entity_s * currententity
Definition: r_main.c:70

Function Documentation

void glsl_R_ClearState ( void  )
void glsl_R_Init ( void  )
void glsl_R_LineGraph ( int  x,
int  y,
int h_vals,
int  count 
)
void glsl_R_NewMap ( model_t worldmodel,
struct model_s **  models,
int  num_models 
)
void glsl_R_RenderView ( void  )
void glsl_R_SetupFrame ( void  )
void glsl_R_TimeRefresh_f ( void  )
void glsl_R_ViewChanged ( float  aspect)

Variable Documentation

mat4_t glsl_projection
mat4_t glsl_view