Home
last modified time | relevance | path

Searched refs:basepal (Results 1 – 24 of 24) sorted by relevance

/dports/games/quakeforge/quakeforge-0.7.2/libs/video/renderer/sw/
H A Dscreen.c77 *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 Ddraw.c808 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 Dprhighpal.py135 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 Dqwaq-bi.c157 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 Dscreen.c80 *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 Ddraw.c1278 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 Dview.c536 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 Dview.c532 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 Dcl_main.c528 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 Dvid.c210 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 Dvid_fbdev.c423 viddef.basepal = palette; in VID_Init()
/dports/games/libretro-tyrquake/tyrquake-e76477d/QW/client/
H A Dview.c505 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 Dview.c506 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 Dview.c652 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 Dvid.h44 byte *basepal; // 256 * 3 member
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/
H A Dview.c622 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 Dcl_rss.c85 r_data->vid->basepal, true, &pcx_len); in CL_RSShot_f()
H A Dcl_main.c1170 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 Dsw_model_iqm.c93 VectorSubtract (vid.basepal + i * 3, rgb, dist); in convert_color()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/
H A Dpalette.cpp856 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 Dpalette.cpp904 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 Ddefs.cpp2087 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 Dcontrol.lua1928 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 Da.m3243 // Set to basepal index to override