change sys/unix bits and doc

This commit is contained in:
nhmall
2026-04-26 10:41:11 -04:00
parent d5d76f0f14
commit a6cdb6aefd
42 changed files with 173 additions and 173 deletions
+118 -118
View File
@@ -13,7 +13,7 @@
Original version - Eric S. Raymond
(Edited and expanded for NetHack 3.7.0 by Mike Stephenson and others)
(Edited and expanded for NetHack 5.0.0 by Mike Stephenson and others)
April 16, 2026
@@ -126,7 +126,7 @@
employ to great advantage.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -192,7 +192,7 @@
NetHack continues this fine tradition. Unlike text adventure games
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -258,7 +258,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -324,7 +324,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -390,7 +390,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -456,7 +456,7 @@
The number of turns elapsed so far, displayed if you have the
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -522,7 +522,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -588,7 +588,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -654,7 +654,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -720,7 +720,7 @@
instead. Only these one-step movement commands cause you to
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -786,7 +786,7 @@
ing <Control>. ^<key> is used as shorthand elsewhere in the
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -852,7 +852,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -918,7 +918,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -984,7 +984,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1050,7 +1050,7 @@
at an adjacent "remembered, unseen monster" marker.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1116,7 +1116,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1182,7 +1182,7 @@
(R)UNIX is a registered trademark of The Open Group.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1248,7 +1248,7 @@
menu_next_page, and menu_last_page keys (`^', `<', `>', `|' by
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1314,7 +1314,7 @@
doesn't and give that name to the result, while splitting (count
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1380,7 +1380,7 @@
Default key is `M-C'.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1446,7 +1446,7 @@
List any monster types which have been genocided. In explore
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1512,7 +1512,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1578,7 +1578,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1644,7 +1644,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1710,7 +1710,7 @@
is `C-_'. See also #travel.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1776,7 +1776,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1842,7 +1842,7 @@
Swap wielded and secondary weapons. Default key is `x'.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1908,7 +1908,7 @@
parenthesis, the name of the option to toggle. The option must
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -1974,7 +1974,7 @@
menu.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2040,7 +2040,7 @@
within a modest radius. No time elapses. Autocompletes. Debug
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2106,7 +2106,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2172,7 +2172,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2238,7 +2238,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2304,7 +2304,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2370,7 +2370,7 @@
them). Some monsters who can open doors can also use unlocking tools.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2436,7 +2436,7 @@
been nullified, giving access to whatever is beyond them. In the
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2502,7 +2502,7 @@
play.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2568,7 +2568,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2634,7 +2634,7 @@
attack, when guessing where an unseen monster is or when deliberately
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2700,7 +2700,7 @@
noid_confirmation:attack option to require a response of "yes"
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2766,7 +2766,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2832,7 +2832,7 @@
are encumbered, one of the conditions Burdened, Stressed, Strained,
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2898,7 +2898,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -2964,7 +2964,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3030,7 +3030,7 @@
aklys, lucern hammer, and bec-de-corbin) are defined in an appendix to
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3096,7 +3096,7 @@
shots by using a numeric prefix before the `t' or `f' command. For
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3162,7 +3162,7 @@
first you need to have a weapon in each hand. (Note that your two
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3228,7 +3228,7 @@
even further. Most of these provide a one or two point improvement to
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3294,7 +3294,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3360,7 +3360,7 @@
yourself (just give a `.' or `s' for the direction). Be warned, how-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3426,7 +3426,7 @@
your ken can be harmful to your health!
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3492,7 +3492,7 @@
play the entire game without being able to see (a self-imposed chal-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3558,7 +3558,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3624,7 +3624,7 @@
set the goldX option if you prefer to have gold pieces be treated as
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3690,7 +3690,7 @@
eating such items still counts against foodless conduct.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3756,7 +3756,7 @@
monster (i.e. if you would get experience for the death). This is a
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3822,7 +3822,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3888,7 +3888,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -3954,7 +3954,7 @@
ning NetHack for the first time, you should find a default template
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4020,7 +4020,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4086,7 +4086,7 @@
begins; whatever follows will be common to all sections. Otherwise
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4152,7 +4152,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4218,7 +4218,7 @@
sign) to let NetHack know that the rest is intended as a file name.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4284,7 +4284,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4350,7 +4350,7 @@
weapon or both.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4416,7 +4416,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4482,7 +4482,7 @@
extended command, it controls whether the menu shows all available
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4548,7 +4548,7 @@
might miss some interesting and/or important information. Persis-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4614,7 +4614,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4680,7 +4680,7 @@
class(es). Combination starts with a prompt for object class(es) of
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4746,7 +4746,7 @@
5 - One-or-other - show symbols on headers, or on entries if no
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4812,7 +4812,7 @@
port is the same as specifying 0.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4878,7 +4878,7 @@
ing 1 and negating number_pad is the same as specifying 0. (Set-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -4944,7 +4944,7 @@
`y', set Confirm too);
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5010,7 +5010,7 @@
ing pets on the map. Effectively a superset of the hilite_pet bool-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5076,7 +5076,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5142,7 +5142,7 @@
game). This option exists partly as an acknowledgement that some
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5208,7 +5208,7 @@
sistent.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5274,7 +5274,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5340,7 +5340,7 @@
on).
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5406,7 +5406,7 @@
when a windowing version of NetHack is started without a parent win-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5472,7 +5472,7 @@
on a doorway, it will consider the area on the side of the door you
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5538,7 +5538,7 @@
right)
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5604,7 +5604,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5670,7 +5670,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5736,7 +5736,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5802,7 +5802,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5868,7 +5868,7 @@
strokes that the operating system returns to NetHack to help compen-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -5934,7 +5934,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6000,7 +6000,7 @@
The menu control or accelerator keys can also be rebound via OPTIONS
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6066,7 +6066,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6132,7 +6132,7 @@
ing for more info, and exit the location asking loop. Default is
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6198,7 +6198,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6264,7 +6264,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6330,7 +6330,7 @@
cause the hitpoints field to display in the color red if your hit-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6396,7 +6396,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6462,7 +6462,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6528,7 +6528,7 @@
value, and the ^ prefix causes the following character to be treated
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6594,7 +6594,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6660,7 +6660,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6726,7 +6726,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6792,7 +6792,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6858,7 +6858,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6924,7 +6924,7 @@
seen via the "#attributes" command.
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -6990,7 +6990,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7056,7 +7056,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7122,7 +7122,7 @@
connection between "wizard mode" and the Wizard role). Attempting to
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7188,7 +7188,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7254,7 +7254,7 @@
were distinct for specific types of monsters and objects rather than
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7320,7 +7320,7 @@
file layout which prevented score entries from being read back in cor-
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7386,7 +7386,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7452,7 +7452,7 @@
Kompel, Dion Nicolaas, Derek S. Ray and Yitzhak Sapir maintained the
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7518,7 +7518,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7584,7 +7584,7 @@
sends a particularly intriguing modification to help out with the
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7650,7 +7650,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7716,7 +7716,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
@@ -7782,7 +7782,7 @@
NetHack 3.7.0 April 16, 2026
NetHack 5.0.0 April 16, 2026
+1 -1
View File
@@ -279,7 +279,7 @@ BUGS
COPYRIGHT
This file is Copyright (C) Robert Patrick Rankin, 2024 for version
NetHack-3.7:1.31. NetHack may be freely redistributed. See license
NetHack-5.0:1.31. NetHack may be freely redistributed. See license
for details.
Dungeons & Dragons is a Trademark of Wizards of the Coast, Inc.
+1 -1
View File
@@ -1,5 +1,5 @@
The definition for each OPTIONS= option resides in include/optlist.h as of
February 2020 in 3.7 WIP.
February 2020 in the WIP branch.
Boolean and compound options are combined into a single allopt[] array.
+1 -1
View File
@@ -74,7 +74,7 @@ BUGS
COPYRIGHT
This file is Copyright (C) Kenneth Lorber, 2024 for version
NetHack-3.7:1.12. NetHack may be freely redistributed. See license
NetHack-5.0:1.12. NetHack may be freely redistributed. See license
for details.
+1 -1
View File
@@ -1,4 +1,4 @@
.\" NetHack 3.7 tmac.nh $NHDT-Date: $ $NHDT-Branch: $:$NHDT-Revision: $
.\" NetHack 5.0 tmac.nh $NHDT-Date: $ $NHDT-Branch: $:$NHDT-Revision: $
.
.\" Miscellaneous tmac.n-style macros specifically for nethack's Guidebook.
.\"
+1 -1
View File
@@ -227,7 +227,7 @@ print_glyph(window, x, y, glyphinfo, bkglyphinfo)
int ttychar; /* the character mapping for the original tty
* interface. Most or all window ports wanted
* and used this for various things so it is
* provided in 3.7+ */
* provided in 5.0+ */
short int symidx; /* offset into syms array */
unsigned glyphflags; /* more detail about the entity */
+3 -3
View File
@@ -1,4 +1,4 @@
Instructions for installing NetHack 3.7
Instructions for installing NetHack 5.0
on a UNIX system
=======================================
NB: We are gradually replacing this process with the process documented in
@@ -109,7 +109,7 @@ the file NewInstall.unx.
Notes:
1. Save files and bones files from previous versions will not work with
NetHack 3.7. Don't bother trying to keep them.
NetHack 5.0. Don't bother trying to keep them.
2. To install an update of this version of NetHack after changing something,
type 'make update' from the main directory. If you created the new
@@ -251,6 +251,6 @@ Notes:
to CFLAGS in src/Makefile. (The hints files for Mac OSX already do the
latter.)
# NetHack 3.7 Install.unx $NHDT-Date: 1577568915 2019/12/28 21:35:15 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $
# NetHack 5.0 Install.unx $NHDT-Date: 1577568915 2019/12/28 21:35:15 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.14 $
# Copyright (c) 2012 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 Makefile.check $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7
# NetHack 5.0 Makefile.check $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-5.0
SUPATH := sys/unix/
MKHINTSPATH := $(SUPATH)hints/
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack Datafiles Makefile.dat $NHDT-Date: 1596486993 2020/08/03 20:36:33 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.32 $
# NetHack Datafiles Makefile.dat $NHDT-Date: 1596486993 2020/08/03 20:36:33 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.32 $
# Copyright (c) 2018 by Pasi Kallinen
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Documentation Makefile.
# NetHack 3.7 Makefile.doc $NHDT-Date: 1700788000 2023/11/24 01:06:40 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.28 $
# NetHack 5.0 Makefile.doc $NHDT-Date: 1700788000 2023/11/24 01:06:40 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.28 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+2 -2
View File
@@ -1,5 +1,5 @@
# NetHack Makefile.
# NetHack 3.7 Makefile.src $NHDT-Date: 1697316523 2023/10/14 20:48:43 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.164 $
# NetHack 5.0 Makefile.src $NHDT-Date: 1697316523 2023/10/14 20:48:43 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.164 $
# Copyright (c) 2018 by Pasi Kallinen
# NetHack may be freely redistributed. See license for details.
@@ -68,7 +68,7 @@ SYSOBJ = $(TARGETPFX)ioctl.o $(TARGETPFX)unixmain.o $(TARGETPFX)unixtty.o \
#SYSOBJ = $(TARGETPFX)bemain.o $(TARGETPFX)unixtty.o $(TARGETPFX)ioctl.o
# NetHack 3.7 began introducing C99 code.
# NetHack 5.0 began introducing C99 code.
#
# If your compiler needs an appropriate switch to accept C99 code.
# CSTD = -std=c99
+1 -1
View File
@@ -1,5 +1,5 @@
# NetHack Top-level Makefile.
# NetHack 3.7 Makefile.top $NHDT-Date: 1722119081 2024/07/27 22:24:41 $ $NHDT-Branch: keni-fetchlua $:$NHDT-Revision: 1.109 $
# NetHack 5.0 Makefile.top $NHDT-Date: 1722119081 2024/07/27 22:24:41 $ $NHDT-Branch: keni-fetchlua $:$NHDT-Revision: 1.109 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+5 -5
View File
@@ -1,10 +1,10 @@
# Makefile for NetHack's utility programs.
# NetHack 3.7 Makefile.utl $NHDT-Date: 1693334279 2023/08/29 18:37:59 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.68 $
# NetHack 5.0 Makefile.utl $NHDT-Date: 1693334279 2023/08/29 18:37:59 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.68 $
# Copyright (c) 2018 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
#
# Note: as of nethack 3.7, 'lev_comp' and 'dgn_comp' are no longer present
# Note: as of NetHack 5.0, 'lev_comp' and 'dgn_comp' are no longer present
# so use of yacc and lex to build them is no longer required.
#
@@ -23,7 +23,7 @@ NHSROOT=..
# execute things like 'foo.o')
# MAKE = make
# NetHack 3.7 began introducing C99 code.
# NetHack 5.0 began introducing C99 code.
#
# If your compiler needs an appropriate switch to accept C99 code.
# CSTD = -std=c99
@@ -612,10 +612,10 @@ tags: $(UTILSRCS)
@ctags -tw $(UTILSRCS)
# note: 3.6 copied tile.h from win/share/ to include/ and if someone
# switches branches from 3.6 to 3.7 without executing 'make spotless'
# switches branches from 3.6 to 5.0 without executing 'make spotless'
# first, the old tile.h sticks around and gets found during compile
# instead of current one; various tile utilities won't build in that
# mis-configuration so allow 'make clean' and 'make spotless' in 3.7
# mis-configuration so allow 'make clean' and 'make spotless' in 5.0
# to fix things up by deleting the out of date file (if present)
clean-fixup:
-rm -f ../include/tile.h
+2 -2
View File
@@ -1,5 +1,5 @@
Instructions for installing NetHack 3.7
Instructions for installing NetHack 5.0
using the new hints system
=======================================
@@ -155,6 +155,6 @@ additional interfaces. See below.
| | | | qt6-multimedia-dev |
+----------+-------+-----------------+--------------------------------------+
# NetHack 3.7 NewInstall.unx $NHDT-Date: 1652276817 2022/05/11 13:46:57 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
# NetHack 5.0 NewInstall.unx $NHDT-Date: 1652276817 2022/05/11 13:46:57 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $
# Copyright (c) 2009 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+2 -2
View File
@@ -1,6 +1,6 @@
# depend.awk -- awk script used to construct makefile dependencies
# for nethack's source files (`make depend' support for Makefile.src).
# $NHDT-Date: 1709577497 2024/03/04 18:38:17 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.18 $
# $NHDT-Date: 1709577497 2024/03/04 18:38:17 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.18 $
#
# usage:
# awk -f depend.awk ../include/*.h list-of-.c/.cpp-files
@@ -54,7 +54,7 @@ FNR == 1 { output_dep() #finish previous file
#[3.4.0: gnomehack headers currently aren't in include]
#[3.6.2: Qt4 headers aren't in include either]
#[3.6.2: curses headers likewise]
#[3.7.0: Qt headers have moved; process 'moc' files]
#[NetHack 5.0.0: Qt headers have moved; process 'moc' files]
if (incl ~ /[.]h$/) {
if (incl ~ "curses[.]h")
incl = "" # skip "curses.h"; it should be <curses.h>
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# NetHack 3.7 gitinfo.sh $NHDT-Date: 1596498289 2020/08/03 23:44:49 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.3 $
# NetHack 5.0 gitinfo.sh $NHDT-Date: 1596498289 2020/08/03 23:44:49 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.3 $
# Copyright (c) 2018 by Robert Patrick Rankin
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 compiler.500 $NHDT-Date: 1668359835 2022/11/13 17:17:15 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 compiler.500 $NHDT-Date: 1668359835 2022/11/13 17:17:15 $ $NHDT-Branch: NetHack-5.0 $
# compiler flags: CCFLAGS is used to construct a value for CFLAGS with
# various -I, -D, and -W settings appended below;
+1 -1
View File
@@ -1,5 +1,5 @@
#===============-=================================================
# NetHack 3.7 include/cross-post $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 include/cross-post $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
#
# Cross-compiling -POST section
+1 -1
View File
@@ -1,5 +1,5 @@
#===============-=================================================
# NetHack 3.7 include/cross-pre1. $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 include/cross-pre1. $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
#
# Cross-compiling -PRE section 1
#
+2 -2
View File
@@ -1,5 +1,5 @@
#===============-=================================================
# NetHack 3.7 include/cross-pre2 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 include/cross-pre2 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
#
# Cross-compiling -PRE section 2
#
@@ -499,7 +499,7 @@ override TARGET_CFLAGS = -c -O2 -noixemul $(TOOLARCH) \
$(LUAINCL) -DAMIGA -DNOTTYGRAPHICS -DNO_TERMS -DNO_SIGNAL \
-DTILES_IN_GLYPHMAP $(PDCURSESDEF) \
-DCROSSCOMPILE -DCROSSCOMPILE_TARGET -DCROSS_TO_AMIGA \
-DAMIGA_VERSION_STRING=\""VER: NetHack 3.7.0"\"
-DAMIGA_VERSION_STRING=\""VER: NetHack 5.0.0"\"
override TARGET_CXXFLAGS = $(TARGET_CFLAGS)
LUA_TARGET_CFLAGS = $(TARGET_CFLAGS)
ifeq "$(REGEXOBJ)" "$(TARGETPFX)cppregex.o"
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 gbdates-post.500 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
# NetHack 5.0 gbdates-post.500 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $
ifdef MAKEFILE_DOC
ifdef GB_DATESTAMP
Guidebook.dated.mn: $(GUIDEBOOK_MN_SRC)
+1 -1
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 gbdates-pre.500 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.11 $
# NetHack 5.0 gbdates-pre.500 $NHDT-Date: 1599687610 2020/09/09 21:40:10 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.11 $
ifdef MAKEFILE_DOC
ifneq "$(GIT)" "0"
+2 -2
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 misc.500 $NHDT-Date: 1668359836 2022/11/13 17:17:16 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 misc.500 $NHDT-Date: 1668359836 2022/11/13 17:17:16 $ $NHDT-Branch: NetHack-5.0 $
#
# Further set-up for miscellaneous odds and ends (after compiler.500)
#
@@ -21,7 +21,7 @@ ifdef WANT_WIN_QT6
# Qt 6 builds and runs (with a couple of warnings) but needs more testing
QTn_H = Qt6.h-t
else
# Qt 5 is currently the default version for nethack 3.7.x's Qt interface
# Qt 5 is currently the default version for nethack NetHack 5.0.x's Qt interface
QTn_H = Qt5.h-t
endif
$(QTn_H) ::
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 multisnd-post.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 multisnd-post.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
ifeq "$(HAVE_SNDLIB)" "1"
# note: one possible value for $(SNDLIBSRC) is 'macsound.m' which is written
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 multisnd1-pre.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 multisnd1-pre.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
#
# If it's cross-platform it belongs in this file.
# If it's macOS-only, it belongs in macOS.500.
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 multisnd2-pre.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 multisnd2-pre.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
#
ifdef NEEDS_WAV
+1 -1
View File
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
# NetHack 3.7 multiw-1.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 multiw-1.500 $NHDT-Date: 1597332785 2020/08/13 15:33:05 $ $NHDT-Branch: NetHack-5.0 $
# 1. Which windowing interface(s) should be included in this binary?
# One or more of these can be manually uncommented and/or can be specified
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 multiw-2.500 $NHDT-Date: 1599337709 2020/09/05 20:28:29 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 multiw-2.500 $NHDT-Date: 1599337709 2020/09/05 20:28:29 $ $NHDT-Branch: NetHack-5.0 $
#
# Sorts out support for multiple window ports (interfaces) to included in the build.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#------------------------------------------------------------------------------
# NetHack 3.7 response.500 $NHDT-Date: 1668359835 2022/11/13 17:17:15 $ $NHDT-Branch: NetHack-3.7 $
# NetHack 5.0 response.500 $NHDT-Date: 1668359835 2022/11/13 17:17:15 $ $NHDT-Branch: NetHack-5.0 $
ifeq "$(RESP)" "1"
USE_RESPONSEFILE=1
+1 -1
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 linux $NHDT-Date: 1596498416 2020/08/03 23:46:56 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.2 $
# NetHack 5.0 linux $NHDT-Date: 1596498416 2020/08/03 23:46:56 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.2 $
# Copyright (c) Patric Mueller
# NetHack may be freely redistributed. See license for details.
#
+3 -3
View File
@@ -649,7 +649,7 @@ $(BUNDLE_INFOPLIST):
@echo '<key>CFBundlePackageType</key>' >>$@
@echo '<string>APPL</string>' >>$@
@echo '<key>CFBundleGetInfoString</key>' >>$@
@echo '<string>$(BUNDLE_GAMENAME) 3.7 for MacOS</string>' >>$@
@echo '<string>$(BUNDLE_GAMENAME) 5.0 for MacOS</string>' >>$@
@echo '<key>CFBundleIdentifier</key>' >>$@
@echo '<string>org.nethack.macos</string>' >>$@
@echo '<key>CFBundleExecutable</key>' >>$@
@@ -661,9 +661,9 @@ $(BUNDLE_INFOPLIST):
@echo '<key>CFBundleName</key>' >>$@
@echo '<string>$(BUNDLE_NAME)</string>' >>$@
@echo '<key>CFBundleVersion</key>' >>$@
@echo '<string>3.7.0b73</string>' >>$@
@echo '<string>NetHack 5.0.0b73</string>' >>$@
@echo '<key>CFBundleShortVersionString</key>' >>$@
@echo '<string>3.7.0</string>' >>$@
@echo '<string>NetHack 5.0.0</string>' >>$@
@echo '<key>NSHumanReadableCopyright</key>' >>$@
@echo '<string>©By Stichting Mathematisch Centrum and M. Stephenson 1985-2026</string>' >>$@
@echo '<key>LSApplicationCategoryType</key>' >>$@
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# NetHack 3.7 macosx.sh $NHDT-Date: 1597332920 2020/08/13 15:35:20 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.24 $
# NetHack 5.0 macosx.sh $NHDT-Date: 1597332920 2020/08/13 15:35:20 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.24 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
# NetHack may be freely redistributed. See license for details.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 unix $NHDT-Date: 1596498426 2020/08/03 23:47:06 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $
# NetHack 5.0 unix $NHDT-Date: 1596498426 2020/08/03 23:47:06 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.0 $
# Copyright (c) Kevin Smolkowski "Snivik", Elgin Oregon 2019.
# NetHack may be freely redistributed. See license for details.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 unix $NHDT-Date: 1596498427 2020/08/03 23:47:07 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.0 $
# NetHack 5.0 unix $NHDT-Date: 1596498427 2020/08/03 23:47:07 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.0 $
# Copyright (c) Kevin Smolkowski "Snivik", Elgin Oregon 2019.
# NetHack may be freely redistributed. See license for details.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#
# NetHack 3.7 unix $NHDT-Date: 1596498428 2020/08/03 23:47:08 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $
# NetHack 5.0 unix $NHDT-Date: 1596498428 2020/08/03 23:47:08 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.14 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
# NetHack may be freely redistributed. See license for details.
#
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# NetHack 3.7 mkmkfile.sh $NHDT-Date: 1597332770 2020/08/13 15:32:50 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.15 $
# NetHack 5.0 mkmkfile.sh $NHDT-Date: 1597332770 2020/08/13 15:32:50 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.15 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# NetHack 3.7 nethack.sh $NHDT-Date: 1596498294 2020/08/03 23:44:54 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.21 $
# NetHack 5.0 nethack.sh $NHDT-Date: 1596498294 2020/08/03 23:44:54 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.21 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
+1 -1
View File
@@ -1,5 +1,5 @@
#!/bin/sh
# NetHack 3.7 setup.sh $NHDT-Date: 1596498296 2020/08/03 23:44:56 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.17 $
# NetHack 5.0 setup.sh $NHDT-Date: 1596498296 2020/08/03 23:44:56 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.17 $
# Copyright (c) Kenneth Lorber, Kensington, Maryland, 2007.
# NetHack may be freely redistributed. See license for details.
#
+2 -2
View File
@@ -1,4 +1,4 @@
# NetHack 3.7 sysconf $NHDT-Date: 1704043695 2023/12/31 17:28:15 $ $NHDT-Branch: keni-luabits2 $:$NHDT-Revision: 1.44 $
# NetHack 5.0 sysconf $NHDT-Date: 1704043695 2023/12/31 17:28:15 $ $NHDT-Branch: keni-luabits2 $:$NHDT-Revision: 1.44 $
# Copyright (c) 2015 by Kenneth Lorber, Kensington, Maryland
# NetHack may be freely redistributed. See license for details.
#
@@ -130,7 +130,7 @@ MAXPLAYERS=10
# Only available if NetHack was compiled with DUMPLOG
# Allows following placeholders:
# %% literal '%'
# %v version (eg. "3.7.0-0")
# %v version (eg. "NetHack 5.0.0-0")
# %u game UID
# %t game start time, UNIX timestamp format
# %T current time, UNIX timestamp format
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 unixmain.c $NHDT-Date: 1711213891 2024/03/23 17:11:31 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.127 $ */
/* NetHack 5.0 unixmain.c $NHDT-Date: 1711213891 2024/03/23 17:11:31 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.127 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2011. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 unixres.c $NHDT-Date: 1596498298 2020/08/03 23:44:58 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.14 $ */
/* NetHack 5.0 unixres.c $NHDT-Date: 1596498298 2020/08/03 23:44:58 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.14 $ */
/* Copyright (c) Slash'EM development team, 2001. */
/* NetHack may be freely redistributed. See license for details. */
+1 -1
View File
@@ -1,4 +1,4 @@
/* NetHack 5.0 unixunix.c $NHDT-Date: 1711213894 2024/03/23 17:11:34 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.43 $ */
/* NetHack 5.0 unixunix.c $NHDT-Date: 1711213894 2024/03/23 17:11:34 $ $NHDT-Branch: NetHack-5.0 $:$NHDT-Revision: 1.43 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015. */
/* NetHack may be freely redistributed. See license for details. */