Commit Graph
8945 Commits
Author SHA1 Message Date
nhmall 2d07b45582 warning bit 2019-05-17 16:30:52 -04:00
PatR 255d969da2 obj sanity checking specific to globs
Verify that objects with the globby bit set are actually glob objects,
that their quantity is 1, and that their weight at least superficially
makes sense.
2019-05-17 13:28:41 -07:00
nhmall b2dccb21a4 Merge branch 'NetHack-3.6' 2019-05-17 16:19:17 -04:00
nhmall f172c6fd94 comment typo and an unused variable 2019-05-17 16:15:24 -04:00
nhmall d05ab50876 Makefile.msc update for Windows 2019-05-17 15:57:04 -04:00
nhmall c5fbae0a4c Merge branch 'NetHack-3.6' 2019-05-17 12:06:58 -04:00
nhmall 2aee73642d fix some billing and pricing issues when globs coalesce
payment issue caused by glob coalescing
glob pricing did not consider coalesced weight
2019-05-17 12:04:01 -04:00
nhmall 53f208c48b glob floor merge message
Make it more obvious that globs that just merged on the
floor may be at an adjacent location.
2019-05-17 11:44:39 -04:00
PatR 4201c21d23 farlook feedback for overloaded symbols
When using '/' or ';' and picking--not just viewing the autodescribe
feedback for--a space or '#' on the map, the game would produce
 That can be many things (stone)
or
 That can be many things (corridor)
unlike the usual
 -     the interior of a monster or a wall or an open door (wall)
when the symbol matched more than 4 things.  I first changed it to
append the full sentence's missing period, but ultimately switched to
 #     can be many things (corridor)
so that the symbol that "many things" refers to isn't hidden.  This
works better for ^P where player isn't looking at the symbol anymore.
2019-05-16 15:26:35 -07:00
nhmall 23d160f705 Merge branch 'NetHack-3.7' 2019-05-12 20:33:41 -04:00
nhmall 112b2a319e Merge branch 'NetHack-3.6' 2019-05-12 20:31:02 -04:00
PatR f5a0e43e31 version number 3.7.0 for vms 2019-05-12 15:57:05 -07:00
PatR 048454c0c3 version number 3.6.3 for vms 2019-05-12 15:52:04 -07:00
nhmall 06941dcd2f match the vs version info values with include/patchlevel.h in 3.7 2019-05-12 15:50:33 -04:00
nhmall 357165cf68 Merge branch 'NetHack-3.6' 2019-05-12 15:31:31 -04:00
nhmall 75f293c369 add VERSION_IN_DLB_FILENAME to makedefs detection 2019-05-12 15:14:31 -04:00
nhmall bcd05308aa support version-specific dlb file
There was a post-3.6.2 discussion on a forum where someone had
tried to copy the NetHack 3.6.2 exe file overtop of an
existing NetHack 3.6.0 playground, and then try to run it.

We have never suggested trying that, nor do we attempt to
provide any backward or forward compatibility between the
supporting files found in nhdat that would allow that. Any
particular version of NetHack expects to have matching
support files designed and matched to that version.

This adds optional support for helping to prevent the
opening of nhdat containing support files from an
unmatched version of NetHack.

If you #define VERSION_IN_DLB_FILENAME in your
platform's include/*conf.h file, it will use a
name such as nhdat362, instead of plain nhdat, and
will exit more gracefully than the fault/crash
mentioned in the discussion if it doesn't find the
file it is looking for.

Developers - please note that if you do
to cause NetHack to look for an nhdat* file with
the version info appended to the name, you will likely
have to modify your build/clean/spotless mechanics
beyond the C compile itself to properly deal with the
new generated file name.
2019-05-12 14:51:26 -04:00
nhmall 2d4e292de6 fixes37.0 section header bit 2019-05-12 08:16:01 -04:00
nhmall cdcc93fec2 catch up on fixes37.0 entries 2019-05-12 08:10:21 -04:00
nhmall b54b64500b Merge branch 'NetHack-3.6' 2019-05-11 22:05:32 -04:00
nhmall 717829627a add windows startup msg fix to fixes36.3 2019-05-11 22:04:56 -04:00
nhmall a7f779eda4 add windows startup msg fix to fixes36.3 2019-05-11 22:01:23 -04:00
nhmall 69f767ac48 Merge branch 'NetHack-3.6' 2019-05-11 21:58:56 -04:00
nhmall 24fa83e5dc Report of no error msg deliverd by NetHackw.exe for some startup issues 2019-05-11 21:55:27 -04:00
nhmall de00561855 Merge branch 'master' into NetHack-3.7 2019-05-11 08:50:32 -04:00
nhmall b50faf4031 Merge branch 'NetHack-3.6' 2019-05-11 08:50:05 -04:00
PatR 4a1f1292d9 fix #H8712 - curses menu selector overflow
The curses interface would assign menu selector characters a-z, A-Z,
and then 0-9, but trying to type 0-9 would start a count rather than
select an entry, and if the display was tall enough for more than 62
entries, the ones after '9' were ASCII punctuation characters.
Limit the number of entries per page to 52 + number_of_'$'_entries
(which should be 0 or 1) so that it won't run out of normal letters.

The perm_invent window, if enabled, ought to allow more than that
because it isn't used to make selections and might have an arbtirary
number of '#' overflow entries.  But I'll leave that for somebody
else to tackle.

Tested by temporarily setting the limit to 26 instead of 52 since
I'm not able to display anything tall enough to exercise the latter.
2019-05-11 03:04:53 -07:00
Pasi Kallinen 217671e00f Remove built-in speaker support
The changes to amiga, mac and msdos builds are untested.
2019-05-11 11:10:00 +03:00
nhmall 02826c4ebc Merge branch 'NetHack-3.6' 2019-05-10 22:54:38 -04:00
PatR 0ef58589f1 place_object vs multiple boulders
When place_object() puts a non-boulder underneath a boulder, make it
put the non-boulder under all the boulders there rather than just under
the topmost one.  Otherwise the map display will show the non-boulder
rather than the 2nd boulder if the top boulder gets moved away by some
means other than pushing.  (Pushing explicitly brings lower boulder to
top of pile in order to try to push it next.)

Reproduce by:  wish for boulder--it will drop.  Drop something else--
the something-else will end up under the boulder.  Repeat.  The second
boulder will be on top but the second something-else will be next in
the pile, above the first boulder.  Now polymorph into a giant and pick
up the first boulder, then move away from that spot.  Map will show
second something-else instead of the remaining boulder.

This fairly simple fix should work reliably on new games since boulders
will end up being consecutive on the top of piles.  For old games,
boulders after the topmost could be anywhere and still yield a display
glitch, but since that's all the problem is (I hope...), we ought to
be able to live with that until old games eventually go away.

[A map display glitch doesn't explain a corrupted 'uball' so this fix
doesn't solve that.]
2019-05-10 15:21:59 -07:00
nhmall 7f64422ca4 comment bit 2019-05-10 15:08:59 -04:00
nhmall 145bb3f172 Merge branch 'NetHack-3.6' 2019-05-10 15:01:59 -04:00
nhmall 5f56440956 instead of BETA or not, have devel states of release, wip, beta
Now that development sources are made public prior to
BETA testing, it is useful to have a work-in-progress
state prior to BETA.
2019-05-10 14:59:03 -04:00
nhmall edc1cbb23a Merge branch 'NetHack-3.6' 2019-05-10 13:51:41 -04:00
nhmall dd93a1b0d4 ensure go-forward builds of branch NetHack-3.6 don't still say 3.6.2 2019-05-10 13:47:59 -04:00
nhmall 4a08af404b Merge branch 'NetHack-3.6' 2019-05-10 13:43:43 -04:00
nhmall a60e4f5dc6 try to extract a bit more info from impossible obfree: not on bill 2019-05-10 13:11:39 -04:00
nhmall ec87873028 Merge branch 'master' into NetHack-3.7 2019-05-09 21:20:25 -04:00
nhmall 6ace5ddbde Merge branch 'NetHack-3.6' 2019-05-09 21:20:14 -04:00
PatR 0f6346f372 fixes36.2 update for posterity
Change of couple entries which describe fixed bugs to use past tense
instead of present tense.  Fix a typo or two and a couple of instances
of clumsy wording.  Move a dead-fake-hero-on-trap entry from normal
fixes section to exposed-by-git section since it was a post-3.6.1 bug.
Move two VMS entries from exposed-by-git section to interface-specific
section where they were intended.

I didn't make it through the whole file so there may be more room for
improvement.  It's too late for 3.6.2 but the copy of doc/fixes36.2 in
later versions will be 'better'.
2019-05-09 17:15:14 -07:00
Pasi Kallinen c4b286be8f Fix merge mistake 2019-05-09 20:27:33 +03:00
Pasi Kallinen 60f1b7e35b Fix compiling without DLB 2019-05-09 19:44:34 +03:00
nhmall 63858f39de mark development 3.7 builds as such 2019-05-09 07:47:10 -04:00
Pasi Kallinen fdb2c91723 Fix X11 compilation 2019-05-09 10:23:29 +03:00
nhmall 42e3089596 Merge branch 'NetHack-3.6' 2019-05-08 19:33:21 -04:00
nhmall aeb3c7a623 new fixes36.3 2019-05-08 19:32:35 -04:00
nhmall 3be48695a5 Merge branch 'NetHack-3.6.2' 2019-05-07 21:18:51 -04:00
nhw_cron 76090dd648 This is cron-daily v1-Feb-22-2019. guidebook updated: doc/Guidebook.txt 2019-05-07 15:34:05 -04:00
nhmall 39320dec2b NetHack 3.6.2 release-related updates 2019-05-07 14:39:24 -04:00
nhmall 3ee39af021 Merge branch 'NetHack-3.6.2' 2019-05-07 14:12:01 -04:00