add a CLR_WALL color to fix errors when inverting
commita25a468c17c3e19bd0479a941188ca7830d866dc
authorPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:13:25 +0000 (3 19:13 -0500)
committerPhilip Pavlick <swashdev@pm.me>
Fri, 4 Sep 2020 00:13:25 +0000 (3 19:13 -0500)
tree8804893cb9a953c007808496d6752ce406af4331
parentf73b56c475ccb1a59a19f600481074bfa2c842a6
add a CLR_WALL color to fix errors when inverting

Previous errors with the CLR_GRAY color pair being inverted were caused
by the existing color pair being declared statically, resulting in _all_
instances of CLR_GRAY being inverted.  To fix this, a special color
named CLR_WALL has been created which uses the same curses color pair
but reversed.  This color pair is only reversed if REVERSED_WALLS is
set to true.

The SYM_WALL symbol now uses the CLR_WALL color pair.
src/colors.d
src/tsyms.d