Odamex
Setting the Standard in Multiplayer Doom
common/r_main.h File Reference

Go to the source code of this file.

Functions

BOOL R_AlignFlat (int linenum, int side, int fc)
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_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_ScaleFromGlobalAngle (angle_t visangle)
subsector_tR_PointInSubsector (fixed_t x, fixed_t y)
void R_AddPointToBox (int x, int y, fixed_t *box)
fixed_t R_PointToDist2 (fixed_t dx, fixed_t dy)
void R_SetFOV (float fov)
float R_GetFOV (void)
void R_RenderPlayerView (player_t *player)
void R_Init (void)
void R_Shutdown (void)
void R_SetViewSize (int blocks)
void R_MultiresInit (void)

Variables

fixed_t viewcos
fixed_t viewsin
int viewwidth
int viewheight
int viewwindowx
int viewwindowy
int centerx
int centery
fixed_t centerxfrac
fixed_t centeryfrac
fixed_t yaspectmul
bytebasecolormap
int validcount
int linecount
int loopcount
int scalelight [LIGHTLEVELS][MAXLIGHTSCALE]
int scalelightfixed [MAXLIGHTSCALE]
int zlight [LIGHTLEVELS][MAXLIGHTZ]
int extralight
BOOL foggy
int fixedlightlev
lighttable_tfixedcolormap
int lightscalexmul
int lightscaleymul
int detailxshift
int detailyshift
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

void R_AddPointToBox ( int  x,
int  y,
fixed_t box 
)
BOOL R_AlignFlat ( int  linenum,
int  side,
int  fc 
)
float R_GetFOV ( void  )
void R_Init ( 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_SetViewSize ( int  blocks)
void R_Shutdown ( void  )

Variable Documentation

void(* basecolfunc)(void)
int centerx
int centery
void(* colfunc)(void)
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)
int scalelight[LIGHTLEVELS][MAXLIGHTSCALE]
int scalelightfixed[MAXLIGHTSCALE]
void(* spanfunc)(void)
void(* tlatedlucentcolfunc)(void)
void(* transcolfunc)(void)
int viewwidth
int zlight[LIGHTLEVELS][MAXLIGHTZ]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends