X11 - ice on black&white text map

Add support for black&white ice (3.7.0 feature) similar to already
supported black&white lava:  show in inverse video if it uses the
same character as floor (in the ice case; as water in the lava case).

Inverse for monster detection, black&white lava, and now black&white
ice was being done unconditionally but has been changed so that the
user can disable it by toggling the 'use_inverse' run-time option.

[Bug noticed in the process:  if you move an inverse video cursor
onto inverse video detected monster/lava/ice (when doing farlook, for
instance), the cursor disappears.  I'm not sure how to address that.]
This commit is contained in:
PatR
2020-04-06 14:15:36 -07:00
parent 4d8d88063b
commit d984b0b87c
3 changed files with 7 additions and 4 deletions

View File

@@ -161,6 +161,8 @@ fix door created into random wall or position opening into solid wall
being more general; change its default to True
X11: was still initializing map to 'stone' instead of 'unexplored' after they
became separate glyphs
X11: for text map without color, add support for black&white ice; draw it in
inverse video to distinguish from ordinary floor
Platform- and/or Interface-Specific Fixes