Odamex
Setting the Standard in Multiplayer Doom
client/src/r_main.cpp File Reference

Functions

void R_SpanInitData ()
 EXTERN_CVAR (r_viewsize) static float LastFOV
int R_PointOnSide (fixed_t x, fixed_t y, node_t *node)
int R_PointOnSegSide (fixed_t x, fixed_t y, seg_t *line)
angle_t R_PointToAngle2 (fixed_t viewx, fixed_t viewy, fixed_t x, fixed_t y)
angle_t R_PointToAngle (fixed_t x, fixed_t y)
fixed_t R_PointToDist (fixed_t x, fixed_t y)
fixed_t R_PointToDist2 (fixed_t dx, fixed_t dy)
fixed_t R_ScaleFromGlobalAngle (angle_t visangle)
void R_InitTables (void)
void R_InitTextureMapping (void)
void R_SetFOV (float fov)
float R_GetFOV (void)
void R_InitLightTables (void)
void R_SetViewSize (int blocks)
 CVAR_FUNC_IMPL (r_detail)
void R_ExecuteSetViewSize (void)
 CVAR_FUNC_IMPL (screenblocks)
 EXTERN_CVAR (r_columnmethod) void R_Init(void)
void R_Shutdown (void)
subsector_tR_PointInSubsector (fixed_t x, fixed_t y)
void R_SetupFrame (player_t *player)
void R_RenderPlayerView (player_t *player)
void R_MultiresInit (void)

Variables

int * walllights
BOOL DrawNewHUD
BOOL DrawNewSpecHUD
dyncolormap_t NormalLight
fixed_t FocalLengthX
fixed_t FocalLengthY
int viewangleoffset
int validcount = 1
lighttable_tbasecolormap
int fixedlightlev
lighttable_tfixedcolormap
int centerx
int centery
fixed_t centerxfrac
fixed_t centeryfrac
fixed_t yaspectmul
int framecount
int linecount
int loopcount
fixed_t viewx
fixed_t viewy
fixed_t viewz
angle_t viewangle
fixed_t viewcos
fixed_t viewsin
AActorcamera
angle_t clipangle
int viewangletox [FINEANGLES/2]
angle_txtoviewangle
const fixed_tfinecosine = &finesine[FINEANGLES/4]
int scalelight [LIGHTLEVELS][MAXLIGHTSCALE]
int scalelightfixed [MAXLIGHTSCALE]
int zlight [LIGHTLEVELS][MAXLIGHTZ]
int lightscalexmul
int lightscaleymul
int extralight
BOOL foggy
BOOL setsizeneeded
int setblocks
int setdetail = -1
fixed_t freelookviewheight
unsigned int R_OldBlend = ~0
void(* colfunc )(void)
void(* basecolfunc )(void)
void(* fuzzcolfunc )(void)
void(* lucentcolfunc )(void)
void(* transcolfunc )(void)
void(* tlatedlucentcolfunc )(void)
void(* spanfunc )(void)
void(* hcolfunc_pre )(void)
void(* hcolfunc_post1 )(int hx, int sx, int yl, int yh)
void(* hcolfunc_post2 )(int hx, int sx, int yl, int yh)
void(* hcolfunc_post4 )(int sx, int yl, int yh)

Function Documentation

CVAR_FUNC_IMPL ( r_detail  )
CVAR_FUNC_IMPL ( screenblocks  )
EXTERN_CVAR ( r_viewsize  )
EXTERN_CVAR ( r_columnmethod  )
void R_ExecuteSetViewSize ( void  )
float R_GetFOV ( void  )
void R_InitLightTables ( void  )
void R_InitTables ( void  )
void R_InitTextureMapping ( void  )
void R_MultiresInit ( void  )
subsector_t* R_PointInSubsector ( fixed_t  x,
fixed_t  y 
)
int R_PointOnSegSide ( fixed_t  x,
fixed_t  y,
seg_t line 
)
int R_PointOnSide ( fixed_t  x,
fixed_t  y,
node_t node 
)
angle_t R_PointToAngle ( fixed_t  x,
fixed_t  y 
)
angle_t R_PointToAngle2 ( fixed_t  viewx,
fixed_t  viewy,
fixed_t  x,
fixed_t  y 
)
fixed_t R_PointToDist ( fixed_t  x,
fixed_t  y 
)
fixed_t R_PointToDist2 ( fixed_t  dx,
fixed_t  dy 
)
void R_RenderPlayerView ( player_t player)
fixed_t R_ScaleFromGlobalAngle ( angle_t  visangle)
void R_SetFOV ( float  fov)
void R_SetupFrame ( player_t player)
void R_SetViewSize ( int  blocks)
void R_Shutdown ( void  )
void R_SpanInitData ( )

Variable Documentation

void(* basecolfunc)(void)
int centerx
int centery
void(* colfunc)(void)
const fixed_t* finecosine = &finesine[FINEANGLES/4]
void(* fuzzcolfunc)(void)
void(* hcolfunc_post1)(int hx, int sx, int yl, int yh)
void(* hcolfunc_post2)(int hx, int sx, int yl, int yh)
void(* hcolfunc_post4)(int sx, int yl, int yh)
void(* hcolfunc_pre)(void)
int linecount
int loopcount
void(* lucentcolfunc)(void)
unsigned int R_OldBlend = ~0
int scalelight[LIGHTLEVELS][MAXLIGHTSCALE]
int scalelightfixed[MAXLIGHTSCALE]
int setblocks
int setdetail = -1
void(* spanfunc)(void)
void(* tlatedlucentcolfunc)(void)
void(* transcolfunc)(void)
int validcount = 1
int viewangletox[FINEANGLES/2]
int* walllights
int zlight[LIGHTLEVELS][MAXLIGHTZ]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends