colours
int colours(struct ship *);
if ((c == *buf || tolower((unsigned char)c) == *buf || colours(sp) == *buf)
(void) waddch(view_w, colours(sp));
colours(ms),
ship->shipname, colours(ship), sterncolour(ship));
for (i = 0; i < nitems(colours); i++) {
if (strcasecmp(colours[i].name, name) == 0)
return (colours[i].c|COLOUR_FLAG_RGB);
} colours[] = {
u_int colours;
colours = 256;
colours = tty_term_number(tty->term, TTYC_COLORS);
if (colours >= 256)
if (colours >= 16)
if (gc->fg >= 90 && gc->fg <= 97 && colours < 16) {
u_int colours;
colours = 256;
colours = tty_term_number(tty->term, TTYC_COLORS);
if (colours >= 256)
if (colours >= 16)
if (gc->bg >= 90 && gc->bg <= 97 && colours < 16)