5 extern unsigned char palette_rgb[256][3];
6 extern unsigned char palette_rgb_pantscolormap[16][3];
7 extern unsigned char palette_rgb_shirtcolormap[16][3];
8 extern unsigned char palette_rgb_pantsscoreboard[16][3];
9 extern unsigned char palette_rgb_shirtscoreboard[16][3];
11 extern unsigned int palette_bgra_complete[256];
12 extern unsigned int palette_bgra_font[256];
13 extern unsigned int palette_bgra_alpha[256];
14 extern unsigned int palette_bgra_nocolormap[256];
15 extern unsigned int palette_bgra_nocolormapnofullbrights[256];
16 extern unsigned int palette_bgra_nofullbrights[256];
17 extern unsigned int palette_bgra_onlyfullbrights[256];
18 extern unsigned int palette_bgra_pantsaswhite[256];
19 extern unsigned int palette_bgra_shirtaswhite[256];
20 extern unsigned int palette_bgra_transparent[256];
22 // used by hardware gamma functions in vid_* files
23 void BuildGammaTable8(float prescale, float gamma, float scale, float base, unsigned char *out, int rampsize);
24 void BuildGammaTable16(float prescale, float gamma, float scale, float base, unsigned short *out, int rampsize);
26 void Palette_Init(void);