curses: hilite_pet, hilite_pile without color
authorPatR <rankin@nethack.org>
Wed, 13 Mar 2019 23:50:56 +0000 (16:50 -0700)
committerPatR <rankin@nethack.org>
Wed, 13 Mar 2019 23:50:56 +0000 (16:50 -0700)
commitccd6d1407e86e5ef66019d37797ceccc6e6d426b
tree3cd574742575e5ef03151a71073f07da9acc9b5d
parent62a34040bdc6454797db2a61529e9864127f2267
curses: hilite_pet, hilite_pile without color

The curses interface was ignoring video attributes (bold, inverse, &c)
when color is toggled off or if built with TEXTCOLOR disabled.  Honor
attributes regardless of whether color is displayed.

Also, toggling 'hilite_pet' On during play wouldn't do anything if the
curses-specific 'petattr' option had been left as None.  (It worked as
intended if set in starting options.)
doc/fixes36.2
include/wincurs.h
src/options.c
win/curses/cursmain.c
win/curses/cursmisc.c
win/curses/cursmisc.h