Searched refs:playpal_data (Results 1 – 6 of 6) sorted by relevance
51 byte playpal_data[14][256][3]; variable139 r = playpal_data[0][i][0]; in V_InitPalette()140 g = playpal_data[0][i][1]; in V_InitPalette()141 b = playpal_data[0][i][2]; in V_InitPalette()417 int r0 = playpal_data[0][j][0]; in AnalyseColourmap()418 int g0 = playpal_data[0][j][1]; in AnalyseColourmap()419 int b0 = playpal_data[0][j][2]; in AnalyseColourmap()469 int r0 = playpal_data[0][k][0]; in AnalyseColourmap()470 int g0 = playpal_data[0][k][1]; in AnalyseColourmap()471 int b0 = playpal_data[0][k][2]; in AnalyseColourmap()[all …]
53 extern byte playpal_data[14][256][3];66 #define PAL_RED(pix) ((float)(playpal_data[0][pix][0]) / 255.0f)67 #define PAL_GRN(pix) ((float)(playpal_data[0][pix][1]) / 255.0f)68 #define PAL_BLU(pix) ((float)(playpal_data[0][pix][2]) / 255.0f)
458 #define PIXEL_RED(pix) (playpal_data[0][pix][0])459 #define PIXEL_GRN(pix) (playpal_data[0][pix][1])460 #define PIXEL_BLU(pix) (playpal_data[0][pix][2])
923 const byte *what_palette = (const byte *) &playpal_data[0]; in LoadImageOGL()974 R_PaletteRemapRGBA(tmp_img, what_palette, (const byte *) &playpal_data[0]); in LoadImageOGL()
913 const byte *what_pal = (const byte *) &playpal_data[0]; in RGL_UpdateSkyBoxTextures()
1452 static unsigned char *playpal_data = NULL; variable1455 if (!playpal_data) in V_GetPlaypal()1460 playpal_data = malloc(len); in V_GetPlaypal()1461 memcpy(playpal_data, data, len); in V_GetPlaypal()1465 return playpal_data; in V_GetPlaypal()1470 if (playpal_data) in V_FreePlaypal()1472 free(playpal_data); in V_FreePlaypal()1473 playpal_data = NULL; in V_FreePlaypal()