|
XenevaOS
|
#include <stdlib.h>#include <math.h>#include "doomdef.h"#include "d_loop.h"#include "m_bbox.h"#include "m_menu.h"#include "r_local.h"#include "r_sky.h"
Macros | |
| #define | FIELDOFVIEW 2048 |
| #define | DISTMAP 2 |
Functions | |
| void | R_AddPointToBox (int x, int y, fixed_t *box) |
| 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 x1, fixed_t y1, fixed_t x2, fixed_t y2) |
| fixed_t | R_PointToDist (fixed_t x, fixed_t y) |
| void | R_InitPointToAngle (void) |
| fixed_t | R_ScaleFromGlobalAngle (angle_t visangle) |
| void | R_InitTables (void) |
| void | R_InitTextureMapping (void) |
| void | R_InitLightTables (void) |
| void | R_SetViewSize (int blocks, int detail) |
| void | R_ExecuteSetViewSize (void) |
| void | R_Init (void) |
| subsector_t * | R_PointInSubsector (fixed_t x, fixed_t y) |
| void | R_SetupFrame (player_t *player) |
| void | R_RenderPlayerView (player_t *player) |
Variables | |
| int | viewangleoffset |
| int | validcount = 1 |
| lighttable_t * | fixedcolormap |
| lighttable_t ** | walllights |
| int | centerx |
| int | centery |
| fixed_t | centerxfrac |
| fixed_t | centeryfrac |
| fixed_t | projection |
| int | framecount |
| int | sscount |
| int | linecount |
| int | loopcount |
| fixed_t | viewx |
| fixed_t | viewy |
| fixed_t | viewz |
| angle_t | viewangle |
| fixed_t | viewcos |
| fixed_t | viewsin |
| player_t * | viewplayer |
| int | detailshift |
| angle_t | clipangle |
| int | viewangletox [FINEANGLES/2] |
| angle_t | xtoviewangle [SCREENWIDTH+1] |
| lighttable_t * | scalelight [LIGHTLEVELS][MAXLIGHTSCALE] |
| lighttable_t * | scalelightfixed [MAXLIGHTSCALE] |
| lighttable_t * | zlight [LIGHTLEVELS][MAXLIGHTZ] |
| int | extralight |
| void(* | colfunc )(void) |
| void(* | basecolfunc )(void) |
| void(* | fuzzcolfunc )(void) |
| void(* | transcolfunc )(void) |
| void(* | spanfunc )(void) |
| boolean | setsizeneeded |
| int | setblocks |
| int | setdetail |
| #define DISTMAP 2 |
| #define FIELDOFVIEW 2048 |
| void R_AddPointToBox | ( | int | x, |
| int | y, | ||
| fixed_t * | box | ||
| ) |
| void R_ExecuteSetViewSize | ( | void | ) |
| void R_Init | ( | void | ) |
| void R_InitLightTables | ( | void | ) |
| void R_InitPointToAngle | ( | void | ) |
| void R_InitTables | ( | void | ) |
| void R_InitTextureMapping | ( | void | ) |
| subsector_t * R_PointInSubsector | ( | fixed_t | x, |
| fixed_t | y | ||
| ) |
| void R_RenderPlayerView | ( | player_t * | player | ) |
| void R_SetupFrame | ( | player_t * | player | ) |
| void R_SetViewSize | ( | int | blocks, |
| int | detail | ||
| ) |
| void(* basecolfunc) (void) | ( | void | ) |
| int centerx |
| fixed_t centerxfrac |
| int centery |
| fixed_t centeryfrac |
| angle_t clipangle |
| void(* colfunc) (void) | ( | void | ) |
| int detailshift |
| int extralight |
| lighttable_t* fixedcolormap |
| int framecount |
| void(* fuzzcolfunc) (void) | ( | void | ) |
| int linecount |
| int loopcount |
| fixed_t projection |
| lighttable_t* scalelight[LIGHTLEVELS][MAXLIGHTSCALE] |
| lighttable_t* scalelightfixed[MAXLIGHTSCALE] |
| int setblocks |
| int setdetail |
| boolean setsizeneeded |
| void(* spanfunc) (void) | ( | void | ) |
| int sscount |
| void(* transcolfunc) (void) | ( | void | ) |
| int validcount = 1 |
| angle_t viewangle |
| int viewangleoffset |
| int viewangletox[FINEANGLES/2] |
| fixed_t viewcos |
| player_t* viewplayer |
| fixed_t viewsin |
| fixed_t viewx |
| fixed_t viewy |
| fixed_t viewz |
|
extern |
| angle_t xtoviewangle[SCREENWIDTH+1] |
| lighttable_t* zlight[LIGHTLEVELS][MAXLIGHTZ] |