]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - palette.h
make STRIP a specifyable option in the Makefile
[xonotic/darkplaces.git] / palette.h
index 2824717ab96e031a6dfed3362e9a5f2098c7da64..4a8fc0a305f113c285a57cc230dcd55c919c9231 100644 (file)
--- a/palette.h
+++ b/palette.h
@@ -3,18 +3,23 @@
 #define PALLETE_H
 
 extern unsigned int palette_complete[256];
+extern unsigned int palette_font[256];
+extern unsigned int palette_alpha[256];
+extern unsigned int palette_nocolormap[256];
+extern unsigned int palette_nocolormapnofullbrights[256];
 extern unsigned int palette_nofullbrights[256];
 extern unsigned int palette_onlyfullbrights[256];
-extern unsigned int palette_nocolormapnofullbrights[256];
-extern unsigned int palette_nocolormap[256];
 extern unsigned int palette_pantsaswhite[256];
 extern unsigned int palette_shirtaswhite[256];
-extern unsigned int palette_alpha[256];
-extern unsigned int palette_font[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, qbyte *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);