From: Ray Chason Date: Sun, 26 Jan 2020 00:03:48 +0000 (-0500) Subject: MSDOS/VESA: Make clipy and clipymax available to MS-DOS X-Git-Tag: NetHack-3.7.0_WIP~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=34da5ea3728924024dd4aaba5302f0ac4c075616;p=nethack MSDOS/VESA: Make clipy and clipymax available to MS-DOS VESA mode may need to scroll up and down as well as left and right. --- diff --git a/win/tty/wintty.c b/win/tty/wintty.c index a6ad2f7a2..fda9f6aa3 100644 --- a/win/tty/wintty.c +++ b/win/tty/wintty.c @@ -155,11 +155,12 @@ char defmorestr[] = "--More--"; #if defined(USE_TILES) && defined(MSDOS) boolean clipping = FALSE; /* clipping on? */ int clipx = 0, clipxmax = 0; +int clipy = 0, clipymax = 0; #else static boolean clipping = FALSE; /* clipping on? */ static int clipx = 0, clipxmax = 0; -#endif static int clipy = 0, clipymax = 0; +#endif #endif /* CLIPPING */ #if defined(USE_TILES) && defined(MSDOS)