diff --git a/src/r_things.h b/src/r_things.h
index 55ab71ec3847d5b85295904a18de516afa6f1b74..b2fd59e7aeaa69ac7ffa035a0ae487d54c58b18d 100644
--- a/src/r_things.h
+++ b/src/r_things.h
@@ -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;