/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mapglyph.c | 9 #include "color.h" 27 #define zap_color(n) color = iflags.use_color ? zapcolors[n] : NO_COLOR 28 #define cmap_color(n) color = iflags.use_color ? defsyms[n].color : NO_COLOR 29 #define obj_color(n) color = iflags.use_color ? objects[n].oc_color : NO_COLOR 30 #define mon_color(n) color = iflags.use_color ? mons[n].mcolor : NO_COLOR 31 #define invis_color(n) color = NO_COLOR 32 #define pet_color(n) color = iflags.use_color ? mons[n].mcolor : NO_COLOR 33 #define warn_color(n) color = iflags.use_color ? def_warnsyms[n].color 69 int color = NO_COLOR; local [all...] |
H A D | objects.c | 16 #include "color.h" 34 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \ 43 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \ 44 {0, 0, (char *)0, bits, prp, sym, dly, COLOR_FIELD(color) \ 59 #define WEAPON(name,app,kn,mg,bi,prob,wt,cost,sdam,ldam,hitbon,typ,sub,metal,color) \ 63 wt, cost, sdam, ldam, hitbon, 0, wt, color ) 64 #define PROJECTILE(name,app,kn,prob,wt,cost,sdam,ldam,hitbon,metal,sub,color) \ 69 wt, cost, sdam, ldam, hitbon, 0, wt, color ) 70 #define BOW(name,app,kn,prob,wt,cost,hitbon,metal,sub,color) \ 74 wt, cost, 2, 2, hitbon, 0, wt, color ) [all...] |
H A D | o_init.c | 80 int color; local 97 color = objects[j].oc_color; 99 objects[i].oc_color = color;
|
H A D | wield.c | 691 const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE); local 726 Your("%s %s.", aobjnam(uwep, "faintly glow"), color); 734 aobjnam(uwep, "violently glow"), color, 746 color, xtime);
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/ |
H A D | mapglyph.c | 9 #include "color.h" 27 #define zap_color(n) color = iflags.use_color ? zapcolors[n] : NO_COLOR 28 #define cmap_color(n) color = iflags.use_color ? defsyms[n].color : NO_COLOR 29 #define obj_color(n) color = iflags.use_color ? objects[n].oc_color : NO_COLOR 30 #define mon_color(n) color = iflags.use_color ? mons[n].mcolor : NO_COLOR 31 #define invis_color(n) color = NO_COLOR 32 #define pet_color(n) color = iflags.use_color ? mons[n].mcolor : NO_COLOR 33 #define warn_color(n) color = iflags.use_color ? def_warnsyms[n].color 69 int color = NO_COLOR; local [all...] |
H A D | objects.c | 16 #include "color.h" 34 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \ 43 # define OBJECT(obj,bits,prp,sym,prob,dly,wt,cost,sdam,ldam,oc1,oc2,nut,color) \ 44 {0, 0, (char *)0, bits, prp, sym, dly, COLOR_FIELD(color) \ 59 #define WEAPON(name,app,kn,mg,bi,prob,wt,cost,sdam,ldam,hitbon,typ,sub,metal,color) \ 63 wt, cost, sdam, ldam, hitbon, 0, wt, color ) 64 #define PROJECTILE(name,app,kn,prob,wt,cost,sdam,ldam,hitbon,metal,sub,color) \ 69 wt, cost, sdam, ldam, hitbon, 0, wt, color ) 70 #define BOW(name,app,kn,prob,wt,cost,hitbon,metal,sub,color) \ 74 wt, cost, 2, 2, hitbon, 0, wt, color ) [all...] |
H A D | o_init.c | 80 int color; local 97 color = objects[j].oc_color; 99 objects[i].oc_color = color;
|
H A D | wield.c | 691 const char *color = hcolor((amount < 0) ? NH_BLACK : NH_BLUE); local 726 Your("%s %s.", aobjnam(uwep, "faintly glow"), color); 734 aobjnam(uwep, "violently glow"), color, 746 color, xtime);
|
/seL4-refos-master/projects/refos/impl/apps/tetris/src/ |
H A D | io.h | 80 #define __set_gm(attr,color,val) \ 81 if (!color) { \ 84 printf("\e[%d;%dm", color & 0x10 ? 1 : 0, (color & 0xF) + val); \ 89 #define textcolor(color) __set_gm(RESETATTR, color, 30) 90 #define textbackground(color) __set_gm(RESETATTR, color, 40)
|
/seL4-refos-master/apps/tetris/src/ |
H A D | io.h | 80 #define __set_gm(attr,color,val) \ 81 if (!color) { \ 84 printf("\e[%d;%dm", color & 0x10 ? 1 : 0, (color & 0xF) + val); \ 89 #define textcolor(color) __set_gm(RESETATTR, color, 30) 90 #define textbackground(color) __set_gm(RESETATTR, color, 40)
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/ |
H A D | wintty.h | 57 int color; /* current color */ member in struct:DisplayDesc 136 * a color or whatever. wintty.c should concern itself with WHERE to put 146 E void FDECL(term_start_color,(int color)); 147 E int FDECL(has_color,(int color)); 211 E void FDECL(tty_change_color,(int color,long rgb,int reverse));
|
H A D | def_os2.h | 172 UCHAR color; member in struct:__anon687
|
H A D | macwin.h | 7 #undef red /* undef internal color const strings from decl */ 60 Bitfield (color, 1);
|
H A D | wingem.h | 100 E void FDECL(Gem_change_color,(int color,long rgb,int reverse));
|
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/ |
H A D | wintty.h | 57 int color; /* current color */ member in struct:DisplayDesc 136 * a color or whatever. wintty.c should concern itself with WHERE to put 146 E void FDECL(term_start_color,(int color)); 147 E int FDECL(has_color,(int color)); 211 E void FDECL(tty_change_color,(int color,long rgb,int reverse));
|
H A D | def_os2.h | 172 UCHAR color; member in struct:__anon9
|
H A D | macwin.h | 7 #undef red /* undef internal color const strings from decl */ 60 Bitfield (color, 1);
|
H A D | wingem.h | 100 E void FDECL(Gem_change_color,(int color,long rgb,int reverse));
|
/seL4-refos-master/libs/libvterm/src/ |
H A D | pen.c | 117 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color)
argument 119 VTermValue val = { .color = color };
365 val->color = state->pen.fg;
369 val->color = state->pen.bg;
|
/seL4-refos-master/projects/refos/impl/libs/libvterm/src/ |
H A D | pen.c | 117 static void setpenattr_col(VTermState *state, VTermAttr attr, VTermColor color)
argument 119 VTermValue val = { .color = color };
365 val->color = state->pen.fg;
369 val->color = state->pen.bg;
|
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/win/tty/ |
H A D | termcap.c | 132 /* HI and HE will be updated in init_hilite if we're using color */ 810 * Sets up color highlighting, using terminfo(4) escape sequences. 813 * inclusion is safe. On systems with color terminfo, it should define 817 * If we don't get the definitions, then guess. Original color terminfos 1147 term_start_color(color) 1148 int color; 1150 xputs(hilites[color]); 1155 has_color(color) 1156 int color; 1177 return hilites[color] ! [all...] |
H A D | wintty.c | 291 ttyDisplay->color = NO_COLOR; 2317 if(ttyDisplay->color != NO_COLOR) { 2319 ttyDisplay->color = NO_COLOR; 2417 int color; local 2426 /* map glyph to character and color */ 2427 mapglyph(glyph, &ch, &color, &special, x, y); 2440 if (color != ttyDisplay->color) { 2441 if(ttyDisplay->color != NO_COLOR) 2443 ttyDisplay->color [all...] |
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/win/tty/ |
H A D | termcap.c | 132 /* HI and HE will be updated in init_hilite if we're using color */ 810 * Sets up color highlighting, using terminfo(4) escape sequences. 813 * inclusion is safe. On systems with color terminfo, it should define 817 * If we don't get the definitions, then guess. Original color terminfos 1147 term_start_color(color) 1148 int color; 1150 xputs(hilites[color]); 1155 has_color(color) 1156 int color; 1177 return hilites[color] ! [all...] |
H A D | wintty.c | 291 ttyDisplay->color = NO_COLOR; 2317 if(ttyDisplay->color != NO_COLOR) { 2319 ttyDisplay->color = NO_COLOR; 2417 int color; local 2426 /* map glyph to character and color */ 2427 mapglyph(glyph, &ch, &color, &special, x, y); 2440 if (color != ttyDisplay->color) { 2441 if(ttyDisplay->color != NO_COLOR) 2443 ttyDisplay->color [all...] |
/seL4-refos-master/kernel/manual/ |
H A D | manual.tex | 53 \usepackage{color}
|