]> granicus.if.org Git - nethack/commitdiff
MSDOS/VESA: Make clipy and clipymax available to MS-DOS
authorRay Chason <ray.chason@protonmail.com>
Sun, 26 Jan 2020 00:03:48 +0000 (19:03 -0500)
committerPasi Kallinen <paxed@alt.org>
Mon, 27 Jan 2020 07:54:58 +0000 (09:54 +0200)
VESA mode may need to scroll up and down as well as left and right.

win/tty/wintty.c

index a6ad2f7a2b083d76a7ce3406e3628a6a645e06da..fda9f6aa3eb4402fde556a0ede81bf5242291aa0 100644 (file)
@@ -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)