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

Macros

#define BOX_BEHIND   2
 
#define BOX_BOTTOM   5
 
#define BOX_FRONT   0
 
#define BOX_LEFT   3
 
#define BOX_RIGHT   1
 
#define BOX_TOP   4
 
#define DEG(x)   (x / M_PI * 180.0)
 
#define R2(x)   ((x / 2.03) + 0.5)
 
#define RAD(x)   (x * M_PI / 180.0)
 
#define RC(x)   ((x / 2.06) + 0.5)
 

Functions

void R_ClearState (void)
 
void R_InitTurb (void)
 
void R_NewMap (model_t *worldmodel, struct model_s **models, int num_models)
 
void R_RenderView (void)
 
void R_ViewChanged (float aspect)
 
void sw_R_Init (void)
 

Variables

float aliasxcenter
 
float aliasxscale
 
float aliasycenter
 
float aliasyscale
 
int c_surf
 
void * colormap
 
intpfrustum_indexes [4]
 
float pixelAspect
 
float r_aliastransition
 
float r_aliasuvscale = 1.0
 
int r_clipflags
 
qboolean r_dowarp
 
qboolean r_dowarpold
 
qboolean r_drawculledpolys
 
int r_drawnpolycount
 
qboolean r_drawpolys
 
int r_frustum_indexes [4 *6]
 
int r_maxedgesseen
 
int r_maxsurfsseen
 
int r_numallocatededges
 
int r_outofedges
 
int r_outofsurfaces
 
int r_pixbytes = 1
 
int r_polycount
 
qboolean r_recursiveaffinetriangles = true
 
float r_resfudge
 
qboolean r_viewchanged
 
byter_warpbuffer
 
qboolean r_worldpolysbacktofront
 
plane_t screenedge [4]
 
int screenwidth
 
float xcenter
 
float xscale
 
float xscaleinv
 
float xscaleshrink
 
float ycenter
 
float yscale
 
float yscaleinv
 
float yscaleshrink
 

Macro Definition Documentation

#define BOX_BEHIND   2
#define BOX_BOTTOM   5
#define BOX_FRONT   0
#define BOX_LEFT   3
#define BOX_RIGHT   1
#define BOX_TOP   4
#define DEG (   x)    (x / M_PI * 180.0)
#define R2 (   x)    ((x / 2.03) + 0.5)
#define RAD (   x)    (x * M_PI / 180.0)
#define RC (   x)    ((x / 2.06) + 0.5)

Function Documentation

void R_ClearState ( void  )
void R_InitTurb ( void  )
void R_NewMap ( model_t worldmodel,
struct model_s **  models,
int  num_models 
)
void R_RenderView ( void  )
void R_ViewChanged ( float  aspect)
void sw_R_Init ( void  )

Variable Documentation

float aliasxcenter
float aliasxscale
float aliasycenter
float aliasyscale
int c_surf
void* colormap
int* pfrustum_indexes[4]
float pixelAspect
float r_aliastransition
float r_aliasuvscale = 1.0
int r_clipflags
qboolean r_dowarp
qboolean r_dowarpold
qboolean r_drawculledpolys
int r_drawnpolycount
qboolean r_drawpolys
int r_frustum_indexes[4 *6]
int r_maxedgesseen
int r_maxsurfsseen
int r_numallocatededges
int r_outofedges
int r_outofsurfaces
int r_pixbytes = 1
int r_polycount
qboolean r_recursiveaffinetriangles = true
float r_resfudge
qboolean r_viewchanged
byte* r_warpbuffer
qboolean r_worldpolysbacktofront
plane_t screenedge[4]
int screenwidth
float xcenter
float xscale
float xscaleinv
float xscaleshrink
float ycenter
float yscale
float yscaleinv
float yscaleshrink