Home
last modified time | relevance | path

Searched refs:host_basepal (Results 1 – 19 of 19) sorted by relevance

/external/quake/quake/src/QW/client/
Dscreen.c691 host_basepal, false); in SCR_ScreenShot_f()
718 r1 = host_basepal[i*3] - r; in MipColor()
719 g1 = host_basepal[i*3+1] - g; in MipColor()
720 b1 = host_basepal[i*3+2] - b; in MipColor()
864 r += host_basepal[*src * 3]; in SCR_RSShot_f()
865 g += host_basepal[*src * 3+1]; in SCR_RSShot_f()
866 b += host_basepal[*src * 3+2]; in SCR_RSShot_f()
891 WritePCXfile (pcxname, newbuf, w, h, w, host_basepal, true); in SCR_RSShot_f()
992 VID_SetPalette (host_basepal); in SCR_BringDownConsole()
Dcl_main.c114 byte *host_basepal; variable
1456 host_basepal = (byte *)COM_LoadHunkFile ("gfx/palette.lmp"); in Host_Init()
1457 if (!host_basepal) in Host_Init()
1465 VID_Init (host_basepal); in Host_Init()
1476 VID_Init (host_basepal); in Host_Init()
1532 if (host_basepal) in Host_Shutdown()
Dgl_screen.c768 r1 = host_basepal[i*3] - r; in MipColor()
769 g1 = host_basepal[i*3+1] - g; in MipColor()
770 b1 = host_basepal[i*3+2] - b; in MipColor()
945 WritePCXfile (pcxname, newbuf, w, h, w, host_basepal, true); in SCR_RSShot_f()
1047 VID_SetPalette (host_basepal); in SCR_BringDownConsole()
Dquakedef.h127 extern byte *host_basepal;
Dview.c607 basepal = host_basepal; in V_UpdatePalette()
673 basepal = host_basepal; in V_UpdatePalette()
Dgl_draw.c866 glColor3f (host_basepal[c*3]/255.0, in Draw_Fill()
867 host_basepal[c*3+1]/255.0, in Draw_Fill()
868 host_basepal[c*3+2]/255.0); in Draw_Fill()
Dr_misc.c336 newpalette[i*3+j] = (host_basepal[i*3+j] + basecolor[j])/2; in WarpPalette()
Dgl_vidlinux_svga.c152 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); in VID_Gamma_f()
Dgl_vidlinux_x11.c133 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); in VID_Gamma_f()
Dvid_svgalib.c249 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); in VID_Gamma_f()
/external/quake/quake/src/WinQuake/
Dhost.cpp55 byte *host_basepal; variable
880 host_basepal = (byte *)COM_LoadHunkFile ("gfx/palette.lmp"); in Host_Init()
881 if (!host_basepal) in Host_Init()
890 VID_Init (host_basepal); in Host_Init()
Dscreen.cpp645 host_basepal); in SCR_ScreenShot_f()
793 VID_SetPalette (host_basepal); in SCR_BringDownConsole()
Dquakedef.h308 extern byte *host_basepal;
Dr_misc.cpp260 newpalette[i*3+j] = (host_basepal[i*3+j] + basecolor[j])/2; in WarpPalette()
Dgl_draw.cpp1126 glColor3f (host_basepal[c*3]/255.0, in Draw_Fill()
1127 host_basepal[c*3+1]/255.0, in Draw_Fill()
1128 host_basepal[c*3+2]/255.0); in Draw_Fill()
1738 const byte* pSrc = host_basepal; in GL_Upload8_EXT()
Dview.cpp595 basepal = host_basepal; in V_UpdatePalette()
656 basepal = host_basepal; in V_UpdatePalette()
Dgl_screen.cpp788 VID_SetPalette (host_basepal); in SCR_BringDownConsole()
Dcl_main.cpp287 VID_SetPalette (host_basepal); in SetPal()
Dvid_svgalib.cpp248 f = pow ( (host_basepal[i]+1)/256.0 , gamma ); in VID_Gamma_f()