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
+10 -5
View File
@@ -3987,14 +3987,19 @@ if needed.
Cannot be set with the \(oqO\(cq command. Cannot be set with the \(oqO\(cq command.
.lp video .lp video
Set the video mode used (PC NetHack only). Set the video mode used (PC NetHack only).
Values are \(lqautodetect\(rq, \(lqdefault\(rq, or \(lqvga\(rq. Values are \(lqautodetect\(rq, \(lqdefault\(rq, \(lqvga\(rq, or \(lqvesa\(rq.
Setting \(lqvga\(rq (or \(lqautodetect\(rq with vga hardware present) Setting \(lqvesa\(rq will cause the game to display tiles, using the full
will cause the game to display tiles. 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. Cannot be set with the \(oqO\(cq command.
.lp video_height .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 .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 .lp videocolors
Set the color palette for PC systems using NO_TERMS 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). (default 4-2-6-1-5-3-15-12-10-14-9-13-11, (PC NetHack only).
+12 -7
View File
@@ -1993,7 +1993,7 @@ than as 7 and 25, respectively, and total to 2 when both are at the
same location). same location).
%.pg %.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 used before a movement direction to step on objects without attempting
auto-pickup and without giving feedback about them. 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 Likewise for the `a' (apply) command if it causes the applied item to
become wielded. Persistent. become wielded. Persistent.
%.lp %.lp
\item[\ib(quick\verb+_+farsight} \item[\ib{quick\verb+_+farsight}]
When set, usually prevents the ``you sense your surroundings'' message When set, usually prevents the ``you sense your surroundings'' message
where play pauses to allow you to browse the map whenever clairvoyance where play pauses to allow you to browse the map whenever clairvoyance
randomly activates. randomly activates.
@@ -4428,16 +4428,21 @@ Cannot be set with the `{\tt O}' command.
%.lp %.lp
\item[\ib{video}] \item[\ib{video}]
Set the video mode used ({\it PC\/ NetHack\/} only). Set the video mode used ({\it PC\/ NetHack\/} only).
Values are {\it autodetect\/}, {\it default\/}, or {\it vga\/}. Values are {\it autodetect\/}, {\it default\/}, {\it vga\/}, or {\it vesa\/}.
Setting {\it vga\/} (or {\it autodetect\/} with vga hardware present) will Setting {\it vesa\/} will cause the game to display tiles, using the full
cause the game to display tiles. 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. Cannot be set with the `{\tt O}' command.
%.lp %.lp
\item[\ib{video\verb+_+height}] \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 %.lp
\item[\ib{video\verb+_+width}] \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 %.lp
\item[\ib{videocolors}] \item[\ib{videocolors}]
\begin{sloppypar} \begin{sloppypar}