2 contains color/monchrome schemes for tty-mines.
7 #define C(color, string) "\033[" #color "m" #string "\033[0m"
22 char* mouse_highlight
;
28 char* emoticons
[NUM_EMOT
];
34 char* border_status_l
;
35 //TODO: better define status line
36 char* border_status_r
;
38 char* border_spacer_l
;
39 char* border_spacer_m
;
40 char* border_spacer_r
;
45 char* border_bottom_l
;
46 char* border_bottom_m
;
47 char* border_bottom_r
;
55 struct minescheme symbols_mono
= {
56 .number
= {" ", "1", "2", "3", "4", "5", "6", "7", "8"},
58 .field_flagged
= "\033[7m!\033[0m",
59 .field_question
= "\033[7m?\033[0m",
60 .mouse_highlight
= "▓▓",
66 .emoticons
= {":)", ":(", ":D", ":o"},
72 .border_status_l
= "║ ",
73 .border_status_r
= " ║",
75 .border_spacer_l
= "╟─",
76 .border_spacer_m
= "──",
77 .border_spacer_r
= "─╢",
79 .border_field_l
= "║ ",
80 .border_field_r
= " ║",
82 .border_bottom_l
= "╚═",
83 .border_bottom_m
= "═",
84 .border_bottom_r
= "═╝",
87 .flag_offset
= 4, /* length of the escape sequece infront of .field_flagged and .field_question for cursor highlighting */
90 struct minescheme symbols_col1
= {
91 .number
= {" ", C(94,1
), C(32,2
), C(31,3
), C(34,4
), C(33,5
), C(36,6
), C(30,7
), C(97,8
)},
93 .field_flagged
= "\033[37m▕\033[91m▀\033[m",
94 .field_question
= "?",
95 .mouse_highlight
= "▓▓",
97 .mine_death
= C(31,*
),
101 .emoticons
= {":)", ":(", ":D", ":o"},
103 .border_top_l
= "╔═",
104 .border_top_m
= "══",
105 .border_top_r
= "═╗",
107 .border_status_l
= "║ ",
108 .border_status_r
= " ║",
110 .border_spacer_l
= "╟─",
111 .border_spacer_m
= "──",
112 .border_spacer_r
= "─╢",
114 .border_field_l
= "║ ",
115 .border_field_r
= " ║",
117 .border_bottom_l
= "╚═",
118 .border_bottom_m
= "═",
119 .border_bottom_r
= "═╝",
124 struct minescheme symbols_doublewidth
= {
125 /* vt220 multilingual character set,
126 see http://vt100.net/docs/vt220-rm/table2-4.html */
127 .number
= {" ", C(1,1), C(1,2), C(1,3), C(1,4), C(1,5), C(1,6), C(1,7), C(1,8)},
128 .field_closed
= "\x61",
129 .field_flagged
= C(1,!),
130 .field_question
= C(1,?),
131 .mouse_highlight
= C(5,@
),
132 .mine_normal
= C(1,*),
133 .mine_death
= C(1,#),
134 .mine_wrongf
= C(1,/),
135 .mine_wrongq
= C(1,\\),
137 .emoticons
= {":)", ":(", ":D", ":o"},
139 .border_top_l
= "\033#6\x6c",
140 .border_top_m
= "\x71",
141 .border_top_r
= "\x6b",
143 .border_status_l
= "\033#6\x78",
144 .border_status_r
= "\x78",
146 .border_spacer_l
= "\033#6\x74",
147 .border_spacer_m
= "\x71",
148 .border_spacer_r
= "\x75",
150 .border_field_l
= "\033#6\x78",
151 .border_field_r
= "\x78",
153 .border_bottom_l
= "\033#6\x6d",
154 .border_bottom_m
= "\x71",
155 .border_bottom_r
= "\x6a",
158 .init_seq
= "\033(0", /* enable DEC Special Graphics Character Set */
159 .reset_seq
= "\033(B", /* enable DEC Multinational Character Set (TODO: check) */