Home
last modified time | relevance | path

Searched refs:colornum (Results 1 – 25 of 50) sorted by relevance

12

/dports/math/sc/sc-7.16/
H A Dcolor.c31 initcolor(int colornum) in initcolor() argument
33 if (!colornum) { in initcolor()
41 if (!colornum || colornum == 1) { in initcolor()
49 if (!colornum || colornum == 2) { in initcolor()
57 if (!colornum || colornum == 3) { in initcolor()
65 if (!colornum || colornum == 4) { in initcolor()
72 if (!colornum || colornum == 5) { in initcolor()
79 if (!colornum || colornum == 6) { in initcolor()
86 if (!colornum || colornum == 7) { in initcolor()
93 if (!colornum || colornum == 8) { in initcolor()
/dports/graphics/grx/grx249/src/bgi/
H A Dpalette.c39 void __gr_setpalette(int colornum, int color) in __gr_setpalette() argument
47 colornum &= 0x0f; in __gr_setpalette()
49 UsrPal.colors[colornum] = color; in __gr_setpalette()
53 regs.x.bx = colornum | (color << 8); in __gr_setpalette()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dlua_mathlib.c180 UINT16 colornum = (UINT16)luaL_checkinteger(L, 1); in lib_coloropposite() local
181 if (!colornum || colornum >= numskincolors) in lib_coloropposite()
182 return luaL_error(L, "skincolor %d out of range (1 - %d).", colornum, numskincolors-1); in lib_coloropposite()
183 lua_pushinteger(L, skincolors[colornum].invcolor); // push color in lib_coloropposite()
184 lua_pushinteger(L, skincolors[colornum].invshade); // push sign shade index, 0-15 in lib_coloropposite()
H A Dst_stuff.c451 UINT32 num, patch_t **numpat, skincolornum_t colornum) in ST_DrawNightsOverlayNum() argument
459 if (colornum == 0) in ST_DrawNightsOverlayNum()
462 colormap = R_GetTranslationColormap(TC_DEFAULT, colornum, GTC_CACHE); in ST_DrawNightsOverlayNum()
1326 UINT8 colornum; in ST_drawTitleCard() local
1330 colornum = players[consoleplayer].skincolor; in ST_drawTitleCard()
1332 colornum = cv_playercolor.value; in ST_drawTitleCard()
1334 colormap = R_GetTranslationColormap(TC_DEFAULT, colornum, GTC_CACHE); in ST_drawTitleCard()
1730 skincolornum_t colornum; in ST_drawNiGHTSLink() local
1740 colornum = SKINCOLOR_ICY; in ST_drawNiGHTSLink()
1742 colornum = linkColor[mag][sel]; in ST_drawNiGHTSLink()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/converter/ppm/
H A Dppmtosixel.c127 register int colornum; in WriteColorMap() local
130 for ( colornum = 0; colornum < colors ; ++colornum ) in WriteColorMap()
132 p = chv[colornum].color; in WriteColorMap()
135 printf( "#%d;2;%d;%d;%d", colornum, in WriteColorMap()
/dports/graphics/darktable38/darktable-3.8.0/src/external/rawspeed/src/librawspeed/decompressors/
H A DSamsungV2Decompressor.cpp241 uint32_t colornum = (row % 2 != 0) ? i >> 1 : ((i >> 1) + 2) % 3; in decodeDiffLengths() local
246 diffBits[i] = diffBitsMode[colornum][0]; in decodeDiffLengths()
249 diffBits[i] = diffBitsMode[colornum][0] + 1; in decodeDiffLengths()
252 if (diffBitsMode[colornum][0] == 0) in decodeDiffLengths()
254 diffBits[i] = diffBitsMode[colornum][0] - 1; in decodeDiffLengths()
263 diffBitsMode[colornum][0] = diffBitsMode[colornum][1]; in decodeDiffLengths()
264 diffBitsMode[colornum][1] = diffBits[i]; in decodeDiffLengths()
/dports/graphics/darktable/darktable-3.6.1/src/external/rawspeed/src/librawspeed/decompressors/
H A DSamsungV2Decompressor.cpp243 uint32_t colornum = (row % 2 != 0) ? i >> 1 : ((i >> 1) + 2) % 3; in decodeDiffLengths() local
248 diffBits[i] = diffBitsMode[colornum][0]; in decodeDiffLengths()
251 diffBits[i] = diffBitsMode[colornum][0] + 1; in decodeDiffLengths()
254 if (diffBitsMode[colornum][0] == 0) in decodeDiffLengths()
256 diffBits[i] = diffBitsMode[colornum][0] - 1; in decodeDiffLengths()
265 diffBitsMode[colornum][0] = diffBitsMode[colornum][1]; in decodeDiffLengths()
266 diffBitsMode[colornum][1] = diffBits[i]; in decodeDiffLengths()
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/rawspeed/src/librawspeed/decompressors/
H A DSamsungV2Decompressor.cpp242 uint32_t colornum = (row % 2 != 0) ? i >> 1 : ((i >> 1) + 2) % 3; in decodeDiffLengths() local
247 diffBits[i] = diffBitsMode[colornum][0]; in decodeDiffLengths()
250 diffBits[i] = diffBitsMode[colornum][0] + 1; in decodeDiffLengths()
253 if (diffBitsMode[colornum][0] == 0) in decodeDiffLengths()
255 diffBits[i] = diffBitsMode[colornum][0] - 1; in decodeDiffLengths()
264 diffBitsMode[colornum][0] = diffBitsMode[colornum][1]; in decodeDiffLengths()
265 diffBitsMode[colornum][1] = diffBits[i]; in decodeDiffLengths()
/dports/www/trac-devel/Trac-1.5.3/contrib/workflow/
H A Dworkflow_parser.py55 colornum = self.mapping[name]
57 self.mapping[name] = colornum = self.pick_color(name)
58 self.coloruse[colornum] += 1
59 return self.colors[colornum]
/dports/www/mimetex/mimetex-20120331.1.74/
H A Dgifsave.c53 void GIF_SetColor(int colornum, int red, int green, int blue);
54 void GIF_SetTransparent(int colornum); /* (added by j.forkosh) */
792 WriteTransparentColorIndex(int colornum)
794 if ( colornum < 0 ) return GIF_OK; /*no transparent color set*/
805 if (WriteByte((Byte)(colornum)) != GIF_OK) /* transparent color index */
956 GIF_SetColor(int colornum, int red, int green, int blue)
962 p = ColorTable + colornum * 3;
980 GIF_SetTransparent(int colornum)
982 TransparentColorIndex = colornum;
/dports/textproc/fox-xml/fox-4.1.2-91-g9c6716e/wkml/
H A Dm_wkml_contours.F90196 integer :: colornum local
223 colornum = i*255/(size(cp%contours)+1)
224 …all kmlCreateLineStyle(xf, width=3, colorhex='ff'//str(255-colornum, 'x2')//'00'//str(colornum, 'x…
244 integer :: colornum local
281 colornum = i*255/(size(cp%contours)+1)
282 colorhex = "c0"//str(255-colornum, "x2")//"ff"//str(colornum, "x2")
/dports/editors/texstudio/texstudio-4.1.2/completion/
H A Dsetdeck.cwl4 \setcard{num}{shadingnum}{colornum}{shapenum}{scaling}
5 \smallsetcard{num}{shadingnum}{colornum}{shapenum}{scaling}
/dports/games/cgoban/cgoban-1.9.14/wmslib/src/but/
H A Dbut.c754 if (colornum >= env->numColors) { in butEnv_setColor()
758 newcolors = (ulong *)wms_malloc((colornum+1)*sizeof(ulong)); in butEnv_setColor()
770 env->numColors = colornum + 1; in butEnv_setColor()
775 if (env->colorPmaps[colornum] != None) { in butEnv_setColor()
777 XFreePixmap(env->dpy, env->colorPmaps[colornum]); in butEnv_setColor()
778 XFreeColors(env->dpy, cmap, &env->colors[colornum], 1, 0); in butEnv_setColor()
788 env->colors[colornum] = temp.pixel; in butEnv_setColor()
789 env->colorPmaps[colornum] = in butEnv_setColor()
793 env->colorPmaps[colornum] = env->greyMaps[color.greyLevel]; in butEnv_setColor()
795 env->colors[colornum] = BlackPixel(dpy, DefaultScreen(dpy)); in butEnv_setColor()
[all …]
H A Dbut.h212 #define butEnv_setXFg(env, colornum) \ argument
215 XSetForeground(env->dpy, env->gc, env->colors[colornum]); \
217 XSetTile(env->dpy, env->gc, env->colorPmaps[colornum]); \
228 #define butEnv_setXFg2(env, colornum) \ argument
231 XSetForeground(env->dpy, env->gc2, env->colors[colornum]); \
233 XSetTile(env->dpy, env->gc2, env->colorPmaps[colornum]); \
459 extern bool butEnv_setColor(ButEnv *env, int colornum, ButColor color);
/dports/www/R-cran-RgoogleMaps/RgoogleMaps/R/
H A DColorMap.R48 colornum <- findInterval(values, brks, all.inside = T) functionVar
49 colcode <- plotclr[colornum]
/dports/graphics/grx/grx249/include/
H A Dlibbcc.h484 void __gr_setpalette(int colornum, int color);
541 void setpalette(int colornum, int color);
595 #define setpalette(colornum, color) __gr_setpalette((colornum),(color)) argument
795 void (setpalette)(int colornum, int color) {
796 __gr_setpalette(colornum,color);
/dports/lang/ptoc/ptoc/Xbgi/
H A Dsetpalette.c12 void setpalette(int colornum, int color) in setpalette() argument
H A Dsetrgbpalette.c12 void setrgbpalette(int colornum, int red, int green, int blue) in setrgbpalette() argument
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dwi_stuff.c1051 int colornum; in WI_Draw_Ranking() local
1056 colornum = 230; in WI_Draw_Ranking()
1058 colornum = 0x78; in WI_Draw_Ranking()
1087 SKIN_TO_SKINMAP(skin_color)[ colornum ] in WI_Draw_Ranking()
1088 : reg_colormaps[ colornum ]; // default green skin in WI_Draw_Ranking()
1693 byte colornum; in WI_Draw_NetgameStats() local
1695 colornum = 230; in WI_Draw_NetgameStats()
1697 colornum = 0x78; in WI_Draw_NetgameStats()
1714 SKIN_TO_SKINMAP(skin_color)[ colornum ] in WI_Draw_NetgameStats()
1715 : reg_colormaps[ colornum ]; // default green skin in WI_Draw_NetgameStats()
/dports/games/alienarena/alienarena-7.66/source/unix/
H A Dsys_unix.c88 int colornum = (string[1]-'0')&7; in Sys_ConsoleOutput() local
89 printf ("\033[%dm", q3ToAnsi[colornum]); in Sys_ConsoleOutput()
/dports/games/alienarena-data/alienarena-7.66/source/unix/
H A Dsys_unix.c88 int colornum = (string[1]-'0')&7; in Sys_ConsoleOutput() local
89 printf ("\033[%dm", q3ToAnsi[colornum]); in Sys_ConsoleOutput()
/dports/graphics/piglit/piglit-136a7f5fa0703603be1ffb338abe4865e76a8058/tests/texturing/
H A Dtexredefine.c65 static void teximage2d(GLuint lvl, GLuint w, GLuint h, int colornum) in teximage2d() argument
71 make_color(colornum, color); in teximage2d()
/dports/lang/ocaml/ocaml-4.05.0/byterun/
H A Dobj.c372 color_t colornum; in caml_obj_reachable_words() local
380 colornum = v & 3; in caml_obj_reachable_words()
382 Hd_val(v) = Coloredhd_hd(Hd_val(v), colornum); in caml_obj_reachable_words()
/dports/lang/ocaml-nox11/ocaml-4.05.0/byterun/
H A Dobj.c372 color_t colornum; in caml_obj_reachable_words() local
380 colornum = v & 3; in caml_obj_reachable_words()
382 Hd_val(v) = Coloredhd_hd(Hd_val(v), colornum); in caml_obj_reachable_words()
/dports/comms/linrad/linrad-04.02/
H A Dgifsave.c41 void GIF_SetColor(int colornum, int red, int green, int blue);
809 GIF_SetColor(int colornum, int red, int green, int blue) in GIF_SetColor() argument
815 p = ColorTable + colornum * 3; in GIF_SetColor()

12