diff --git a/src/r_textures.h b/src/r_textures.h
index 7e1588851d93093882ae8fb17bca1e70ba0aa61a..5631496ba640c01be517b2c03a30e8400545db57 100644
--- a/src/r_textures.h
+++ b/src/r_textures.h
@@ -73,6 +73,9 @@ extern fixed_t *textureheight; // needed for texture pegging
 extern column_t **texturecolumns; // columns for each texture
 extern UINT8 **texturecache; // graphics data for each generated full-size texture
 
+// rr
+extern UINT8 **texturebrightmapcache; // graphics data for brightmap converted for use with a specific texture
+
 // Load TEXTURES definitions, create lookup tables
 void R_LoadTextures(void);
 void R_LoadTexturesPwad(UINT16 wadnum);
@@ -85,6 +88,14 @@ INT32 R_GetTextureNum(INT32 texnum);
 void R_CheckTextureCache(INT32 tex);
 void R_ClearTextureNumCache(boolean btell);
 
+// rr
+UINT8 *R_GenerateTextureBrightmap(size_t texnum);
+INT32 R_GetTextureBrightmap(INT32 texnum); 
+boolean R_TextureHasBrightmap(INT32 texnum);
+UINT8 *R_GetBrightmapColumnOld(fixed_t tex, INT32 col);
+column_t *R_GetBrightmapColumn(fixed_t tex, INT32 col);
+void R_UpdateTextureBrightmap(INT32 tx, INT32 bm);
+
 // Retrieve texture data.
 column_t *R_GetColumn(fixed_t tex, INT32 col);
 void *R_GetFlat(levelflat_t *levelflat);