Remove vision tables from makedefs

Update makdefs source and its man page.

Remove all mentions of the vision table files from:
o .gitattributes
o .gitignore
o Files
o Cross-compiling

Add a brief note in the fixes file.
This commit is contained in:
Dean Luick
2021-01-03 13:37:25 -06:00
parent 62ba302851
commit 3ffd330c31
10 changed files with 27 additions and 454 deletions

View File

@@ -478,6 +478,7 @@ replace "aligned priest" entries in Pri-loca.lua, astral.lua, minetn-1.lua,
and sanctum.lua, with "aligned cleric"
attempting to swap places with a peaceful monster might cause it to flee
gender-specific monster names can be used in .lua files with the gender upheld
remove unused vision tables
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support

View File

@@ -34,8 +34,6 @@ makedefs \- NetHack miscellaneous build-time functions
.B -r
|
.B -h
|
.B -z
}
.P
.B makedefs --input
@@ -127,12 +125,6 @@ Generate the
.B oracles
file.
.br
.TP
.B -z
Generate
.I vis_tab.c
and
.IR vis_tab.h .
.SH LONG COMMANDS
.TP
.B --debug

View File

@@ -6,7 +6,7 @@ NAME
makedefs - NetHack miscellaneous build-time functions
SYNOPSIS
makedefs { -o | -d | -e | -m | -v | -p | -q | -r | -h | -z }
makedefs { -o | -d | -e | -m | -v | -p | -q | -r | -h }
makedefs --input file --output file --command
@@ -26,19 +26,22 @@ SHORT COMMANDS
-d Generate data.base.
-v Generate date.h and options file. It will read dat/gitinfo.txt,
-e Generate dungeon.pdf. The input file dungeon.def is passed
through the same logic as that used by the --grep command; see
the MDGREP FUNCTIONS section below for details.
-m Generate date.h and options file. It will read dat/gitinfo.txt,
only if it is present, to obtain githash= and gitbranch=
info and include related preprocessor #defines in date.h file.
-p Generate pm.h
-r Generate the rumors file.
-q Generate the rumors file.
-s Generate the bogusmon , engrave and epitaphfiles.
-h Generate the oracles file.
-z Generate vis_tab.c and vis_tab.h.
LONG COMMANDS
--debug
Show debugging output.
@@ -60,13 +63,13 @@ LONG COMMANDS
newline. If specified, the delimiter is used between each part
of the version string.
--grep Filter the input file to the output file. See the MDGREP FUNC-
--grep Filter the input file to the output file. See the MDGREP FUNC
TIONS section below for information on controlling the filtering
operation.
--grep-showvars
Show the name and value for each variable known to the grep
option.
Show the name and value for each variable known to the grep op
tion.
--grep-trace
Turn on debug tracing for the grep function ( --grep must be
@@ -83,32 +86,32 @@ LONG COMMANDS
MDGREP FUNCTIONS
The --grep command (and certain other commands) filter their input, on
a line-by-line basis, according to control lines embedded in the input
and on information gleaned from the NetHack(6) configuration. This
allows certain changes such as embedding platform-specific documenta-
tion into the master documentation files.
and on information gleaned from the NetHack(6) configuration. This al
lows certain changes such as embedding platform-specific documentation
into the master documentation files.
Rules:
- The default conditional state is printing enabled.
- Any line NOT starting with a caret (^) is either suppressed
or passed through unchanged depending on the current condi-
or passed through unchanged depending on the current condi
tional state.
- Any line starting with a caret is a control line; as in C,
zero or more spaces may be embedded in the line almost any-
zero or more spaces may be embedded in the line almost any
where (except immediately after the caret); however the
caret must be in column 1.
- Conditionals may be nested.
- Makedefs will exit with an error code if any errors are
detected; processing will continue (if it can) to allow as
- Makedefs will exit with an error code if any errors are de
tected; processing will continue (if it can) to allow as
many errors as possible to be detected.
- Unknown identifiers are treated as both TRUE and as an
error. Note that --undef or #undef in the NetHack(6) con-
figuration are different from unknown.
- Unknown identifiers are treated as both TRUE and as an er
ror. Note that --undef or #undef in the NetHack(6) configu
ration are different from unknown.
Control lines:
@@ -134,10 +137,9 @@ SEE ALSO
COPYRIGHT
This file is Copyright (C) Kenneth Lorber and was last modified
2018/04/25 (version NetHack-3.6.0:1.10). NetHack may be freely redis-
2018/04/25 (version NetHack-3.6.0:1.10). NetHack may be freely redis
tributed. See license for details.
NETHACK 1 Jan 2020 MAKEDEFS(6)