tty: '>' no longer closes a menu window
tty: if color is disabled and use_inverse is enabled, display lava in inverse
video so that it is visually distinguishable from water
+tty: if "--More--" was written to leftmost column (beginning of second line)
+ while hero was swallowed, cursor would end up in wrong place (at end
+ of status line instead back on map) after message line was cleared
unix/X11: in top level Makefile, some commented out definitions of VARDATND
misspelled pilemark.xbm (as pilemark.xpm)
unix: options file with CR+LF line ends and an invalid option line resulted in
-/* NetHack 3.6 display.c $NHDT-Date: 1463154502 2016/05/13 15:48:22 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.85 $ */
+/* NetHack 3.6 display.c $NHDT-Date: 1463614572 2016/05/18 23:36:12 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.86 $ */
/* Copyright (c) Dean Luick, with acknowledgements to Kevin Darcy */
/* and Dave Cohrs, 1990. */
/* NetHack may be freely redistributed. See license for details. */
static xchar lastx, lasty; /* last swallowed position */
int swallower, left_ok, rght_ok;
- if (first)
+ if (first) {
cls();
- else {
+ bot();
+ } else {
register int x, y;
/* Clear old location */
-/* NetHack 3.6 wintty.c $NHDT-Date: 1461619522 2016/04/25 21:25:22 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.130 $ */
+/* NetHack 3.6 wintty.c $NHDT-Date: 1463614572 2016/05/18 23:36:12 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.131 $ */
/* Copyright (c) David Cohrs, 1991 */
/* NetHack may be freely redistributed. See license for details. */
register int y;
register struct WinDesc *cw = wins[WIN_MAP];
+#if 0 /* this optimization is not valuable enough to justify
+ abusing core internals... */
if (u.uswallow) { /* Can be done more efficiently */
swallowed(1);
+ /* without this flush, if we happen to follow --More-- displayed in
+ leftmost column, the cursor gets left in the wrong place after
+ <docorner<more<update_topl<tty_putstr calls unwind back to core */
+ flush_screen(0);
return;
}
+#endif /*0*/
#if defined(SIGWINCH) && defined(CLIPPING)
if (ymax > LI)