first conditionalized docs (TRUNK ONLY)

plus various related missing bits and tids
This commit is contained in:
keni
2008-06-26 15:08:54 +00:00
parent ff14fa7120
commit bb43b56eac
8 changed files with 35 additions and 9 deletions
+10
View File
@@ -24,8 +24,18 @@ read-only information. Note that like tar the command and option
specifiers are specified as a continuous string and are followed specifiers are specified as a continuous string and are followed
by any arguments required in the same order as the option specifiers. by any arguments required in the same order as the option specifiers.
.PP .PP
^?ALLDOCS
This facility is optional and may be excluded during NetHack This facility is optional and may be excluded during NetHack
configuration. configuration.
^:
^?DLB
This facility is optional but is included in this NetHack
configuration.
^:
This facility is optional and was excluded from this NetHack
configuration.
^.
^.
.SH COMMANDS .SH COMMANDS
The The
.B x .B x
+1
View File
@@ -438,3 +438,4 @@ new oextra structure housing pointers to oname, omonst, omid, olong, and omailcm
drawing symbols for DECGraphics, IBMGraphics, MACgraphics are now stored in an drawing symbols for DECGraphics, IBMGraphics, MACgraphics are now stored in an
external symbol file that can be changed without rebuilding external symbol file that can be changed without rebuilding
new hints-based configuration system new hints-based configuration system
allow documentation to be specialized to the options in the game binary
+15
View File
@@ -33,11 +33,26 @@ It overrides the value from NETHACKDIR, HACKDIR, or the directory
specified by the game administrator during compilation specified by the game administrator during compilation
(usually /usr/games/lib/nethackdir). (usually /usr/games/lib/nethackdir).
.PP .PP
^?ALLDOCS
For recovery to be possible, For recovery to be possible,
.I nethack .I nethack
must have been compiled with the INSURANCE option, and the run-time option must have been compiled with the INSURANCE option, and the run-time option
.I checkpoint .I checkpoint
must also have been on. must also have been on.
^:
^?INSURANCE
For recovery to be possible,
.I nethack
must have been compiled with the INSURANCE option (this configuration was),
and the run-time option
.I checkpoint
must also have been on.
^:
This configuration of
.I nethack
was created without support for recovery.
^.
^.
NetHack normally writes out files for levels as the player leaves them, NetHack normally writes out files for levels as the player leaves them,
so they will be ready for return visits. so they will be ready for return visits.
When checkpointing, NetHack also writes out the level entered and When checkpointing, NetHack also writes out the level entered and
+4 -4
View File
@@ -174,7 +174,7 @@ YACCDIST =
# dependencies for makedefs # dependencies for makedefs
# #
makedefs: $(MAKEOBJS) mdgrep.h makedefs: $(MAKEOBJS) #mdgrep.h
$(CC) $(LFLAGS) -o makedefs $(MAKEOBJS) $(CC) $(LFLAGS) -o makedefs $(MAKEOBJS)
makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \ makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
@@ -183,9 +183,9 @@ makedefs.o: makedefs.c $(CONFIG_H) ../include/permonst.h \
../include/monst.h ../include/you.h ../include/flag.h \ ../include/monst.h ../include/you.h ../include/flag.h \
../include/dlb.h ../include/patchlevel.h ../include/qtext.h ../include/dlb.h ../include/patchlevel.h ../include/qtext.h
# Don't require perl to build, but document how to get a new mdgrep.h. # Don't require perl to build; that is why mdgrep.h is commented out above.
#mdgrep.h: mdgrep.pl mdgrep.h: mdgrep.pl
# perl mdgrep.pl perl mdgrep.pl
../include/onames.h: makedefs ../include/onames.h: makedefs
./makedefs -o ./makedefs -o
+1 -1
View File
@@ -13,7 +13,7 @@ SHELLDIR = $(PREFIX)/games
#PREFIX=/usr #PREFIX=/usr
PREFIX=$(wildcard ~)/nh/install PREFIX=$(wildcard ~)/nh/install
CFLAGS=-O -I../include -DNOTPARMDECL $(CFLAGS1) CFLAGS=-O -I../include -DNOTPARMDECL $(CFLAGS1) -DDLB
CFLAGS1=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\" CFLAGS1=-DCOMPRESS=\"/bin/gzip\" -DCOMPRESS_EXTENSION=\".gz\"
LINK=$(CC) LINK=$(CC)
+1 -1
View File
@@ -54,7 +54,7 @@ CC=gcc -Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -W
# XXX -g vs -O should go here, -I../include goes in the makefile # XXX -g vs -O should go here, -I../include goes in the makefile
CFLAGS=-g -I../include CFLAGS=-g -I../include
CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\" CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" -DDLB
ifdef WANT_WIN_TTY ifdef WANT_WIN_TTY
WINSRC = $(WINTTYSRC) WINSRC = $(WINTTYSRC)
+1 -1
View File
@@ -59,7 +59,7 @@ CC=gcc -Wall -Wextra -Wno-missing-field-initializers -Wimplicit -Wreturn-type -W
# XXX -g vs -O should go here, -I../include goes in the makefile # XXX -g vs -O should go here, -I../include goes in the makefile
CFLAGS=-g -I../include CFLAGS=-g -I../include
CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\" CFLAGS+=-DNOCLIPPING -DNOMAIL -DNOTPARMDECL -DHACKDIR=\"$(HACKDIR)\"
CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" CFLAGS+= -DDEFAULT_WINDOW_SYS=\"$(WANT_DEFAULT)\" -DDLB
ifdef WANT_WIN_TTY ifdef WANT_WIN_TTY
WINSRC = $(WINTTYSRC) WINSRC = $(WINTTYSRC)
+2 -2
View File
@@ -1,5 +1,5 @@
#!perl #!perl
# NetHack 3.5 makedefs.c $Date$ $Revision$ # NetHack 3.5 mdgrep.pl $Date$ $Revision$
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008 # Copyright (c) Kenneth Lorber, Kensington, Maryland, 2008
# NetHack may be freely redistributed. See license for details. # NetHack may be freely redistributed. See license for details.
@@ -21,7 +21,7 @@
COMPRESS ZLIB_COMP RANDOM SECURE USER_SOUNDS WIZARD COMPRESS ZLIB_COMP RANDOM SECURE USER_SOUNDS WIZARD
SAFERHANGUP MFLOPPY NOCWD_ASSUMPTIONS SAFERHANGUP MFLOPPY NOCWD_ASSUMPTIONS
VAR_PLAYGROUND DLB SHELL SUSPEND NOSAVEONHANGUP HANGUPHANDLING VAR_PLAYGROUND DLB SHELL SUSPEND NOSAVEONHANGUP HANGUPHANDLING
BSD_JOB_CONTROL MAIL POSIX_JOB_CONTROL BSD_JOB_CONTROL MAIL POSIX_JOB_CONTROL INSURANCE
UNICODE_DRAWING UNICODE_WIDEWINPORT UNICODE_PLAYERTEXT UNICODE_DRAWING UNICODE_WIDEWINPORT UNICODE_PLAYERTEXT
/; /;