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

Replace r_textures.h

parent 8f57f6ed
Branches
No related tags found
No related merge requests found
Pipeline #5339 failed
...@@ -73,6 +73,9 @@ extern fixed_t *textureheight; // needed for texture pegging ...@@ -73,6 +73,9 @@ extern fixed_t *textureheight; // needed for texture pegging
extern column_t **texturecolumns; // columns for each texture extern column_t **texturecolumns; // columns for each texture
extern UINT8 **texturecache; // graphics data for each generated full-size 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 // Load TEXTURES definitions, create lookup tables
void R_LoadTextures(void); void R_LoadTextures(void);
void R_LoadTexturesPwad(UINT16 wadnum); void R_LoadTexturesPwad(UINT16 wadnum);
...@@ -85,6 +88,14 @@ INT32 R_GetTextureNum(INT32 texnum); ...@@ -85,6 +88,14 @@ INT32 R_GetTextureNum(INT32 texnum);
void R_CheckTextureCache(INT32 tex); void R_CheckTextureCache(INT32 tex);
void R_ClearTextureNumCache(boolean btell); 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. // Retrieve texture data.
column_t *R_GetColumn(fixed_t tex, INT32 col); column_t *R_GetColumn(fixed_t tex, INT32 col);
void *R_GetFlat(levelflat_t *levelflat); void *R_GetFlat(levelflat_t *levelflat);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment