Home
last modified time | relevance | path

Searched refs:playpal_data (Results 1 – 6 of 6) sorted by relevance

/dports/games/edge/Edge-1.35-source/src/
H A Dr_colormap.cc51 byte playpal_data[14][256][3]; variable
139 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 …]
H A Dr_colormap.h53 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)
H A Dm_misc.cc458 #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])
H A Dr_image.cc923 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()
H A Dr_sky.cc913 const byte *what_pal = (const byte *) &playpal_data[0]; in RGL_UpdateSkyBoxTextures()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dv_video.c1452 static unsigned char *playpal_data = NULL; variable
1455 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()