Commit Graph
18559 Commits
Author SHA1 Message Date
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
nhmall 89c7435b7a attempt macOS fix 2026-04-25 15:57:36 -04:00
nhmall 4cf78d8f31 add macuuid.m 2026-04-25 15:44:53 -04:00
nhmall b9a46107ef fix up some odd indentation in mcastu.c 2026-04-25 15:05:08 -04:00
nhmall 309afb2eb2 add support for a unique game identifier
A 37 character field for holding a unique identifier is added
to the save file, as well as to an ancestor field in bones files.

Since it requires installation of libuuid package on Linux,
it requires an exlicit WANT_NHUUID=1 on the Make command line there.
Without the libuuid support, the saved nhuuid is empty, which should
be harmless.

This also moves the save and restore of gm.moves higher up so that it
already has a value the first time it is used against a relative saved
timestamp.

Invalidates savefiles and bones files due to new fields.

I need to get this committed before I can test out the macOS portion,
so there may be some build issues there briefly (hopefully), and
follow-up commits to resolve them.

Increments EDITLEVEL.
2026-04-25 14:48:49 -04:00
nhmall 5b66ba4c99 change gy.youmonst
Add a pointer to struct you, and put umonst there. Eliminate
the youmonst struct in gy.

The naming convention better matches the other u related fields,
and u.umonst has the same level of indirection as other monst pointers.

The u.umonst pointer is cleared prior to saving the parent u (struct you),
and u.umonst is reestablished upon restore.

Invalidates existing saves and bones due to the presence of the added
pointer field in struct you.
2026-04-25 14:41:39 -04:00
nhmall 80c08334ab yet another Windows follow-up 2026-04-24 22:02:15 -04:00
nhmall 36df2315c9 another Windows console follow-up 2026-04-24 21:58:33 -04:00
nhmall 8982addb9d revert one Windows change
Windows stores things a bit differently.
Use a static function in consoletty.c to preserve that behavior,
but still utilize the core colortable[] array.
2026-04-24 21:44:48 -04:00
nhmall 15a9acbefb more colortable[] updates
declare colortable[] const and no longer static so it can be shared
by code in window ports..

get rid of the Windows console port rgbtable and use the
core colortable[] instead.

utilize function colortable_to_int32() in Windows console instead
of the rgbtable_to_long() in the Windows port.

delete the Windows rgbtable_to_long() function.
2026-04-24 21:15:48 -04:00
nhmall 88a47cc7b6 colortable[] formatting
remove unused hexval field (show it in a comment)

The rgb values should be the same as they were
previously, just expressed with hex values on the
table initialization.
2026-04-24 20:13:01 -04:00
nhmall b3d9ab5183 revisit the "Welcome back" message
Also takes helm into consideration now

Closes #537
2026-04-24 11:14:53 -04:00
nhmall bad3e02246 follow-up comment bit 2026-04-23 17:31:20 -04:00