add customcolors option

customcolors (default) and !customcolors toggle whether the
custom colors get applied to the glyphmap.
This commit is contained in:
nhmall
2024-03-24 16:55:23 -04:00
parent f5c3445e80
commit 0b35079acc
8 changed files with 46 additions and 19 deletions
-13
View File
@@ -1094,19 +1094,6 @@ do_symset(boolean rogueflag)
return TRUE;
}
extern glyph_map glyphmap[MAX_GLYPH];
void
clear_all_glyphmap_colors(void)
{
int glyph;
for (glyph = 0; glyph < MAX_GLYPH; ++glyph) {
if (glyphmap[glyph].customcolor)
glyphmap[glyph].customcolor = 0;
}
}
RESTORE_WARNING_FORMAT_NONLITERAL
/*symbols.c*/