-NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.851 $ $NHDT-Date: 1648428942 2022/03/28 00:55:42 $
+NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.864 $ $NHDT-Date: 1649269126 2022/04/06 18:18:46 $
General Fixes and Modified Features
-----------------------------------
fseek(), ftell() and fread()
Windows: when VIRTUAL_TERMINAL_SEQUENCES was not defined, the preprocessing
would fail on consoletty.c
+X11: fix build failure if STATUS_HILITES is disabled
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
-/* NetHack 3.7 winstat.c $NHDT-Date: 1646171629 2022/03/01 21:53:49 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.36 $ */
+/* NetHack 3.7 winstat.c $NHDT-Date: 1649269127 2022/04/06 18:18:47 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.37 $ */
/* Copyright (c) Dean Luick, 1992 */
/* NetHack may be freely redistributed. See license for details. */
{
int i;
struct X_status_value *sv;
+ int hilight_time = 1;
+#ifdef STATUS_HILITES
+ if (iflags.hilite_delta)
+ hilight_time = (int) iflags.hilite_delta;
+#endif
for (sv = shown_stats, i = 0; i < NUM_STATS; i++, sv++) {
if (!sv->set)
continue;
- if (sv->turn_count++ >= iflags.hilite_delta) {
+ if (sv->turn_count++ >= hilight_time) {
/* unhighlights by toggling a highlighted item back off again,
unless forced inverted by a status_hilite rule */
if (!sv->inverted_hilite) {