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:
+1
-1
@@ -98,7 +98,7 @@ static XtSignalId X11_sig_id;
|
||||
/* Interface definition, for windows.c */
|
||||
struct window_procs X11_procs = {
|
||||
"X11",
|
||||
( WC_COLOR | WC_HILITE_PET | WC_ASCII_MAP | WC_TILED_MAP
|
||||
( WC_COLOR | WC_INVERSE | WC_HILITE_PET | WC_ASCII_MAP | WC_TILED_MAP
|
||||
| WC_PLAYER_SELECTION | WC_PERM_INVENT | WC_MOUSE_SUPPORT ),
|
||||
/* status requires VIA_WINDOWPORT(); WC2_FLUSH_STATUS ensures that */
|
||||
( WC2_FLUSH_STATUS
|
||||
|
||||
Reference in New Issue
Block a user