Commit Graph
18571 Commits
Author SHA1 Message Date
nhmall 319dd38873 simplify get_macos_uuid()
also remove a magic number 37 by replacing it with NHUUIDSZ
2026-04-30 09:27:50 -04:00
nhmall c5b258c2cf more empty bonesfile 2026-04-30 09:08:29 -04:00
Alex Smith 7fdaf92367 Reduce generation probabilities of the wand of digging
In earlier versions of NetHack, wands of digging generated fairly
often, allowing players to do a large amount of digging through the
maze walls in Gehennom and giving them a chance of an early escape
item.

In the current version, the need for both of these things has been
reduced: supply chests give a supply of early escape items
(including wands of digging), and Gehennom is no longer mostly made
of mazes with diggable walls. As such, there is no longer a reason
to generate wands of digging in such large numbers, even though it
was correct in the past.

This commit modifies some of the generation probabilities for wands
of digging in order to make them less abundant, in order to work
better with the code changes since the previous version.
2026-04-30 09:20:08 +01:00
nhmall 82854b7936 documentation updates
more Dungeoneers list updates for valued contributors
2026-04-30 01:39:18 -04:00
nhmall 22ab0456d0 follow-up: don't clear the bit until end of function 2026-04-30 01:28:07 -04:00
nhmall 2b985be3b9 macOS fixes 2026-04-30 01:13:40 -04:00
PatR c99da87c70 issue #1506 - Str 18/50
Requested by Tomsod:  change the break point for +2 damage bonus from
strength to be 18/50 instead of 18/51 so that gnome and orc heros can
achieve that 'naturally' by maxxing out Str.

Closes #1506
2026-04-29 21:17:31 -07:00
Pasi Kallinen 52c74222c2 Update perm_inventory when returning to human form
Embedded dragon scales weren't updated to worn
2026-04-30 07:07:48 +03:00
nhmall 6c36009ce4 case bit 2026-04-29 23:55:48 -04:00
nhmall 5035b36956 possible macOS build fix
I need someone with arm64 Mac to confirm.
2026-04-29 23:48:19 -04:00
nhmall 84a6eb5e22 avoid impossible() with inbound migrating mon 2026-04-29 23:43:01 -04:00
nhmall 702fbfa06e make the inclusion of NHUUID support the default in hints files
On macOS, the required underlying pieces are in there.

On Linux, we try to test for the presence of libuuid and
the uuid.h header files. If the tests are both successful,
we proceed to include NHUUID support.

On either macOS or Linux, NO_NHUUID=1 on the Make command
line will forcibly prevent the inclusion of the support for NHUUID.
2026-04-29 21:48:52 -04:00
Alex Smith f98428001c Fix a bug in price quote display
They weren't displaying in, e.g., the menu to pick up multiple
objects at once, which is a particularly important place to
display them.
2026-04-30 01:17:01 +01:00
nhw_cron a646c3d55e This is cron-daily v1-Apr-26-2026. 005guidebook updated: doc/Guidebook.txt 2026-04-29 16:52:05 -04:00
nhmall cc00eca915 documentation updates
Dungeoneers list updates

Michael Meyer (aka entrez on GitHub) provided a large number
of fixes, updates and suggestions for the next upcoming release.
2026-04-29 14:58:03 -04:00
nhmall 6d8d1b2044 documentation updates
Dungeoneers list updates

Ingo Paschke provided Amiga updates to get the port working
for the release to follow 3.6.7. He used the gcc-15.2 branch
of bebbo's Amiga toolchain on Linux.

G. Branden Robinson contributed several updates and suggestions to
help ensure that the *roff documentation production remains viable.
2026-04-29 14:40:33 -04:00
Pasi Kallinen 2dfc2e7e87 Remove double hallu trap 2026-04-29 21:03:15 +03:00
nhmall 1b28d5e261 update tested versions of Visual Studio 2026-04-29 2026-04-29 12:35:33 -04:00
Pasi Kallinen 8a41076657 Some hallu monster, liquid, trap changes 2026-04-29 19:14:47 +03:00
Pasi Kallinen 0be07d2816 Fix migrating object trying to newsym invalid location 2026-04-29 15:45:12 +03:00
Pasi Kallinen a3fdf22153 Fix monster postmove moving off-map monster 2026-04-29 15:43:55 +03:00
Alex Smith 62cfbdc4a0 Fix the new rolling boulder traps for when monsters step on them
The traps don't disappear when stepped on any more; that should be
true even when monsters step on them.

(This bug was reported privately to me via IRC, rather than via the
devteam's email address, so there isn't a ticket number to close.)
2026-04-29 04:16:56 +01:00
nhmall dafa24b742 stray tabs 2026-04-28 17:31:21 -04:00
nhmall ee55f125a0 follow-up bit for consoletty.c
Limit the #ifdef INSURANCE range to only the function call
that requires it.
2026-04-28 16:03:04 -04:00
PatR bb53b29481 simplify picking item up while swallowed 2026-04-28 12:35:39 -07:00
Pasi Kallinen ed885d3ff6 Guidebook.tex: reroll
Add missing reroll-option
Remove one mangled line.
2026-04-28 19:38:03 +03:00
Pasi Kallinen 75b3c83a1d Guidebook.tex: Archeologists and scrolls 2026-04-28 19:34:17 +03:00
Pasi Kallinen a340d43d3a Guidebook.tex: Add missing price_quotes option 2026-04-28 19:29:44 +03:00
nhmall b2c52b6de2 follow-up bit for Qt idlecheckpoint 2026-04-28 12:14:01 -04:00
nhmall 845a9a7b9c a first try at a Qt idlecheckpoint implementation 2026-04-28 12:09:55 -04:00
nhmall f6761c7d22 fix an impossible() on pick-up from stomach 2026-04-28 01:54:33 -04:00
nhmall a090ba90a1 add option idlecheckpoint
New experimental option

This requires platform support to be useful. Currently an
implementation for Windows TTY console is included.

A Unix TTY implementation should be achievable I would think,
but I haven't pursued that, at least not yet (contributions welcome).
I'm not sure whether Qt or X11 interfaces offer a similar
timeout capability..

How it works:

When idlecheckpoint in on, if the wait for a new input is idle for
10 seconds (length of time to waite is controlled by
IDLECHECKPOINT_WAIT_TIME #define in hack.h), save_currentstate() is
called to bring everything up-to-date should a hangup or crash occur.
The input wait then continues/resumes.

The save_currentstate() call is only executed once per input request.
2026-04-27 19:22:04 -04:00
nhmall b7f66f9723 fix an issue with internal recover (Windows) 2026-04-27 14:50:01 -04:00
Pasi Kallinen 9098c21421 wizshowuuid return value 2026-04-27 10:22:07 +03:00
nhmall 291972d038 wizmode wizshowuuid to view the game's NHUUID 2026-04-26 22:58:26 -04:00
nhmall 05b02c7b9b use newer Windows file routines on bones
Also correct a double-open bug that resulted from
earlier code removal.
2026-04-26 22:31:52 -04:00
nhmall c25528dafe try to prevent panic encountering empty bones file 2026-04-26 08:51:33 -04:00
Patric Mueller 7fc9baa851 Update wall colors for Enhanced symsets
Making the walls in the mines brown and the walls in Fort Ludios
light blue.
2026-04-26 14:47:38 +02:00
nhmall f9ccf24b0b date update 2026-04-26 07:28:04 -04:00
PatR 831251016d vision fix
I have no idea whether this prevents the newly discovered impossible().
However, it does fix an obvious typo--in hindsight--that I made 6 years
ago (dealing with temporary lighting for camera flashes).
2026-04-25 21:17:05 -07:00
nhmall a3fa63f444 typo fix 2026-04-25 20:34:24 -04:00
nhmall 1d5397d35b follow-up with how-to for two Linux distros 2026-04-25 20:28:07 -04:00
nhmall b6503fa52e update README-hints 2026-04-25 20:22:12 -04:00
nhmall 5354943300 pcmain() follow-up 2026-04-25 20:15:48 -04:00
nhmall e08fdc2d1f move the stub routines from pcsys.c to pcmain.c
Fixes broken Amiga build
2026-04-25 20:08:43 -04:00
nhw_cron f4f085891d This is cron-daily v1-Jan-12-2026. 000files updated: Files 2026-04-25 17:00:59 -04:00
nhmall a906ed8236 another follow-up 2026-04-25 16:47:12 -04:00
nhmall 532152ffc0 macOS follow-up 2026-04-25 16:41:16 -04:00
nhmall 98308a8a7d thinko while looking into macOS 2026-04-25 16:19:24 -04:00
PatR 27f6ae340b address issue #1490 - rolling boulder segfault
Issue reported by BartekCupial:  segfault occurred and was tracked to
behavior of a rolling boulder trap.  Suggested fix was included, but it
assumes that the destination spot is valid so is suspect.

A comment pointed out that the path is validated when a rolling boulder
trap is created so the segfault should be impossible.  I didn't find an
explanation but am adding a fix based on the one in the issue report.

Closes #1490
2026-04-25 13:14:33 -07:00