nhmall
85ca1cce74
add #-EARLY section
2026-05-17 20:38:10 -04:00
nhmall
8ce430bd89
put the values on other pdcurses platforms back
...
They were set this way on other pdcurses platforms prior
to this recent change, so leave them at those values.
2026-05-16 22:13:40 -04:00
nhmall
125800404b
fixes5-0-1.txt catch-up
2026-05-16 21:45:30 -04:00
nhmall
51011e234d
build fix attempt for msdos cross-compile
...
Recent change was #ifdef PDCURSES, but that is
also used on msdos and other platforms
2026-05-16 21:41:05 -04:00
nhmall
476d0717a7
CI NetHack version
2026-05-16 21:02:38 -04:00
nhmall
083e55e905
Windows curses-related follow-up
2026-05-16 12:22:03 -04:00
nhmall
d78a875110
more Windows curses size tinkering
2026-05-16 12:15:20 -04:00
nhmall
b2458e679a
recently-appeared warning bit
...
mkroom.c(598): warning C4389: '!=': signed/unsigned mismatch
2026-05-16 11:37:51 -04:00
nhmall
4434b14884
more hints file readiness in Makefiles
2026-05-16 10:59:48 -04:00
nhmall
e1ee404ecc
warning workaround led to a build error on some platforms & compilers
...
Use another method for the warning workaround.
allmain.c:33:56: error: 'maybe_unused' attribute cannot be applied to types
33 | early_init(int argc USED_FOR_CRASHREPORT, char *argv[] USED_FOR_CRASHREPORT)
| ^
allmain.c:28:30: note: expanded from macro 'USED_FOR_CRASHREPORT'
28 | #define USED_FOR_CRASHREPORT UNUSED
| ^
../include/tradstdc.h:510:16: note: expanded from macro 'UNUSED'
510 | #define UNUSED ATTRUNUSED
| ^
../include/tradstdc.h:397:22: note: expanded from macro 'ATTRUNUSED'
397 | #define ATTRUNUSED [[maybe_unused]]
| ^
allmain.c:33:49: warning: unused parameter 'argv' [-Wunused-parameter]
33 | early_init(int argc USED_FOR_CRASHREPORT, char *argv[] USED_FOR_CRASHREPORT)
| ^
1 warning and 1 error generated.
2026-05-16 09:05:29 -04:00
nhmall
2445b97a10
build fix with hints file linux.500 and musl=1
...
This fix was suggested by @PPN-SD in the comments on
GitHub issue https://github.com/NetHack/NetHack/issues/1530#issuecomment-4466027729
Resolves #1530
2026-05-16 08:57:54 -04:00
nhmall
a8f97a3926
OpenBSD build bits
...
An issue still remains with fetch-Lua in the top Makefile.
2026-05-15 21:58:51 -04:00
nhmall
c558ef0b33
Makefile syntax did not work on OpenBSD
...
Trying another approach for whichbsd.500
2026-05-15 15:29:25 -04:00
nhmall
d81d47b81e
new file header info
2026-05-15 12:18:29 -04:00
nhmall
8d0cfb05fa
rename netbsd.500 to bsd.500
...
In past releases of NetHack, there was a myriad of different hints
files for different operating systems, and even different versions
of operating systems.
It made maintenance a chore, because all the variable hints files
had to be updated for a wanted change, or (as typically was the
case), some lesser-used hints files were left behind and became
outdated.
Instead of going down that road again, this renames
sys/unix/hints/netbsd.500
to
sys/unix/hints/bsd.500
Where things need to differ for a different bsd flavour,
the differences can be shrouded in things like
.if ${WHICHBSD} == "NETBSD"
.else
.endif
This change is being done to make maintenance easier, at the
cost of making the resulting Makefiles a little more complex,
but there won't be as many separate Makefile hints to maintain.
This commit is being done instead of merging pull request #1531
which would add a new sys/unix/hints/openbsd.500 file.
Only tested on NetBSD so far. Please let us know if there's
an issue on other bsd's, and we will attempt to fix thos issues.
Closes #1531
Close
2026-05-15 12:11:34 -04:00
nhmall
99f559fe18
utilize more real estate on Windows GUI curses
...
Some inventory items were being hidden in a lengthy list.
2026-05-15 01:21:45 -04:00
nhmall
accb14b797
free up some console alloc()'d memory under curses
...
tty takes care of this, but it wasn't being done under curses
2026-05-14 23:57:25 -04:00
nhmall
5edb093e14
pdcurses: don't truncate curses window width
...
The curses windows were being capped at 110 columns
inappropriately.
Use the full width of the console.
2026-05-14 22:40:48 -04:00
nhmall
2eb817af07
OS bit in sp_lev.c
2026-05-14 13:03:48 -04:00
nhmall
342bbc85c4
warning bit for clang-22 and tiletext.c
2026-05-14 08:31:33 -04:00
nhmall
7e50882ffb
Files updated from cron daily
2026-05-14 07:29:02 -04:00
nhmall
bc20ccd659
README wording bit
2026-05-13 20:38:52 -04:00
nhmall
11cd021063
update header info on netbsd.500
2026-05-13 17:34:46 -04:00
nhmall
46ab1ae213
follow-up: remove previous line
2026-05-13 12:43:15 -04:00
nhmall
b9da5b7ced
update tested versions of Visual Studio 2026-05-13
2026-05-13 12:40:12 -04:00
nhmall
b17392a985
innocuous commit
2026-05-13 11:39:40 -04:00
nhmall
17ae931003
fixes5-0-1.txt catch-up
2026-05-12 19:08:44 -04:00
nhmall
1b1beaa5bb
spelling correction
2026-05-12 18:00:39 -04:00
nhmall
82d7b2b249
Merge branch 'cleanup-followup' of https://github.com/ingpaschke/NetHack into NetHack-5.0
2026-05-12 12:46:25 -04:00
nhmall
e0ccf22d84
One of our TeX tools leaves .out files behind
2026-05-12 12:44:26 -04:00
nhmall
7d802883bc
replace hard-coded nroff with $(NROFF)
2026-05-12 09:07:06 -04:00
nhmall
80a99d1ed1
stop init of allopt[] from wiping out disregards
2026-05-12 00:10:38 -04:00
nhmall
f5456fa92c
another Windows issue causing startup grief
2026-05-11 22:59:42 -04:00
nhmall
d62b56e0f2
yet more hints file prep
2026-05-11 20:45:49 -04:00
nhmall
ccb3db39d7
more hints file prep
2026-05-11 19:59:53 -04:00
nhmall
ef600a41f6
allow a hints file to be able to specify GUIDECMD
...
define GUIDECMD in sys/unix/Makefile.doc using '?=' notation
2026-05-11 19:16:03 -04:00
nhmall
45ab4eb1aa
follow-up: paste error snuck in
2026-05-11 17:40:50 -04:00
nhmall
f06e2389b6
more fixes5-0-1.txt updates
2026-05-11 17:36:21 -04:00
nhmall
3b5e784c69
fixes5-0-1.txt catch-up
2026-05-11 17:07:17 -04:00
nhmall
48fa545cf5
update Contributing.md
2026-05-11 16:25:14 -04:00
nhmall
9bfaa066e2
Merge branch 'cleanup' of https://github.com/ingpaschke/NetHack into NetHack-5.0
2026-05-11 15:43:56 -04:00
nhmall
3ca18c8e44
be more cautious on gcc version for warning
2026-05-11 15:40:29 -04:00
nhmall
0991b0e770
tiletext.c warning suppression
2026-05-11 15:30:53 -04:00
nhmall
b2cf7d5a84
Guidebook datestamp to most recent commit
2026-05-11 12:33:35 -04:00
nhmall
e8e8749c25
move header to bottom of the Contributing.md file
2026-05-11 12:18:17 -04:00
nhmall
b4f28edfe4
some malloc()
2026-05-11 11:33:15 -04:00
nhmall
a5a4bc6b4a
remove an outdated file that brought a complaint
...
All the files in outdated are mostly source as they were prior to
the move to the outdated part of the NetHack tree. They are left
there in case somone wants to try to resurrect a port.
They are not meant to be compiled, or used as-is.
2026-05-11 06:38:11 -04:00
nhmall
a583201f15
check malloc() return in bmp2iff_host.c
2026-05-11 06:34:20 -04:00
nhmall
16986710d5
follow-up grammar
2026-05-10 23:23:17 -04:00
nhmall
430c84aef7
catch up fixes5-0-1.txt
2026-05-10 23:21:34 -04:00
nhmall
f10fe47505
dat/history sync with Guidebook
2026-05-10 22:58:47 -04:00
nhmall
610bd839ee
update the code for portable Windows configuration
...
Restrict which options in sysconf will be processed
when seeking PORTABLE_DEVICE_PATHS.
2026-05-10 21:11:17 -04:00
nhmall
2337a2bae5
Windows follow-up
...
Remove some unused temporary code
2026-05-10 16:04:09 -04:00
nhmall
745c7fb8d8
some windows fixes
...
Resolves #1526
2026-05-10 16:00:33 -04:00
nhmall
9d5b02d912
NetHack 5.0.0 packaging error from visual studio
...
A remnant hard-coded 370 was in package.nmake.
Note: The errant file was not used to construct the official
binaries. Those were done using sys/windows/Makefile.nmake.
Closes #1525
2026-05-10 14:43:26 -04:00
nhmall
5cf9086c84
Windows: don't demand keypress on intentional exit
2026-05-10 12:10:26 -04:00
nhmall
aa63616118
spelling correction
2026-05-10 11:36:43 -04:00
nhmall
f64b996899
optional package sequencer for building binary
...
Add Makefile support for an optional AMIGPKGSEQ to
append a suffix to the Amiga binary, without having to
rename the zip file manually after the
make CROSS_TO_AMIGA=1 package
step.
2026-05-10 10:33:20 -04:00
nhmall
edafe39f5d
add awareness of possible updated binary with numeric suffix
...
Close #1514
2026-05-10 09:07:10 -04:00
nhmall
029ed6eabd
Merge branch 'amiga-menu-glyphs' of https://github.com/ingpaschke/NetHack into NetHack-5.0
2026-05-10 08:50:38 -04:00
nhmall
ce92a979dd
Merge branch 'linux-tty-cflags' of https://github.com/torakoya/NetHack into NetHack-5.0
2026-05-10 08:48:30 -04:00
nhmall
4938a85068
relocate Contributing.md to the root
2026-05-07 11:40:14 -04:00
nhmall
39f31a8f06
fix a CROSS_TO_WASM=1 build issue
2026-05-07 10:43:24 -04:00
nhmall
88bacb00c2
fixes update
2026-05-07 07:14:56 -04:00
nhmall
22009c300a
update to DEVEL/Contributing.md
2026-05-07 07:11:55 -04:00
nhmall
1c1f64dc19
Issue #1521 asks for Contributing.md file
...
This is expected to improve and fill out over time, with more
guidelines for contributing.
2026-05-07 07:02:26 -04:00
nhmall
d52b1daf50
bring fixes5-0-1.txt up to date
2026-05-07 00:23:16 -04:00
nhmall
89c6b49b0c
spelling correction in nethack.6
2026-05-06 23:19:13 -04:00
nhmall
6204679bfd
Guidebook type fix
2026-05-06 23:02:29 -04:00
nhmall
6ed95bebba
paste error in Guidebook.tex
2026-05-06 22:58:34 -04:00
nhmall
d5673a948e
Merge branch 'gbr-NetHack-5.0-man-page-fixes' of https://github.com/g-branden-robinson/NetHack into g-branden-robinson-gbr-NetHack-5.0-man-page-fixes
2026-05-06 21:25:06 -04:00
nhmall
dcf8752e92
Merge branch 'fix/libnh-native-build' of https://github.com/YttriumOx/NetHack into YttriumOx-fix/libnh-native-build
2026-05-06 21:07:23 -04:00
nhmall
8fcc15a860
mention_decor and tutorial K4372
...
Bug report stated:
"If 'mention_decor' is set in config file or NETHACKOPTIONS,
starting the game tells you that you are standing on stairs
which lead out of the dungeon. But if you also start the
tutorial, you won't be on those stairs--they won't even exist
until the tutorial is exited.
The stairs message can't be suppressed until the program
knows whether the tutorial will be entered, and since
prompting is one of the ways to decide that."
What this does:
Don't heed mention_decor option during the primary rcfile()
processing.
Do heed it after the tutorial.
Note:
If mention_decor is expected to actually be active during the
tutorial, then the rcfile_only_this_option(opt_mention_decor)
likely has to be moved to a different line, which should be
easy enough.
2026-05-05 11:03:44 -04:00
nhmall
b7735632bf
follow-up for issue #1512
...
The previous fix, while valid, still prompts for input during early
options processing if stdin is a tty. It really shouldn't be doing
that during early options such as --showpaths, so alter the placement
of the program_state.earlyoptions flag within *main().
2026-05-05 06:57:32 -04:00
nhmall
d259245a47
Merge branch 'amiga-followups' of https://github.com/ingpaschke/NetHack into NetHack-5.0
2026-05-04 22:58:59 -04:00
nhmall
400c458fee
fix copyright release details
...
GitHub issue https://github.com/NetHack/NetHack/issues/1513
Starting a new game, at the
'Shall I pick character's race, role, gender and alignment for you? [ynaq]'
prompt, the game shows as 'Version 5.0.0-0 Unix Work-in-progress'
but then once the game has started and you check #version you see
the correct 'Unix NetHack Version 5.0.0-0 post-release' feedback.
Closes #1513
2026-05-04 09:06:52 -04:00
nhmall
60d59f4d55
early startup options could be run non-interactively
...
https://github.com/NetHack/NetHack/issues/1512
Closes #1512
2026-05-04 08:23:56 -04:00
nhmall
3a753dc98e
yet another follow-up
2026-05-03 14:13:28 -04:00
nhmall
b92c1483bb
another libnhmain.c follow-up
...
Check if it's available before calling.
2026-05-03 14:11:47 -04:00
nhmall
b6482d09f4
libnhmain follow-up
2026-05-03 13:26:36 -04:00
nhmall
a55ca016eb
hints file update for wasm CFLAGS to include -DNHUUID
2026-05-03 13:18:37 -04:00
nhmall
ced26a2cea
update get_nhuuid() for libnhmain
...
Try using emscripten_run_script_string("crypto.randomUUID()");
I need to commit this to the repository to test it elsewhere.
If there isn't a revert shortly after this, it must have at least
built without issue.
2026-05-03 13:06:54 -04:00
nhmall
4eefeb30dd
Merge branch 'amiga-5.0.0-fixes' of https://github.com/ingpaschke/NetHack into NetHack-5.0
2026-05-03 12:27:14 -04:00
nhmall
1947eb98a4
CROSS_TO_WASM build fixes
2026-05-03 07:37:13 -04:00
nhmall
c2a7bdb369
less prone to overlooking target names next time
2026-05-02 22:05:31 -04:00
nhmall
a417ca49a2
tag as post-release
2026-05-02 19:26:05 -04:00
nhmall
6b92be3656
Windows nmake build fix for 5.0.0
2026-05-02 14:12:40 -04:00
nhmall
77040f70c7
cross-compiler build fixes
2026-05-02 14:10:04 -04:00
nhmall
82bb085616
Merge branch 'to500' into NetHack-next
2026-05-02 11:24:50 -04:00
nhmall
e90bc62d7d
Merge branch 'to500' into NetHack-next
2026-05-02 10:54:33 -04:00
nhmall
1db2ee5104
dat/history sync
2026-05-02 10:49:43 -04:00
nhmall
41ba62618a
placeholder in you
2026-05-02 10:45:29 -04:00
nhmall
f63164efc6
version in NetHackProperties.props
2026-05-02 10:37:47 -04:00
nhmall
3fd34d902c
Merge branch 'to500' into NetHack-next
2026-05-02 10:27:50 -04:00
nhmall
5c57ac49bf
Guidebook wording update
2026-05-02 10:27:15 -04:00
nhmall
c4af3448cf
patchlevel.h wording bit
2026-05-02 10:25:34 -04:00
nhmall
1f7b2c0ef4
another README update
2026-05-02 10:19:24 -04:00
nhmall
5228a01cde
Guidebook.txt update
2026-05-02 10:15:44 -04:00
nhmall
f6e2690a7a
Guidebook.txt update
2026-05-02 10:14:56 -04:00
nhmall
ed997de587
Merge branch 'to500' into NetHack-next
2026-05-02 10:05:32 -04:00