| 8977 | #undef HELP_IDX |
| 8978 | |
| 8979 | staticfn void |
| 8980 | reset_needed_visuals(void) |
| 8981 | { |
| 8982 | if (go.opt_need_glyph_reset) { |
| 8983 | reset_glyphmap(gm_optionchange); |
| 8984 | } |
| 8985 | if (go.opt_reset_customcolors || go.opt_update_basic_palette |
| 8986 | || go.opt_reset_customsymbols || go.opt_need_redraw) { |
| 8987 | if (go.opt_update_basic_palette) { |
| 8988 | #ifdef CHANGE_COLOR |
| 8989 | change_palette(); |
| 8990 | #endif |
| 8991 | go.opt_update_basic_palette = FALSE; |
| 8992 | } |
| 8993 | if (go.opt_reset_customcolors) |
| 8994 | reset_customcolors(); |
| 8995 | if (go.opt_reset_customsymbols) |
| 8996 | reset_customsymbols(); |
| 8997 | if (go.opt_need_redraw) { |
| 8998 | check_gold_symbol(); |
| 8999 | reglyph_darkroom(); |
| 9000 | } |
| 9001 | docrt(); |
| 9002 | } |
| 9003 | if (go.opt_need_promptstyle) { |
| 9004 | adjust_menu_promptstyle(WIN_INVEN, &iflags.menu_headings); |
| 9005 | } |
| 9006 | if (disp.botl || disp.botlx) { |
| 9007 | bot(); |
| 9008 | } |
| 9009 | go.opt_need_redraw = FALSE; |
| 9010 | go.opt_need_glyph_reset = FALSE; |
| 9011 | go.opt_reset_customcolors = FALSE; |
| 9012 | go.opt_reset_customsymbols = FALSE; |
| 9013 | go.opt_update_basic_palette = FALSE; |
| 9014 | } |
| 9015 | |
| 9016 | /* doset(#optionsfull command) menu entries for compound options */ |
| 9017 | staticfn void |
no test coverage detected