1 /* NetHack 3.6 color.h $NHDT-Date: 1432512776 2015/05/25 00:12:56 $ $NHDT-Branch: master $:$NHDT-Revision: 1.13 $ */
2 /* Copyright (c) Steve Linhart, Eric Raymond, 1989. */
3 /* NetHack may be freely redistributed. See license for details. */
9 * The color scheme used is tailored for an IBM PC. It consists of the
10 * standard 8 colors, followed by their bright counterparts. There are
11 * exceptions, these are listed below. Bright black doesn't mean very
12 * much, so it is used as the "default" foreground color of the screen.
17 #define CLR_BROWN 3 /* on IBM, low-intensity yellow is brown */
21 #define CLR_GRAY 7 /* low-intensity white */
24 #define CLR_BRIGHT_GREEN 10
26 #define CLR_BRIGHT_BLUE 12
27 #define CLR_BRIGHT_MAGENTA 13
28 #define CLR_BRIGHT_CYAN 14
32 /* The "half-way" point for tty based color systems. This is used in */
33 /* the tty color setup code. (IMHO, it should be removed - dean). */
36 /* these can be configured */
37 #define HI_OBJ CLR_MAGENTA
38 #define HI_METAL CLR_CYAN
39 #define HI_COPPER CLR_YELLOW
40 #define HI_SILVER CLR_GRAY
41 #define HI_GOLD CLR_YELLOW
42 #define HI_LEATHER CLR_BROWN
43 #define HI_CLOTH CLR_BROWN
44 #define HI_ORGANIC CLR_BROWN
45 #define HI_WOOD CLR_BROWN
46 #define HI_PAPER CLR_WHITE
47 #define HI_GLASS CLR_BRIGHT_CYAN
48 #define HI_MINERAL CLR_GRAY
49 #define DRAGON_SILVER CLR_BRIGHT_CYAN
50 #define HI_ZAP CLR_BRIGHT_BLUE
53 struct nhregex
*match
;
56 struct menucoloring
*next
;