2010-09-01 10:37:10 +00:00
|
|
|
#ifndef render_h
|
|
|
|
#define render_h
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-09 11:46:38 +00:00
|
|
|
#include "SetBrush.h"
|
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
typedef enum {dr_wire, dr_flat, dr_texture} drawmode_t;
|
2010-09-09 11:46:38 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
extern int r_width, r_height;
|
|
|
|
extern unsigned *r_picbuffer;
|
|
|
|
extern float *r_zbuffer;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
extern vec3_t r_origin, r_matrix[3];
|
|
|
|
extern BOOL r_drawflat;
|
2003-03-18 19:48:24 +00:00
|
|
|
|
2010-09-29 20:09:11 +00:00
|
|
|
void REN_ClearBuffers (void);
|
|
|
|
void REN_DrawCameraFace (face_t * idpol);
|
|
|
|
void REN_DrawXYFace (face_t * idpol);
|
|
|
|
void REN_BeginCamera (void);
|
|
|
|
void REN_BeginXY (void);
|
2010-09-01 10:37:10 +00:00
|
|
|
|
2010-09-11 10:06:04 +00:00
|
|
|
#endif // render_h
|