Home
last modified time | relevance | path

Searched refs:BestColor (Results 1 – 25 of 39) sorted by relevance

12

/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3data/
H A Dimages.c160 byte BestColor( int r, int g, int b, int start, int stop ){ in BestColor() function
260 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
277 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
334 bestcolor = BestColor( r, g, b, 0, 254 ); in FindColor()
359 bestcolor = BestColor( r, g, b, 1, 254 ); in BuildPalmap()
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/q3data/
H A Dimages.c158 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
261 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
278 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
330 bestcolor = BestColor (r, g, b, 0, 254); in FindColor()
355 bestcolor = BestColor (r, g, b, 1, 254); in BuildPalmap()
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/qdata/
H A Dtables.c73 extern byte BestColor( int, int, int, int, int );
92 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c188 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
291 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
308 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
360 bestcolor = BestColor (r, g, b, 0, 254); in FindColor()
385 bestcolor = BestColor (r, g, b, 1, 254); in BuildPalmap()
/dports/games/gtkradiant/GPL/Q2Tools/qdata/
H A Dtables.c74 extern byte BestColor( int, int, int, int, int );
93 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c188 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
291 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
308 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
360 bestcolor = BestColor (r, g, b, 0, 254); in FindColor()
385 bestcolor = BestColor (r, g, b, 1, 254); in BuildPalmap()
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/qdata_heretic2/
H A Dtables.c73 extern byte BestColor( int, int, int, int, int );
91 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c651 byte BestColor( int r, int g, int b, int start, int stop ){ in BestColor() function
751 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
768 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
825 bestcolor = BestColor( r, g, b, 0, 254 ); in FindColor()
850 bestcolor = BestColor( r, g, b, 1, 254 ); in BuildPalmap()
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/qdata/
H A Dtables.c73 extern byte BestColor( int, int, int, int, int );
91 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c189 byte BestColor( int r, int g, int b, int start, int stop ){ in BestColor() function
289 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
306 *lump_p++ = BestColor( red,green,blue, 1, 254 ); in Cmd_Colormap()
363 bestcolor = BestColor( r, g, b, 0, 254 ); in FindColor()
388 bestcolor = BestColor( r, g, b, 1, 254 ); in BuildPalmap()
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/extra/qdata/
H A Dtables.c74 extern byte BestColor( int, int, int, int, int );
93 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c188 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
291 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
308 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
360 bestcolor = BestColor (r, g, b, 0, 254); in FindColor()
385 bestcolor = BestColor (r, g, b, 1, 254); in BuildPalmap()
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/qdata_heretic2/
H A Dtables.c73 extern byte BestColor( int, int, int, int, int );
92 inverse16to8table[i] = BestColor( r, g, b, 0, 255 ); in Inverse16_BuildTable()
H A Dimages.c632 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
735 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
752 *lump_p++ = BestColor(red,green,blue, 1, 254); in Cmd_Colormap()
804 bestcolor = BestColor (r, g, b, 0, 254); in FindColor()
829 bestcolor = BestColor (r, g, b, 1, 254); in BuildPalmap()
/dports/games/quakeforge/quakeforge-0.7.2/tools/wad/
H A Dgrab.c162 BestColor (int r, int g, int b, int start, int stop) in BestColor() function
235 *lump_p++ = BestColor (red, green, blue, 0, 254);
286 *lump_p++ = BestColor (red, green, blue, 0, 254);
460 *lump_p++ = BestColor (r, g, b, 0, 239); in GrabMip()
487 *lump_p++ = BestColor (r, g, b, 0, 239); in GrabMip()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dv_palette.cpp108 int BestColor (const uint32 *pal_in, int r, int g, int b, int first, int num) in BestColor() function
170 WhiteIndex = BestColor ((DWORD *)BaseColors, 255, 255, 255, 0, 255); in SetPalette()
171 BlackIndex = BestColor ((DWORD *)BaseColors, 0, 0, 0, 0, 255); in SetPalette()
301 remap[workspace[i].PalEntry] = BestColor ((DWORD *)BaseColors, in MakeRemap()
385 GPalette.Remap[0] = BestColor ((DWORD *)GPalette.BaseColors, in InitPalette()
H A Dcolormatcher.cpp79 return (BYTE)BestColor ((uint32 *)Pal, r, g, b); in Pick()
H A Dv_palette.h104 int BestColor (const uint32 *pal, int r, int g, int b, int first=1, int num=255);
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dv_palette.cpp111 int BestColor (const uint32 *pal_in, int r, int g, int b, int first, int num) in BestColor() function
162 WhiteIndex = BestColor ((DWORD *)BaseColors, 255, 255, 255, 0, 255); in SetPalette()
163 BlackIndex = BestColor ((DWORD *)BaseColors, 0, 0, 0, 0, 255); in SetPalette()
293 remap[workspace[i].PalEntry] = BestColor ((DWORD *)BaseColors, in MakeRemap()
377 GPalette.Remap[0] = BestColor ((DWORD *)GPalette.BaseColors, in InitPalette()
H A Dcolormatcher.cpp79 return (BYTE)BestColor ((uint32 *)Pal, r, g, b); in Pick()
H A Dv_palette.h73 int BestColor (const uint32 *pal, int r, int g, int b, int first=1, int num=255);
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_util.h77 byte BestColor (int r, int g, int b, byte *palette);
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dv_palette.cpp503 colormap[c] = BestColor(palette, r, g, b, numcolors); in BuildDefaultColorAndShademap()
516 colormap[c] = BestColor(palette, grayint, grayint, grayint, numcolors); in BuildDefaultColorAndShademap()
837 color[c] = BestColor( in BuildColoredLights()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dr_data.cpp1131 byte BestColor (const argb_t *palette, const int r, const int g, const int b, const int numcolors) in BestColor() function
1165 return BestColor(palette, RPART(color), GPART(color), BPART(color), numcolors); in BestColor2()
/dports/games/libretro-tyrquake/tyrquake-e76477d/common/
H A Ddraw.c966 byte BestColor (int r, int g, int b, int start, int stop) in BestColor() function
1025 beastcolor = BestColor (r, g, b, 0, 254); in Draw_Generate18BPPTable()

12