Skip to content
Snippets Groups Projects
Commit fd4acd50 authored by Maru's avatar Maru :speech_balloon:
Browse files

Replace r_things.h

parent 28aaeb6c
Branches
No related tags found
No related merge requests found
Pipeline #5317 failed
......@@ -48,8 +48,9 @@ extern fixed_t sprbotscreen;
extern fixed_t windowtop;
extern fixed_t windowbottom;
void R_DrawMaskedColumn(column_t *column, unsigned lengthcol);
void R_DrawFlippedMaskedColumn(column_t *column, unsigned lengthcol);
// rr - added 'column_t *brightmap'
void R_DrawMaskedColumn(column_t *column, unsigned lengthcol, column_t *brightmap);
void R_DrawFlippedMaskedColumn(column_t *column, unsigned lengthcol, column_t *brightmap);
void R_DrawFlippedPost(UINT8 *source, unsigned length, void (*drawcolfunc)(void));
// ----------------
......@@ -97,6 +98,9 @@ transnum_t R_GetThingTransTable(fixed_t alpha, transnum_t transmap);
void R_ThingOffsetOverlay (mobj_t *thing, fixed_t *outx, fixed_t *outy);
// rr - maplighting related
fixed_t R_GetSpriteDirectionalLighting(angle_t angle);
// --------------
// MASKED DRAWING
// --------------
......@@ -228,6 +232,9 @@ typedef struct vissprite_s
INT16 clipbot[MAXVIDWIDTH], cliptop[MAXVIDWIDTH];
INT32 dispoffset; // copy of mobj->dispoffset, affects ordering but not drawing
// rr
patch_t *bright;
} vissprite_t;
extern UINT32 visspritecount, numvisiblesprites;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment