Lines Matching refs:pal
244 byte *pal;
259 pal = palette;
263 r = pal[0];
264 g = pal[1];
265 b = pal[2];
266 pal += 3;
281 COM_FOpenFile("glquake/15to8.pal", &f);
296 pal = (unsigned char *)d_8to24table;
297 for (v=0,k=0,bestdist=10000.0; v<256; v++,pal+=4) {
298 r1 = (int)r - (int)pal[0];
299 g1 = (int)g - (int)pal[1];
300 b1 = (int)b - (int)pal[2];
311 sprintf(s, "%s/glquake/15to8.pal", com_gamedir);
566 extern void gl3DfxSetPaletteEXT(GLuint *pal);