]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - palette.h
fix reflections not working when just reflective stuff, but no water, is on the map
[xonotic/darkplaces.git] / palette.h
index c0afb198648c8368ddb21f31343bd646d1c3bb9a..4a8fc0a305f113c285a57cc230dcd55c919c9231 100644 (file)
--- a/palette.h
+++ b/palette.h
@@ -12,10 +12,14 @@ extern unsigned int palette_onlyfullbrights[256];
 extern unsigned int palette_pantsaswhite[256];
 extern unsigned int palette_shirtaswhite[256];
 extern unsigned int palette_transparent[256];
+extern unsigned int palette_pantscolormap[16];
+extern unsigned int palette_shirtcolormap[16];
+extern unsigned int palette_pantsscoreboard[16];
+extern unsigned int palette_shirtscoreboard[16];
 
 // used by hardware gamma functions in vid_* files
-void BuildGammaTable8(float prescale, float gamma, float scale, float base, unsigned char *out);
-void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out);
+void BuildGammaTable8(float prescale, float gamma, float scale, float base, unsigned char *out, int rampsize);
+void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out, int rampsize);
 
 void Palette_Init(void);