some symbol tweaks
A few symbol-related modifications: - fulfill a request from a blind player to allow them to specify a unique/recognizable character for all pets and/or the player in the config file for use when using a screen reader (S_player_override, S_pet_override). Requires sysconf setting ACCESSIBILITY to be set to have an effect, although they can still be specified in the config file. - Config file SYMBOLS entries were not working properly on the rogue level. Allow ROGUESYMBOLS as well as SYMBOLS to be specified in the config file independently. - When values are moved into showsyms[], the overriding SYMBOLS or ROGUESYMBOLS entry from the config file is used if there is one; if there is no overriding value for a particular symbol, the loaded symset value is used; if there is no symset entry loaded for the symbol then a default symbol is used.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
.ds vr "NetHack 3.6
|
||||
.ds f0 "\*(vr
|
||||
.ds f1
|
||||
.ds f2 "October 1, 2019
|
||||
.ds f2 "October 27, 2019
|
||||
.
|
||||
.\" A note on some special characters:
|
||||
.\" \(lq = left double quote
|
||||
@@ -2731,7 +2731,7 @@ See the \(lqConfiguring Message Types\(rq section.
|
||||
.lp MENUCOLOR
|
||||
Highlight menu lines with different colors.
|
||||
See the \(lqConfiguring Menu Colors\(rq section.
|
||||
.lp SYMBOLS
|
||||
.lp SYMBOLS, ROGUESYMBOLS
|
||||
Override one or more symbols in the symbols files.
|
||||
See the \(lqModifying NetHack Symbols\(rq section.
|
||||
.pg
|
||||
@@ -4375,8 +4375,8 @@ Set the name of the symbol set that you want to load.
|
||||
Set the name of the symbol set that you want to load for display
|
||||
on the rogue level.
|
||||
.pg
|
||||
You can also override one or more symbols using the SYMBOLS config
|
||||
file option. Symbols are specified as name:value pairs.
|
||||
You can also override one or more symbols using the SYMBOLS and
|
||||
ROGUESYMBOLS config file options. Symbols are specified as name:value pairs.
|
||||
Note that
|
||||
NetHack escape-processes the value string in conventional C fashion.
|
||||
This means that \\ is a prefix to take the following character literally.
|
||||
@@ -4570,6 +4570,8 @@ X S_xorn (xorn)
|
||||
Y S_yeti (apelike creature)
|
||||
Z S_zombie (zombie)
|
||||
z S_zruty (zruty)
|
||||
S_pet_override (pet override if sysconf accessibility is set)
|
||||
S_player_override (player override if sysconf accessibility is set)
|
||||
.\"TABLE_END Do not delete this line.
|
||||
.TE
|
||||
.pg
|
||||
@@ -4612,7 +4614,12 @@ configuration file will cause the game to run in a manner accessible
|
||||
to the blind.
|
||||
After you have gained some experience with the game
|
||||
and with editing files, you may want to alter settings via \fBSYMBOLS=\fP
|
||||
and \fBROGUESYMBOLS=\fP
|
||||
in your configuration file to better suit your preferences.
|
||||
See the previous section for the special symbols S_pet_override
|
||||
to force a consistent symbol for all pets and and
|
||||
S_player_override to force a unique symbol for the player character
|
||||
if \fBaccessibility\fP is enabled in the sysconf file.
|
||||
The most crucial settings to make the game accessible are:
|
||||
.pg
|
||||
.lp symset:NHAccess
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
%.au
|
||||
\author{Original version - Eric S. Raymond\\
|
||||
(Edited and expanded for 3.6 by Mike Stephenson and others)}
|
||||
\date{October 1, 2019}
|
||||
\date{October 22, 2019}
|
||||
|
||||
\maketitle
|
||||
|
||||
@@ -3000,7 +3000,7 @@ See the ``Configuring Message Types`` section.
|
||||
Highlight menu lines with different colors.
|
||||
See the ``Configuring Menu Colors`` section.
|
||||
%.lp
|
||||
\item[\bb{SYMBOLS}]
|
||||
\item[\bb{SYMBOLS},\bb{ROGUESYMBOLS}]
|
||||
Override one or more symbols in the symbols files.
|
||||
See the ``Modifying {\it NetHack\/} Symbols'' section.
|
||||
%.pg
|
||||
@@ -4870,11 +4870,12 @@ Set the name of the symbol set that you want to load for display
|
||||
on the rogue level.
|
||||
\elist
|
||||
|
||||
You can also override one or more symbols using the {\it SYMBOLS\/} config
|
||||
file option. Symbols are specified as {\it name:value\/} pairs. Note that
|
||||
{\it NetHack\/} escape-processes the {\it value\/} string in conventional C
|
||||
fashion. This means that `\verb+\+' is a prefix to take the following
|
||||
character literally. Thus `\verb+\+' needs to be represented as `\verb+\\+'.
|
||||
You can also override one or more symbols using the {\it SYMBOLS\/} and
|
||||
{\it ROGUESYMBOLS\/} config file options. Symbols are specified as
|
||||
{\it name:value\/} pairs. Note that {\it NetHack\/} escape-processes
|
||||
the {\it value\/} string in conventional C fashion. This means that `\verb+\+'
|
||||
is a prefix to take the following character literally. Thus `\verb+\+' needs
|
||||
to be represented as `\verb+\\+'.
|
||||
The special prefix
|
||||
`\verb+\m+' switches on the meta bit in the symbol value, and the
|
||||
`{\tt \^{}}' prefix causes the following character to be treated as a control
|
||||
@@ -5060,7 +5061,9 @@ Default & Symbol Name & Description\\
|
||||
\verb@X@ & S\verb+_+xorn & (xorn)\\
|
||||
\verb@Y@ & S\verb+_+yeti & (apelike creature)\\
|
||||
\verb@Z@ & S\verb+_+zombie & (zombie)\\
|
||||
\verb@z@ & S\verb+_+zruty & (zruty)
|
||||
\verb@z@ & S\verb+_+zruty & (zruty)\\
|
||||
\verb@ @ & S\verb+_+pet\verb+_+override & (pet override if sysconf accessibility is set)\\
|
||||
\verb@ @ & S\verb+_+player\verb+_+override & (player override if sysconf accessibility is set)
|
||||
\end{longtable}%
|
||||
}
|
||||
|
||||
@@ -5105,7 +5108,12 @@ is a symset called {\it NHAccess\/}. Selecting that symset in your
|
||||
configuration file will cause the game to run in a manner accessible
|
||||
to the blind. After you have gained some experience with the game
|
||||
and with editing files, you may want to alter settings via {\it SYMBOLS=\/}
|
||||
and {\it ROGUESYMBOLS=\/}
|
||||
in your configuration file to better suit your preferences.
|
||||
See the previous section for the special symbols S\verb+_+pet\verb+_+override
|
||||
to force a consistent symbol for all pets and S\verb+_+player\verb+_+override
|
||||
to force a unique symbol for the player character if {\it accessibility\/}
|
||||
is enabled in the {\it sysconf\/} file.
|
||||
The most crucial settings to make the game accessible are:
|
||||
%.pg
|
||||
\blist{}
|
||||
|
||||
@@ -379,6 +379,9 @@ curses+'perm_invent': since persistent inventory is narrow, strip off "a",
|
||||
curses+'curses': change the curses map display to use new symbol set 'curses'
|
||||
instead of hard-coded values; it attempts to show IBMgraphics-style
|
||||
map using DECgraphics characters; DECgraphics can also be used as-is
|
||||
fulfill a request from a blind player to have a unique overriding SYMBOL for pets
|
||||
and for the player
|
||||
ROGUESYMBOLS can be overridden in config files like SYMBOLS can
|
||||
|
||||
|
||||
NetHack Community Patches (or Variation) Included
|
||||
|
||||
Reference in New Issue
Block a user