/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw/ |
H A D | screen.c | 77 *dst++ = vid.basepal[*src * 3 + 2]; // blue in SCR_CaptureBGR() 78 *dst++ = vid.basepal[*src * 3 + 1]; // green in SCR_CaptureBGR() 79 *dst++ = vid.basepal[*src * 3 + 0]; // red in SCR_CaptureBGR() 131 r += vid.basepal[*src * 3]; in SCR_ScreenShot() 132 g += vid.basepal[*src * 3 + 1]; in SCR_ScreenShot() 133 b += vid.basepal[*src * 3 + 2]; in SCR_ScreenShot() 167 vid.basepal, false, &pcx_len); in SCR_ScreenShot_f()
|
H A D | draw.c | 808 byte *basepal, *newpal; in Draw_BlendScreen() local 810 basepal = vid.basepal; in Draw_BlendScreen() 814 r = basepal[0]; in Draw_BlendScreen() 815 g = basepal[1]; in Draw_BlendScreen() 816 b = basepal[2]; in Draw_BlendScreen() 817 basepal += 3; in Draw_BlendScreen()
|
/dports/games/NBlood/NBlood-a1689a4/source/tools/src/ |
H A D | prhighpal.py | 135 def genpal(basepal, basepalhsv, pal): argument 139 if (basepal.dtype != 'uint8'): 143 return basepal; 175 newrgb = basepal.astype('uint32'); 266 r = mask*newrgb[:,:,0] + nmask*basepal[:,:,0]; 267 g = mask*newrgb[:,:,1] + nmask*basepal[:,:,1]; 268 b = mask*newrgb[:,:,2] + nmask*basepal[:,:,2];
|
/dports/games/quakeforge/quakeforge-0.7.2/tools/qwaq/ |
H A D | qwaq-bi.c | 157 byte *basepal, *colormap; in BI_Init() local 170 basepal = (byte *) QFS_LoadHunkFile ("gfx/palette.lmp"); in BI_Init() 171 if (!basepal) in BI_Init() 178 VID_Init (basepal, colormap); in BI_Init()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw32/ |
H A D | screen.c | 80 *dst++ = vid.basepal[*src * 3 + 2]; // blue in sw32_SCR_CaptureBGR() 81 *dst++ = vid.basepal[*src * 3 + 1]; // green in sw32_SCR_CaptureBGR() 82 *dst++ = vid.basepal[*src * 3 + 0]; // red in sw32_SCR_CaptureBGR() 115 vid.basepal, false, &pcx_len); in sw32_SCR_ScreenShot_f()
|
H A D | draw.c | 1278 byte *basepal, *newpal; in sw32_Draw_BlendScreen() local 1284 basepal = vid.basepal; in sw32_Draw_BlendScreen() 1288 r = basepal[0]; in sw32_Draw_BlendScreen() 1289 g = basepal[1]; in sw32_Draw_BlendScreen() 1290 b = basepal[2]; in sw32_Draw_BlendScreen() 1291 basepal += 3; in sw32_Draw_BlendScreen()
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | view.c | 536 byte *basepal, *newpal; in V_UpdatePalette() local 600 basepal = host_basepal; in V_UpdatePalette() 605 ir = basepal[0]; in V_UpdatePalette() 606 ig = basepal[1]; in V_UpdatePalette() 607 ib = basepal[2]; in V_UpdatePalette() 608 basepal += 3; in V_UpdatePalette() 623 byte *basepal, *newpal; in V_UpdatePalette() local 666 r = basepal[0]; in V_UpdatePalette() 667 g = basepal[1]; in V_UpdatePalette() 668 b = basepal[2]; in V_UpdatePalette() [all …]
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | view.c | 532 byte *basepal, *newpal; in V_UpdatePalette() local 596 basepal = host_basepal; in V_UpdatePalette() 601 ir = basepal[0]; in V_UpdatePalette() 602 ig = basepal[1]; in V_UpdatePalette() 603 ib = basepal[2]; in V_UpdatePalette() 604 basepal += 3; in V_UpdatePalette() 619 byte *basepal, *newpal; in V_UpdatePalette() local 662 r = basepal[0]; in V_UpdatePalette() 663 g = basepal[1]; in V_UpdatePalette() 664 b = basepal[2]; in V_UpdatePalette() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/nq/source/ |
H A D | cl_main.c | 528 byte *basepal, *colormap; in CL_Init() local 530 basepal = (byte *) QFS_LoadHunkFile ("gfx/palette.lmp"); in CL_Init() 531 if (!basepal) in CL_Init() 538 VID_Init (basepal, colormap); in CL_Init()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/video/targets/ |
H A D | vid.c | 210 memcpy (viddef.palette, viddef.basepal, 256 * 3); in VID_UpdateGamma() 216 viddef.palette[i] = viddef.gammatable[viddef.basepal[i]]; in VID_UpdateGamma() 233 viddef.basepal = pal; in VID_InitGamma()
|
H A D | vid_fbdev.c | 423 viddef.basepal = palette; in VID_Init()
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/QW/client/ |
H A D | view.c | 505 byte *basepal, *newpal; in V_UpdatePalette() local 534 basepal = host_basepal; in V_UpdatePalette() 538 r = basepal[0]; in V_UpdatePalette() 539 g = basepal[1]; in V_UpdatePalette() 540 b = basepal[2]; in V_UpdatePalette() 541 basepal += 3; in V_UpdatePalette()
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | view.c | 506 byte *basepal, *newpal; in V_UpdatePalette() local 537 basepal = host_basepal; in V_UpdatePalette() 542 int r = basepal[0]; in V_UpdatePalette() 543 int g = basepal[1]; in V_UpdatePalette() 544 int b = basepal[2]; in V_UpdatePalette() 545 basepal += 3; in V_UpdatePalette()
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexenworld/client/ |
H A D | view.c | 652 byte *basepal, *newpal; in V_UpdatePalette() local 702 basepal = host_basepal; in V_UpdatePalette() 707 r = basepal[0]; in V_UpdatePalette() 708 g = basepal[1]; in V_UpdatePalette() 709 b = basepal[2]; in V_UpdatePalette() 710 basepal += 3; in V_UpdatePalette()
|
/dports/games/quakeforge/quakeforge-0.7.2/include/QF/ |
H A D | vid.h | 44 byte *basepal; // 256 * 3 member
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/ |
H A D | view.c | 622 byte *basepal, *newpal; in V_UpdatePalette() local 672 basepal = host_basepal; in V_UpdatePalette() 677 r = basepal[0]; in V_UpdatePalette() 678 g = basepal[1]; in V_UpdatePalette() 679 b = basepal[2]; in V_UpdatePalette() 680 basepal += 3; in V_UpdatePalette()
|
/dports/games/quakeforge/quakeforge-0.7.2/qw/source/ |
H A D | cl_rss.c | 85 r_data->vid->basepal, true, &pcx_len); in CL_RSShot_f()
|
H A D | cl_main.c | 1170 byte *basepal, *colormap; in CL_Init() local 1172 basepal = (byte *) QFS_LoadHunkFile ("gfx/palette.lmp"); in CL_Init() 1173 if (!basepal) in CL_Init() 1180 VID_Init (basepal, colormap); in CL_Init()
|
/dports/games/quakeforge/quakeforge-0.7.2/libs/models/iqm/ |
H A D | sw_model_iqm.c | 93 VectorSubtract (vid.basepal + i * 3, rgb, dist); in convert_color()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | palette.cpp | 856 const byte *basepal = getPalettePtr(_curPalIndex, _roomResource); in setShadowPalette() local 858 const byte *pal = basepal + start * 3; in setShadowPalette() 889 compareptr = basepal + startColor * 3; in setShadowPalette()
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | palette.cpp | 904 const byte *basepal = getPalettePtr(_curPalIndex, _roomResource); in setShadowPalette() local 906 const byte *pal = basepal + start * 3; in setShadowPalette() 937 compareptr = basepal + startColor * 3; in setShadowPalette()
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | defs.cpp | 2087 int32_t basepal=-1, pal=-1; in defsparser() local 2107 scriptfile_getsymbol(script,&basepal); break; in defsparser() 2114 if (EDUKE32_PREDICT_FALSE((unsigned)basepal >= MAXBASEPALS)) in defsparser() 2173 polymer_definehighpalookup(basepal, pal, highpaldata); in defsparser()
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/ |
H A D | control.lua | 1928 function _setgamepalette(pli, basepal) 1930 ffiC.P_SetGamePalette(ffiC.g_player_ps[pli], basepal, 2+16)
|
/dports/games/NBlood/NBlood-a1689a4/package/sdk/samples/ |
H A D | a.m32 | 43 // Set to basepal index to override
|