/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | dday_vidhrdw.c | 99 colortable[0*8+0] = 0; in PALETTE_INIT() 100 colortable[0*8+1] = 1; in PALETTE_INIT() 102 colortable[0*8+3] = 2; in PALETTE_INIT() 108 colortable[1*8+0] = 4; in PALETTE_INIT() 109 colortable[1*8+1] = 5; in PALETTE_INIT() 110 colortable[1*8+2] = 3; in PALETTE_INIT() 111 colortable[1*8+3] = 7; in PALETTE_INIT() 117 colortable[2*8+0] = 8; in PALETTE_INIT() 120 colortable[2*8+3] = 3; in PALETTE_INIT() 126 colortable[3*8+0] = 8; in PALETTE_INIT() [all …]
|
H A D | docastle_vidhrdw.c | 83 colortable[16*i+j] = 8*i+j; in convert_color_prom() 84 colortable[16*i+j+8] = 8*i+j; in convert_color_prom() 96 colortable[32*16+16*i+j+8] = 8*i+j; in convert_color_prom() 100 colortable[32*16+16*i+j] = 8*i+j; in convert_color_prom() 117 colortable[64*16+16*i+j] = 256; /* high bit clear means transparent */ in convert_color_prom() 119 colortable[64*16+16*i+j] = 256; /* sprite covering color */ in convert_color_prom() 121 colortable[64*16+16*i+j] = 8*i+(j&7); in convert_color_prom() 126 colortable[64*16+32*16+16*i+j] = 257; /* sprite covering color */ in convert_color_prom() 128 colortable[64*16+32*16+16*i+j] = 256; in convert_color_prom() 135 convert_color_prom(colortable,color_prom,0); in PALETTE_INIT() [all …]
|
H A D | tunhunt_vidhrdw.c | 123 colortable[1] = 0x4; /* foreground color */ in PALETTE_INIT() 126 colortable[2] = 0x5; /* background color#1 */ in PALETTE_INIT() 127 colortable[3] = 0x4; /* foreground color */ in PALETTE_INIT() 130 colortable[4] = 0x6; /* background color#2 */ in PALETTE_INIT() 131 colortable[5] = 0x4; /* foreground color */ in PALETTE_INIT() 134 colortable[6] = 0xf; /* background color#3 */ in PALETTE_INIT() 135 colortable[7] = 0x4; /* foreground color */ in PALETTE_INIT() 140 colortable[0x8] = 0; in PALETTE_INIT() 141 colortable[0x9] = 4;//1; in PALETTE_INIT() 142 colortable[0xa] = 2; in PALETTE_INIT() [all …]
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | dday_vidhrdw.c | 99 colortable[0*8+0] = 0; in PALETTE_INIT() 100 colortable[0*8+1] = 1; in PALETTE_INIT() 102 colortable[0*8+3] = 2; in PALETTE_INIT() 108 colortable[1*8+0] = 4; in PALETTE_INIT() 109 colortable[1*8+1] = 5; in PALETTE_INIT() 110 colortable[1*8+2] = 3; in PALETTE_INIT() 111 colortable[1*8+3] = 7; in PALETTE_INIT() 117 colortable[2*8+0] = 8; in PALETTE_INIT() 120 colortable[2*8+3] = 3; in PALETTE_INIT() 126 colortable[3*8+0] = 8; in PALETTE_INIT() [all …]
|
H A D | docastle_vidhrdw.c | 83 colortable[16*i+j] = 8*i+j; in convert_color_prom() 84 colortable[16*i+j+8] = 8*i+j; in convert_color_prom() 96 colortable[32*16+16*i+j+8] = 8*i+j; in convert_color_prom() 100 colortable[32*16+16*i+j] = 8*i+j; in convert_color_prom() 117 colortable[64*16+16*i+j] = 256; /* high bit clear means transparent */ in convert_color_prom() 119 colortable[64*16+16*i+j] = 256; /* sprite covering color */ in convert_color_prom() 121 colortable[64*16+16*i+j] = 8*i+(j&7); in convert_color_prom() 126 colortable[64*16+32*16+16*i+j] = 257; /* sprite covering color */ in convert_color_prom() 128 colortable[64*16+32*16+16*i+j] = 256; in convert_color_prom() 135 convert_color_prom(colortable,color_prom,0); in PALETTE_INIT() [all …]
|
H A D | tunhunt_vidhrdw.c | 123 colortable[1] = 0x4; /* foreground color */ in PALETTE_INIT() 126 colortable[2] = 0x5; /* background color#1 */ in PALETTE_INIT() 127 colortable[3] = 0x4; /* foreground color */ in PALETTE_INIT() 130 colortable[4] = 0x6; /* background color#2 */ in PALETTE_INIT() 131 colortable[5] = 0x4; /* foreground color */ in PALETTE_INIT() 134 colortable[6] = 0xf; /* background color#3 */ in PALETTE_INIT() 135 colortable[7] = 0x4; /* foreground color */ in PALETTE_INIT() 140 colortable[0x8] = 0; in PALETTE_INIT() 141 colortable[0x9] = 4;/*1;*/ in PALETTE_INIT() 142 colortable[0xa] = 2; in PALETTE_INIT() [all …]
|
H A D | darkmist_vidhrdw.c | 87 *(colortable++) = 0x100; in PALETTE_INIT() 89 *(colortable++) = (*color_prom & 0x3f) + 0x80; in PALETTE_INIT() 96 *(colortable++) = 0x100; in PALETTE_INIT() 98 *(colortable++) = (*color_prom & 0x3f) + 0x00; in PALETTE_INIT() 105 *(colortable++) = 0x100; in PALETTE_INIT() 107 *(colortable++) = (*color_prom & 0x3f) + 0x40; in PALETTE_INIT() 114 *(colortable++) = 0x100; in PALETTE_INIT() 116 *(colortable++) = (*color_prom & 0x3f) + 0xc0; in PALETTE_INIT()
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/ |
H A D | dday.c | 246 colortable[0*4+0] = 0; in dday_vh_convert_color_prom() 247 colortable[0*4+1] = 1; in dday_vh_convert_color_prom() 249 colortable[0*4+3] = 2; in dday_vh_convert_color_prom() 251 colortable[1*4+0] = 4; in dday_vh_convert_color_prom() 252 colortable[1*4+1] = 5; in dday_vh_convert_color_prom() 253 colortable[1*4+2] = 3; in dday_vh_convert_color_prom() 254 colortable[1*4+3] = 7; in dday_vh_convert_color_prom() 256 colortable[2*4+0] = 8; in dday_vh_convert_color_prom() 259 colortable[2*4+3] = 3; in dday_vh_convert_color_prom() 261 colortable[3*4+0] = 8; in dday_vh_convert_color_prom() [all …]
|
H A D | docastle.c | 90 colortable[16*i+j] = 8*i+j; in convert_color_prom() 91 colortable[16*i+j+8] = 8*i+j; in convert_color_prom() 102 colortable[32*16+16*i+j] = 256; /* high bit clear means less priority than sprites */ in convert_color_prom() 103 colortable[32*16+16*i+j+8] = 8*i+j; in convert_color_prom() 107 colortable[32*16+16*i+j] = 8*i+j; in convert_color_prom() 108 colortable[32*16+16*i+j+8] = 256; /* high bit set means less priority than sprites */ in convert_color_prom() 120 colortable[64*16+16*i+j] = 256; /* high bit clear means transparent */ in convert_color_prom() 122 colortable[64*16+16*i+j+8] = 8*i+j; in convert_color_prom() 124 colortable[64*16+16*i+j+8] = 257; /* sprite covering color */ in convert_color_prom() 161 convert_color_prom(palette,colortable,color_prom,0); in docastle_vh_convert_color_prom() [all …]
|
H A D | avgdvg.h | 26 void avg_init_palette_white (unsigned char *palette, unsigned short *colortable,const unsigned char… 28 void avg_init_palette_aqua (unsigned char *palette, unsigned short *colortable,const unsigned char… 30 void avg_init_palette_bzone (unsigned char *palette, unsigned short *colortable,const unsigned char… 32 void avg_init_palette_multi (unsigned char *palette, unsigned short *colortable,const unsigned char… 34 void avg_init_palette_swars (unsigned char *palette, unsigned short *colortable,const unsigned char… 36 void avg_init_palette_astdelux (unsigned char *palette, unsigned short *colortable,const unsigned …
|
/dports/games/tomenet/tomenet-4.6.0/src/client/ |
H A D | main-sla.c | 36 static int colortable[16]; variable 412 colortable[0] = 7; /* Black */ in init_sla() 413 colortable[1] = 0; /* White */ in init_sla() 414 colortable[2] = 6; /* Grey XXX */ in init_sla() 415 colortable[3] = 11; /* Orange XXX */ in init_sla() 416 colortable[4] = 1; /* Red */ in init_sla() 417 colortable[5] = 2; /* Green */ in init_sla() 418 colortable[6] = 4; /* Blue */ in init_sla() 419 colortable[7] = 3; /* Brown */ in init_sla() 422 colortable[10] = 5; /* Purple */ in init_sla() [all …]
|
H A D | main-gcu.c | 238 static int colortable[16]; variable 986 colortable[0] = (COLOR_PAIR(0) | A_NORMAL); /* Black */ in init_gcu() 987 colortable[1] = (COLOR_PAIR(1) | A_NORMAL); /* White */ in init_gcu() 990 colortable[4] = (COLOR_PAIR(4) | A_NORMAL); /* Red */ in init_gcu() 992 colortable[6] = (COLOR_PAIR(6) | A_NORMAL); /* Blue */ in init_gcu() 1019 colortable[1] = (COLOR_PAIR(0) | A_BRIGHT); in init_gcu() 1020 colortable[2] = (COLOR_PAIR(0) | A_NORMAL); in init_gcu() 1021 colortable[3] = (COLOR_PAIR(3) | A_NORMAL); in init_gcu() 1022 colortable[4] = (COLOR_PAIR(1) | A_NORMAL); /* Red */ in init_gcu() 1024 colortable[6] = (COLOR_PAIR(4) | A_NORMAL); /* Blue */ in init_gcu() [all …]
|
/dports/games/zangband/zangband/src/ |
H A D | main-sla.c | 40 static int colortable[16]; variable 409 colortable[0] = 7; /* Black */ in init_sla() 410 colortable[1] = 0; /* White */ in init_sla() 411 colortable[2] = 6; /* Grey XXX */ in init_sla() 412 colortable[3] = 11; /* Orange XXX */ in init_sla() 413 colortable[4] = 1; /* Red */ in init_sla() 414 colortable[5] = 2; /* Green */ in init_sla() 415 colortable[6] = 4; /* Blue */ in init_sla() 416 colortable[7] = 3; /* Brown */ in init_sla() 419 colortable[10] = 5; /* Purple */ in init_sla() [all …]
|
H A D | main-gcu.c | 252 static int colortable[16]; variable 1032 colortable[i - 1] = (COLOR_PAIR(i) | A_NORMAL); in init_gcu() 1033 colortable[i + 7] = (COLOR_PAIR(i) | A_BRIGHT); in init_gcu() 1057 colortable[0] = (COLOR_PAIR(7) | A_NORMAL); /* Black */ in init_gcu() 1058 colortable[1] = (COLOR_PAIR(0) | A_BRIGHT); /* White */ in init_gcu() 1061 colortable[4] = (COLOR_PAIR(1) | A_NORMAL); /* Red */ in init_gcu() 1062 colortable[5] = (COLOR_PAIR(2) | A_NORMAL); /* Green */ in init_gcu() 1063 colortable[6] = (COLOR_PAIR(4) | A_NORMAL); /* Blue */ in init_gcu() 1064 colortable[7] = (COLOR_PAIR(3) | A_NORMAL); /* Umber */ in init_gcu() 1067 colortable[10] = (COLOR_PAIR(5) | A_NORMAL); /* Purple */ in init_gcu() [all …]
|
/dports/math/R-cran-raster/raster/man/ |
H A D | colortable.Rd | 1 \name{colortable} 3 \alias{colortable} 4 \alias{colortable<-} 6 \title{colortable} 9 Get or set the colortable of a RasterLayer. A colortable is a vector of 256 colors in the RGB tripl… 11 When setting the colortable, it is assumed that the values are integers in the range [0,255] 15 colortable(x) 16 colortable(x) <- value 30 colortable(r) <- ctab 32 head(colortable(r))
|
/dports/games/xgalaga/xgalaga-2.1.1.0/libsprite/ |
H A D | init.c | 169 colortable[i].pixelValue = white; in GetColors() 171 colortable[i].pixelValue = black; in GetColors() 174 colortable[i].pixmap = XCreatePixmapFromBitmapData in GetColors() 189 (unsigned)colortable[i].pixelValue, in GetColors() 190 (unsigned)colortable[i].pixelValue, in GetColors() 213 defs = colortable[i].name; in GetColors() 216 colortable[i].pixelValue = foo.pixel; in GetColors() 265 defs = strdup(colortable[i].name); in GetColors() 307 colortable[i].pixelValue = foo.pixel; in GetColors() 316 colortable[i].pixelValue); in GetColors() [all …]
|
H A D | image.c | 297 colortable[W_Black].contexts[BITMASKGC], 0, 303 colortable[color].contexts[BITMASKGC], 0, 310 colortable[color].contexts[BITGC], 0, 314 colortable[color].contexts[BITGC], 0, 412 colortable[color].contexts[BITMASKGC], 0, 422 colortable[color].contexts[BITMASKGC], 0, 433 colortable[color].contexts[BITGC], 0, 437 colortable[color].contexts[BITGC], 0, 456 colortable[W_Black].contexts[BITGC], 0, 460 colortable[color].contexts[BITGC], 0, [all …]
|
/dports/textproc/p5-Text-FormatTable/Text-FormatTable-1.03/ |
H A D | test.pl | 41 my $colortable = Text::FormatTable->new('l l l'); 44 $colortable->head('foo', $RED . 'bar' . $RESET, 'bat'); 45 $colortable->rule('='); 46 $colortable->row(qw(a b c)); 47 my $output = $colortable->render(); 54 my $colortable = Text::FormatTable->new('l l l'); 57 $colortable->head('foo', 'bar', 'bat'); 58 $colortable->rule('='); 59 $colortable->row('a', $RED . 'b' . $RESET, 'c'); 60 my $output = $colortable->render();
|
/dports/math/freefem++/FreeFem-sources-4.6/src/Graphics/ |
H A D | Xrgraph.cpp | 97 static XColor *colortable; variable 222 if (colortable) in couleur() 237 if (colortable) { in couleur() 279 if(colortable) delete [] colortable; in SetColorTable1() 318 if(colortable) delete [] colortable; in SetColorTable() 323 colortable[k].pixel=k; in SetColorTable() 330 colortable[k].pixel=k; in SetColorTable() 331 colortable[k].red=0; in SetColorTable() 332 colortable[k].green=0; in SetColorTable() 333 colortable[k].blue=0; in SetColorTable() [all …]
|
H A D | sansrgraph.cpp | 138 static XColor *colortable; variable 268 if (colortable) { in couleur() 310 if(colortable) delete [] colortable; in SetColorTable1() 329 if(colortable) delete [] colortable; in SetColorTable() 335 colortable[k].red= 65535; in SetColorTable() 337 colortable[k].blue= 65535; in SetColorTable() 339 colortable[k].red=0; in SetColorTable() 340 colortable[k].green=0; in SetColorTable() 341 colortable[k].blue=0; in SetColorTable() 397 colortable=0; in initgraphique() [all …]
|
/dports/games/netrek-client-cow/netrek-client-cow-3.3.2/ |
H A D | x11window.c | 258 struct colors colortable[] = variable 299 #define NCOLORS (sizeof(colortable)/sizeof(colortable[0])) 675 colortable[i].pixelValue, in GetColors() 676 colortable[i].pixelValue, in GetColors() 745 defaults = colortable[i].name; in GetColors() 865 defaults = colortable[i].name; in GetColors() 891 colortable[i].pixelValue); in GetColors() 893 colortable[W_Black].pixelValue); in GetColors() 1035 colortable[color].pixmap); in W_ChangeBorder() 1705 colortable[color].pixelValue); in W_WriteCircle() [all …]
|
/dports/games/mangband/mangband-1.5.3/src/client/ |
H A D | main-gcu.c | 242 static int colortable[16]; variable 892 if (can_use_color) wattrset(td->win, colortable[a & 0x0F]); in Term_text_gcu() 1023 colortable[i] = (COLOR_PAIR(i) | A_NORMAL); in init_gcu() 1062 colortable[0] = (COLOR_PAIR(7) | A_NORMAL); /* Black */ in init_gcu() 1063 colortable[1] = (COLOR_PAIR(0) | A_NORMAL); /* White */ in init_gcu() 1066 colortable[4] = (COLOR_PAIR(1) | A_NORMAL); /* Red */ in init_gcu() 1067 colortable[5] = (COLOR_PAIR(2) | A_NORMAL); /* Green */ in init_gcu() 1068 colortable[6] = (COLOR_PAIR(4) | A_NORMAL); /* Blue */ in init_gcu() 1069 colortable[7] = (COLOR_PAIR(3) | A_NORMAL); /* Umber */ in init_gcu() 1072 colortable[10] = (COLOR_PAIR(5) | A_NORMAL); /* Purple */ in init_gcu() [all …]
|
/dports/games/angband/Angband-4.2.2/src/ |
H A D | main-gcu.c | 175 static int colortable[BASIC_COLORS]; variable 753 colortable[i] = COLOR_PAIR(i + 1) | isbold; in Term_xtra_gcu_react() 858 color = colortable[attr]; in Term_text_gcu() 1063 colortable[COLOUR_DARK] = (COLOR_PAIR(PAIR_BLACK)); in init_gcu() 1065 colortable[COLOUR_SLATE] = (COLOR_PAIR(PAIR_WHITE)); in init_gcu() 1067 colortable[COLOUR_RED] = (COLOR_PAIR(PAIR_RED)); in init_gcu() 1068 colortable[COLOUR_GREEN] = (COLOR_PAIR(PAIR_GREEN)); in init_gcu() 1069 colortable[COLOUR_BLUE] = (COLOR_PAIR(PAIR_BLUE)); in init_gcu() 1070 colortable[COLOUR_UMBER] = (COLOR_PAIR(PAIR_YELLOW)); in init_gcu() 1072 colortable[COLOUR_L_WHITE] = (COLOR_PAIR(PAIR_WHITE)); in init_gcu() [all …]
|
/dports/math/reduce/Reduce-svn5758-src/csl/fox/src/ |
H A D | fxxpmio.cpp | 119 FXColor colortable[16384],*pix,color; in fxloadXPM() local 173 colortable[(FXuchar)line[0]]=color; in fxloadXPM() 176 colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]=color; in fxloadXPM() 179 colortable[c]=color; in fxloadXPM() 194 color=colortable[(FXuchar)line[0]]; in fxloadXPM() 197 color=colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]; in fxloadXPM() 218 FXColor colortable[16384],*pix,color; in fxloadXPM() local 270 colortable[(FXuchar)line[0]]=color; in fxloadXPM() 273 colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]=color; in fxloadXPM() 276 colortable[c]=color; in fxloadXPM() [all …]
|
/dports/x11-toolkits/fox16/fox-1.6.57/src/ |
H A D | fxxpmio.cpp | 119 FXColor colortable[16384],*pix,color; in fxloadXPM() local 173 colortable[(FXuchar)line[0]]=color; in fxloadXPM() 176 colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]=color; in fxloadXPM() 179 colortable[c]=color; in fxloadXPM() 194 color=colortable[(FXuchar)line[0]]; in fxloadXPM() 197 color=colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]; in fxloadXPM() 218 FXColor colortable[16384],*pix,color; in fxloadXPM() local 270 colortable[(FXuchar)line[0]]=color; in fxloadXPM() 273 colortable[(((FXuchar)line[1])<<7)+(FXuchar)line[0]]=color; in fxloadXPM() 276 colortable[c]=color; in fxloadXPM() [all …]
|