Update description of OPTIONS=video

Document OPTIONS=video:vesa. Also, OPTIONS=video_width and video_height
work with vesa, not vga; and the TeX guidebook needs some syntax fixes.
This commit is contained in:
Ray Chason
2020-02-01 11:03:36 -05:00
parent c03ed894de
commit a391bf0e7b
2 changed files with 22 additions and 12 deletions

View File

@@ -3987,14 +3987,19 @@ if needed.
Cannot be set with the \(oqO\(cq command.
.lp video
Set the video mode used (PC NetHack only).
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.
Values are \(lqautodetect\(rq, \(lqdefault\(rq, \(lqvga\(rq, or \(lqvesa\(rq.
Setting \(lqvesa\(rq will cause the game to display tiles, using the full
capability of the VGA hardware.
Setting \(lqvga\(rq will cause the game to display tiles, fixed at 640x480
in 16 colors, a mode that is compatible with all VGA hardware. Third party
tilesets will probably not work.
Setting \(lqautodetect\(rq attempts \(lqvesa\(rq, then \(lqvga\(rq, and
finally sets \(lqdefault\(rq if neither of those modes works.
Cannot be set with the \(oqO\(cq command.
.lp video_height
Set the VGA mode resolution height (MS-DOS only, with video:vga)
Set the VGA mode resolution height (MS-DOS only, with video:vesa)
.lp video_width
Set the VGA mode resolution width (MS-DOS only, with video:vga)
Set the VGA mode resolution width (MS-DOS only, with video:vesa)
.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).

View File

@@ -1993,7 +1993,7 @@ than as 7 and 25, respectively, and total to 2 when both are at the
same location).
%.pg
The \{\tt nopickup} command prefix (default `\{\tt m}') can be
The {\tt nopickup} command prefix (default `{\tt m}') can be
used before a movement direction to step on objects without attempting
auto-pickup and without giving feedback about them.
@@ -3911,7 +3911,7 @@ something pushes the old item into your alternate weapon slot (default off).
Likewise for the `a' (apply) command if it causes the applied item to
become wielded. Persistent.
%.lp
\item[\ib(quick\verb+_+farsight}
\item[\ib{quick\verb+_+farsight}]
When set, usually prevents the ``you sense your surroundings'' message
where play pauses to allow you to browse the map whenever clairvoyance
randomly activates.
@@ -4428,16 +4428,21 @@ Cannot be set with the `{\tt O}' command.
%.lp
\item[\ib{video}]
Set the video mode used ({\it PC\/ NetHack\/} only).
Values are {\it autodetect\/}, {\it default\/}, or {\it vga\/}.
Setting {\it vga\/} (or {\it autodetect\/} with vga hardware present) will
cause the game to display tiles.
Values are {\it autodetect\/}, {\it default\/}, {\it vga\/}, or {\it vesa\/}.
Setting {\it vesa\/} will cause the game to display tiles, using the full
capability of the VGA hardware.
Setting {\it vga\/} will cause the game to display tiles, fixed at 640x480
in 16 colors, a mode that is compatible with all VGA hardware. Third party
tilesets will probably not work.
Setting {\it autodetect\/} attempts {\it vesa\/}, then {\it vga\/}, and
finally sets {\it default\/} if neither of those modes works.
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)
Set the VGA mode resolution height (MS-DOS only, with video:vesa)
%.lp
\item[\ib{video\verb+_+width}]
Set the VGA mode resolution width (MS-DOS only, with video:vga)
Set the VGA mode resolution width (MS-DOS only, with video:vesa)
%.lp
\item[\ib{videocolors}]
\begin{sloppypar}