sysconf parsing
Treat most sysconf problems as warnings and revert to conservative default value instead of as errors that prevent the game from running since an individual player might not be able to fix things. Allow a user's config file to include SEDUCE=1 as long as sysconf hasn't set SEDUCE=0. Not much point since it only works when it's a no-op but there's even less point to issue a warning for that no-op. If PORTABLE_DEVICE_PATHS is encountered in sysconf for a non-Windows configuration, report it as "not supported" rather than "unknown". Many sysconf error messages ended with redundant ".." because the message strings had final "." and the delivery routine uses "%s." to format those strings.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
$NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.220 $ $NHDT-Date: 1589575727 2020/05/15 20:48:47 $
|
||||
$NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.221 $ $NHDT-Date: 1589580856 2020/05/15 22:14:16 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -258,8 +258,10 @@ only generate shop items on solid floor squares
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
-----------------------------------------
|
||||
msdos: Add -DSTATUES_LOOK_LIKE_MONSTERS to Makefile1.cross so the VESA mode
|
||||
can display statue glyphs.
|
||||
SYSCF: treat most sysconf directives that have invalid values as warnings
|
||||
rather than errors; use a conservative default value and continue
|
||||
msdos: add -DSTATUES_LOOK_LIKE_MONSTERS to Makefile1.cross so the VESA mode
|
||||
can display statue glyphs
|
||||
tty: role and race selection menus weren't filtering out potential choices
|
||||
which got excluded by OPTIONS=align:!lawful or !neutral or !chaotic
|
||||
Unix: when user name is used as default character name, keep hyphenated value
|
||||
|
||||
Reference in New Issue
Block a user