Remove TEXTCOLOR build option
This commit is contained in:
@@ -1274,7 +1274,6 @@ void
|
||||
nhglyph2charcolor(short g, uchar *ch, int *color)
|
||||
{
|
||||
int offset;
|
||||
#ifdef TEXTCOLOR
|
||||
|
||||
#define zap_color(n) *color = iflags.use_color ? zapcolors[n] : NO_COLOR
|
||||
#define cmap_color(n) *color = iflags.use_color ? defsyms[n].color : NO_COLOR
|
||||
@@ -1285,17 +1284,6 @@ nhglyph2charcolor(short g, uchar *ch, int *color)
|
||||
#define warn_color(n) \
|
||||
*color = iflags.use_color ? def_warnsyms[n].color : NO_COLOR
|
||||
|
||||
#else /* no text color */
|
||||
|
||||
#define zap_color(n)
|
||||
#define cmap_color(n)
|
||||
#define obj_color(n)
|
||||
#define mon_color(n)
|
||||
#define pet_color(c)
|
||||
#define warn_color(c)
|
||||
*color = CLR_WHITE;
|
||||
#endif
|
||||
|
||||
if ((offset = (g - GLYPH_WARNING_OFF)) >= 0) { /* a warning flash */
|
||||
*ch = showsyms[offset + SYM_OFF_W];
|
||||
warn_color(offset);
|
||||
|
||||
Reference in New Issue
Block a user