Data Structures | |
struct | edge_s |
struct | espan_s |
struct | surf_s |
Macros | |
#define | ALIAS_BOTTOM_CLIP 0x0008 |
#define | ALIAS_LEFT_CLIP 0x0001 |
#define | ALIAS_ONSEAM 0x0020 |
#define | ALIAS_RIGHT_CLIP 0x0004 |
#define | ALIAS_TOP_CLIP 0x0002 |
#define | ALIAS_XY_CLIP_MASK 0x000F |
#define | ALIAS_Z_CLIP 0x0010 |
#define | INFINITE_DISTANCE 0x10000 |
#define | MAX_EFRAGS 640 |
#define | MAXDIMENSION ((MAXHEIGHT > MAXWIDTH) ? MAXHEIGHT : MAXWIDTH) |
#define | MAXHEIGHT 4096 |
#define | MAXSPANS 3000 |
#define | MAXVERTS 16 |
#define | MAXWIDTH 4096 |
#define | MAXWORKINGVERTS (MAXVERTS+4) |
#define | MINEDGES NUMSTACKEDGES |
#define | MINSURFACES NUMSTACKSURFACES |
#define | NUMSTACKEDGES 2400 |
#define | NUMSTACKSURFACES 1000 |
#define | NUMVERTEXNORMALS 162 |
#define | SIN_BUFFER_SIZE (MAXDIMENSION+CYCLE) |
Typedefs | |
typedef struct edge_s | edge_t |
typedef struct espan_s | espan_t |
typedef struct surf_s | surf_t |
Functions | |
void | R_DrawLine (polyvert_t *polyvert0, polyvert_t *polyvert1) |
void | R_MakeSky (void) |
void | SetUpForLineScan (fixed8_t startvertu, fixed8_t startvertv, fixed8_t endvertu, fixed8_t endvertv) |
void | TransformVector (const vec3_t in, vec3_t out) |
Variables | |
vec3_t | ambientcolor |
vec3_t | base_modelorg |
vec3_t | base_vpn |
vec3_t | base_vright |
vec3_t | base_vup |
byte * | cacheblock |
int | cachewidth |
byte | color_black [4] |
byte | color_white [4] |
struct entity_s * | currententity |
int | d_lightstylevalue [256] |
int | gl_alphaskytexture |
int | gl_solidskytexture |
int | intsintable [SIN_BUFFER_SIZE] |
vec3_t | modelorg |
float | pixelAspect |
float | r_avertexnormals [NUMVERTEXNORMALS][3] |
struct cvar_s * | r_clearcolor |
int | r_drawnpolycount |
int | r_init |
int | r_skymade |
int | screenwidth |
int | sintable [SIN_BUFFER_SIZE] |
surf_t * | surf_max |
surf_t * | surface_p |
surf_t * | surfaces |
vec3_t | sxformaxis [4] |
vec3_t | txformaxis [4] |
vec3_t | vpn |
vec3_t | vright |
vec3_t | vup |
float | xcenter |
float | xscale |
float | xscaleinv |
float | xscaleshrink |
float | ycenter |
float | yscale |
float | yscaleinv |
float | yscaleshrink |
#define ALIAS_BOTTOM_CLIP 0x0008 |
#define ALIAS_LEFT_CLIP 0x0001 |
#define ALIAS_ONSEAM 0x0020 |
#define ALIAS_RIGHT_CLIP 0x0004 |
#define ALIAS_TOP_CLIP 0x0002 |
#define ALIAS_XY_CLIP_MASK 0x000F |
#define ALIAS_Z_CLIP 0x0010 |
#define INFINITE_DISTANCE 0x10000 |
#define MAX_EFRAGS 640 |
#define MAXHEIGHT 4096 |
#define MAXSPANS 3000 |
#define MAXVERTS 16 |
#define MAXWIDTH 4096 |
#define MAXWORKINGVERTS (MAXVERTS+4) |
#define MINEDGES NUMSTACKEDGES |
#define MINSURFACES NUMSTACKSURFACES |
#define NUMSTACKEDGES 2400 |
#define NUMSTACKSURFACES 1000 |
#define NUMVERTEXNORMALS 162 |
#define SIN_BUFFER_SIZE (MAXDIMENSION+CYCLE) |
void R_DrawLine | ( | polyvert_t * | polyvert0, |
polyvert_t * | polyvert1 | ||
) |
void R_MakeSky | ( | void | ) |
void SetUpForLineScan | ( | fixed8_t | startvertu, |
fixed8_t | startvertv, | ||
fixed8_t | endvertu, | ||
fixed8_t | endvertv | ||
) |
vec3_t ambientcolor |
vec3_t base_modelorg |
vec3_t base_vpn |
vec3_t base_vright |
vec3_t base_vup |
byte* cacheblock |
int cachewidth |
byte color_black[4] |
byte color_white[4] |
entity_t * currententity |
int d_lightstylevalue[256] |
int gl_alphaskytexture |
int gl_solidskytexture |
int intsintable[SIN_BUFFER_SIZE] |
vec3_t modelorg |
float pixelAspect |
float r_avertexnormals[NUMVERTEXNORMALS][3] |
struct cvar_s* r_clearcolor |
int r_drawnpolycount |
int r_init |
int r_skymade |
int screenwidth |
int sintable[SIN_BUFFER_SIZE] |
surf_t * surf_max |
surf_t * surface_p |
surf_t* surfaces |
vec3_t sxformaxis[4] |
vec3_t txformaxis[4] |
vec3_t vpn |
vec3_t vright |
vec3_t vup |
float xcenter |
float xscale |
float xscaleinv |
float xscaleshrink |
float ycenter |
float yscale |
float yscaleinv |
float yscaleshrink |