XenevaOS
Loading...
Searching...
No Matches
Macros | Functions | Variables
r_draw.c File Reference
#include "doomdef.h"
#include "deh_main.h"
#include "i_system.h"
#include "z_zone.h"
#include "w_wad.h"
#include "r_local.h"
#include "v_video.h"
#include "doomstat.h"
Include dependency graph for r_draw.c:

Macros

#define MAXWIDTH   1120
 
#define MAXHEIGHT   832
 
#define SBARHEIGHT   32
 
#define FUZZTABLE   50
 
#define FUZZOFF   (SCREENWIDTH)
 

Functions

void R_DrawColumn (void)
 
void R_DrawColumnLow (void)
 
void R_DrawFuzzColumn (void)
 
void R_DrawFuzzColumnLow (void)
 
void R_DrawTranslatedColumn (void)
 
void R_DrawTranslatedColumnLow (void)
 
void R_InitTranslationTables (void)
 
void R_DrawSpan (void)
 
void R_DrawSpanLow (void)
 
void R_InitBuffer (int width, int height)
 
void R_FillBackScreen (void)
 
void R_VideoErase (unsigned ofs, int count)
 
void R_DrawViewBorder (void)
 

Variables

byte * viewimage
 
int viewwidth
 
int scaledviewwidth
 
int viewheight
 
int viewwindowx
 
int viewwindowy
 
byte * ylookup [MAXHEIGHT]
 
int columnofs [MAXWIDTH]
 
byte translations [3][256]
 
lighttable_t * dc_colormap
 
int dc_x
 
int dc_yl
 
int dc_yh
 
fixed_t dc_iscale
 
fixed_t dc_texturemid
 
byte * dc_source
 
int dccount
 
int fuzzoffset [FUZZTABLE]
 
int fuzzpos = 0
 
byte * dc_translation
 
byte * translationtables
 
int ds_y
 
int ds_x1
 
int ds_x2
 
lighttable_t * ds_colormap
 
fixed_t ds_xfrac
 
fixed_t ds_yfrac
 
fixed_t ds_xstep
 
fixed_t ds_ystep
 
byte * ds_source
 
int dscount
 

Macro Definition Documentation

◆ FUZZOFF

#define FUZZOFF   (SCREENWIDTH)

◆ FUZZTABLE

#define FUZZTABLE   50

◆ MAXHEIGHT

#define MAXHEIGHT   832

◆ MAXWIDTH

#define MAXWIDTH   1120

◆ SBARHEIGHT

#define SBARHEIGHT   32

Function Documentation

◆ R_DrawColumn()

void R_DrawColumn ( void  )

◆ R_DrawColumnLow()

void R_DrawColumnLow ( void  )

◆ R_DrawFuzzColumn()

void R_DrawFuzzColumn ( void  )

◆ R_DrawFuzzColumnLow()

void R_DrawFuzzColumnLow ( void  )

◆ R_DrawSpan()

void R_DrawSpan ( void  )

◆ R_DrawSpanLow()

void R_DrawSpanLow ( void  )

◆ R_DrawTranslatedColumn()

void R_DrawTranslatedColumn ( void  )

◆ R_DrawTranslatedColumnLow()

void R_DrawTranslatedColumnLow ( void  )

◆ R_DrawViewBorder()

void R_DrawViewBorder ( void  )

◆ R_FillBackScreen()

void R_FillBackScreen ( void  )

◆ R_InitBuffer()

void R_InitBuffer ( int  width,
int  height 
)

◆ R_InitTranslationTables()

void R_InitTranslationTables ( void  )

◆ R_VideoErase()

void R_VideoErase ( unsigned  ofs,
int  count 
)

Variable Documentation

◆ columnofs

int columnofs[MAXWIDTH]

◆ dc_colormap

lighttable_t* dc_colormap

◆ dc_iscale

fixed_t dc_iscale

◆ dc_source

byte* dc_source

◆ dc_texturemid

fixed_t dc_texturemid

◆ dc_translation

byte* dc_translation

◆ dc_x

int dc_x

◆ dc_yh

int dc_yh

◆ dc_yl

int dc_yl

◆ dccount

int dccount

◆ ds_colormap

lighttable_t* ds_colormap

◆ ds_source

byte* ds_source

◆ ds_x1

int ds_x1

◆ ds_x2

int ds_x2

◆ ds_xfrac

fixed_t ds_xfrac

◆ ds_xstep

fixed_t ds_xstep

◆ ds_y

int ds_y

◆ ds_yfrac

fixed_t ds_yfrac

◆ ds_ystep

fixed_t ds_ystep

◆ dscount

int dscount

◆ fuzzoffset

int fuzzoffset[FUZZTABLE]

◆ fuzzpos

int fuzzpos = 0

◆ scaledviewwidth

int scaledviewwidth

◆ translations

byte translations[3][256]

◆ translationtables

byte* translationtables

◆ viewheight

int viewheight

◆ viewimage

byte* viewimage

◆ viewwidth

int viewwidth

◆ viewwindowx

int viewwindowx

◆ viewwindowy

int viewwindowy

◆ ylookup

byte* ylookup[MAXHEIGHT]