handle 0 in DUNGEONS et al

As suggested by <Someone>, treat 0 entries in the various graphics symbol
specifications as leaving the value unchanged.
This commit is contained in:
cohrs
2002-08-13 04:18:46 +00:00
parent 5d5de0c657
commit dee94b0410
5 changed files with 33 additions and 15 deletions

View File

@@ -1602,6 +1602,8 @@ or
option in a different syntax,
a sequence of decimal numbers giving the character position
in the current font to be used in displaying each entry.
A zero in any entry in such a sequence leaves the display of that
entry unchanged; this feature is not available using the option syntax.
Such a sequence can be continued to multiple lines by putting a `\e'
at the end of each line to be continued.
Any line starting with `#' is treated as a comment.

View File

@@ -27,7 +27,7 @@
\begin{document}
%
% input file: guidebook.mn
% $Revision: 1.49 $ $Date: 2002/08/07 03:26:50 $
% $Revision: 1.50 $ $Date: 2002/08/12 01:39:55 $
%
%.ds h0 "
%.ds h1 %.ds h2 \%
@@ -2008,6 +2008,8 @@ is taken as defining the corresponding {\it dungeon},
{\it boulder\/} option in a different syntax,
a sequence of decimal numbers giving the character position
in the current font to be used in displaying each entry.
A zero in any entry in such a sequence leaves the display of that
entry unchanged; this feature is not available using the option syntax.
Such a sequence can be continued to multiple lines by putting a
`{\tt \verb+\+}' at the end of each line to be continued.
Any line starting with `{\tt \#}' is treated as a comment.

View File

@@ -203,6 +203,8 @@ when polymorphed into a hider, cease hiding during level changes
let mind flayer grow up into master mind flayer; also giant/sewer rat and
cave/large spider
engulfing green slime as a purple worm was causing stoning not sliming
zero entries in DUNGEON, MONSTERS, et al, of config file are now treated
as preserving the default rather than being ignored
Platform- and/or Interface-Specific Fixes