]> granicus.if.org Git - nethack/commitdiff
Doc and sample config for MSDOS video resolution
authorPasi Kallinen <paxed@alt.org>
Mon, 27 Jan 2020 08:05:08 +0000 (10:05 +0200)
committerPasi Kallinen <paxed@alt.org>
Mon, 27 Jan 2020 08:13:48 +0000 (10:13 +0200)
doc/Guidebook.mn
doc/Guidebook.tex
sys/share/NetHack.cnf

index d6594f32888f03c53f9e7b432fba4cfbe79c79c2..fdaf540f798acb022584d52039cbd711162c2aa3 100644 (file)
@@ -3907,6 +3907,10 @@ Values are \(lqautodetect\(rq, \(lqdefault\(rq, or \(lqvga\(rq.
 Setting \(lqvga\(rq (or \(lqautodetect\(rq with vga hardware present)
 will cause the game to display tiles.
 Cannot be set with the \(oqO\(cq command.
+.lp video_height
+Set the VGA mode resolution height (MS-DOS only, with video:vga)
+.lp video_width
+Set the VGA mode resolution width (MS-DOS only, with video:vga)
 .lp videocolors
 Set the color palette for PC systems using NO_TERMS
 (default 4-2-6-1-5-3-15-12-10-14-9-13-11, (PC NetHack only).
index 649b09d80fd11f3da5a720158a71f0d9c66917a8..a7772a034a730ef9733e8689ac1051ef498b583c 100644 (file)
@@ -4342,6 +4342,12 @@ Setting {\it vga\/} (or {\it autodetect\/} with vga hardware present) will
 cause the game to display tiles.
 Cannot be set with the `{\tt O}' command.
 %.lp
+\item[\ib{video\verb+_+height}]
+Set the VGA mode resolution height (MS-DOS only, with video:vga)
+%.lp
+\item[\ib{video\verb+_+width}]
+Set the VGA mode resolution height (MS-DOS only, with video:vga)
+%.lp
 \item[\ib{videocolors}]
 \begin{sloppypar}
 Set the color palette for PC systems using NO\verb+_+TERMS
index 58154bfce99c56ff08f828cfbec288ef9e55da0d..3d29538a0896bced1552a4c31105a602e41cff07 100644 (file)
@@ -27,6 +27,10 @@ OPTIONS=rawio,BIOS,symset:IBMGraphics_2,roguesymset:RogueEpyx
 # To use VGA graphical tiles on an MS-DOS PC with VGA or better,uncomment 
 # this:
 #OPTIONS=video:autodetect
+# And to explicitly set the resolution:
+#OPTIONS=video_width:1024
+#OPTIONS=video_height:768
+
 
 # If your machine is NEC PC-9800, use:
 #OPTIONS=rawio,BIOS,video:default