Iskhodnyy_kod_Doom
.pdfplanefunction_t |
ceilingfunc; |
//
//opening
//Here comes the obnoxious "visplane".
#define MAXVISPLANES |
128 |
visplane_t |
visplanes[MAXVISPLANES]; |
visplane_t* |
lastvisplane; |
visplane_t* |
floorplane; |
visplane_t* |
ceilingplane; |
// ? |
|
#define MAXOPENINGS |
SCREENWIDTH*64 |
short |
openings[MAXOPENINGS]; |
short* |
lastopening; |
//
//Clip values are the solid pixel bounding the range.
//floorclip starts out SCREENHEIGHT
//ceilingclip starts out -1
// |
|
short |
floorclip[SCREENWIDTH]; |
short |
ceilingclip[SCREENWIDTH]; |
//
//spanstart holds the start of a plane span
//initialized to 0 at start
//
int int
//
// texture mapping
//
lighttable_t** fixed_t
fixed_t fixed_t fixed_t fixed_t
fixed_t fixed_t fixed_t fixed_t
//
//R_InitPlanes
//Only at game startup.
void R_InitPlanes (void)
{
// Doh!
}
//
// R_MapPlane
//