]> granicus.if.org Git - nethack/log
nethack
6 years agoMerge branch 'NetHack-3.6'
nhmall [Fri, 17 May 2019 16:06:58 +0000 (12:06 -0400)]
Merge branch 'NetHack-3.6'

6 years agofix some billing and pricing issues when globs coalesce
nhmall [Fri, 17 May 2019 16:04:01 +0000 (12:04 -0400)]
fix some billing and pricing issues when globs coalesce

payment issue caused by glob coalescing
glob pricing did not consider coalesced weight

6 years agoglob floor merge message
nhmall [Fri, 17 May 2019 15:44:39 +0000 (11:44 -0400)]
glob floor merge message

Make it more obvious that globs that just merged on the
floor may be at an adjacent location.

6 years agofarlook feedback for overloaded symbols
PatR [Thu, 16 May 2019 22:26:35 +0000 (15:26 -0700)]
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.

6 years agoMerge branch 'NetHack-3.7'
nhmall [Mon, 13 May 2019 00:33:41 +0000 (20:33 -0400)]
Merge branch 'NetHack-3.7'

6 years agoMerge branch 'NetHack-3.6'
nhmall [Mon, 13 May 2019 00:31:02 +0000 (20:31 -0400)]
Merge branch 'NetHack-3.6'

6 years agoversion number 3.7.0 for vms
PatR [Sun, 12 May 2019 22:57:05 +0000 (15:57 -0700)]
version number 3.7.0 for vms

6 years agoversion number 3.6.3 for vms
PatR [Sun, 12 May 2019 22:52:04 +0000 (15:52 -0700)]
version number 3.6.3 for vms

6 years agomatch the vs version info values with include/patchlevel.h in 3.7
nhmall [Sun, 12 May 2019 19:50:33 +0000 (15:50 -0400)]
match the vs version info values with include/patchlevel.h in 3.7

6 years agoMerge branch 'NetHack-3.6'
nhmall [Sun, 12 May 2019 19:31:31 +0000 (15:31 -0400)]
Merge branch 'NetHack-3.6'

6 years agoadd VERSION_IN_DLB_FILENAME to makedefs detection
nhmall [Sun, 12 May 2019 19:14:31 +0000 (15:14 -0400)]
add VERSION_IN_DLB_FILENAME to makedefs detection

6 years agosupport version-specific dlb file
nhmall [Sun, 12 May 2019 18:51:26 +0000 (14:51 -0400)]
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.

6 years agofixes37.0 section header bit
nhmall [Sun, 12 May 2019 12:16:01 +0000 (08:16 -0400)]
fixes37.0 section header bit

6 years agocatch up on fixes37.0 entries
nhmall [Sun, 12 May 2019 12:10:21 +0000 (08:10 -0400)]
catch up on fixes37.0 entries

6 years agoMerge branch 'NetHack-3.6'
nhmall [Sun, 12 May 2019 02:05:32 +0000 (22:05 -0400)]
Merge branch 'NetHack-3.6'

6 years agoadd windows startup msg fix to fixes36.3
nhmall [Sun, 12 May 2019 02:01:23 +0000 (22:01 -0400)]
add windows startup msg fix to fixes36.3

6 years agoadd windows startup msg fix to fixes36.3
nhmall [Sun, 12 May 2019 02:01:23 +0000 (22:01 -0400)]
add windows startup msg fix to fixes36.3

6 years agoMerge branch 'NetHack-3.6'
nhmall [Sun, 12 May 2019 01:58:56 +0000 (21:58 -0400)]
Merge branch 'NetHack-3.6'

6 years agoReport of no error msg deliverd by NetHackw.exe for some startup issues
nhmall [Sun, 12 May 2019 01:55:27 +0000 (21:55 -0400)]
Report of no error msg deliverd by NetHackw.exe for some startup issues

6 years agoMerge branch 'master' into NetHack-3.7
nhmall [Sat, 11 May 2019 12:50:32 +0000 (08:50 -0400)]
Merge branch 'master' into NetHack-3.7

6 years agoMerge branch 'NetHack-3.6'
nhmall [Sat, 11 May 2019 12:50:05 +0000 (08:50 -0400)]
Merge branch 'NetHack-3.6'

6 years agofix #H8712 - curses menu selector overflow
PatR [Sat, 11 May 2019 10:04:53 +0000 (03:04 -0700)]
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.

6 years agoRemove built-in speaker support
Pasi Kallinen [Sat, 11 May 2019 07:30:41 +0000 (10:30 +0300)]
Remove built-in speaker support

The changes to amiga, mac and msdos builds are untested.

6 years agoMerge branch 'NetHack-3.6'
nhmall [Sat, 11 May 2019 02:54:38 +0000 (22:54 -0400)]
Merge branch 'NetHack-3.6'

6 years agoplace_object vs multiple boulders
PatR [Fri, 10 May 2019 22:21:59 +0000 (15:21 -0700)]
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.]

6 years agocomment bit
nhmall [Fri, 10 May 2019 19:08:59 +0000 (15:08 -0400)]
comment bit

6 years agoMerge branch 'NetHack-3.6'
nhmall [Fri, 10 May 2019 19:01:59 +0000 (15:01 -0400)]
Merge branch 'NetHack-3.6'

6 years agoinstead of BETA or not, have devel states of release, wip, beta
nhmall [Fri, 10 May 2019 18:59:03 +0000 (14:59 -0400)]
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.

6 years agoMerge branch 'NetHack-3.6'
nhmall [Fri, 10 May 2019 17:51:41 +0000 (13:51 -0400)]
Merge branch 'NetHack-3.6'

6 years agoensure go-forward builds of branch NetHack-3.6 don't still say 3.6.2
nhmall [Fri, 10 May 2019 17:47:59 +0000 (13:47 -0400)]
ensure go-forward builds of branch NetHack-3.6 don't still say 3.6.2

6 years agoMerge branch 'NetHack-3.6'
nhmall [Fri, 10 May 2019 17:43:43 +0000 (13:43 -0400)]
Merge branch 'NetHack-3.6'

6 years agotry to extract a bit more info from impossible obfree: not on bill
nhmall [Fri, 10 May 2019 17:11:39 +0000 (13:11 -0400)]
try to extract a bit more info from impossible obfree: not on bill

6 years agoMerge branch 'master' into NetHack-3.7
nhmall [Fri, 10 May 2019 01:20:25 +0000 (21:20 -0400)]
Merge branch 'master' into NetHack-3.7

6 years agoMerge branch 'NetHack-3.6'
nhmall [Fri, 10 May 2019 01:20:14 +0000 (21:20 -0400)]
Merge branch 'NetHack-3.6'

6 years agofixes36.2 update for posterity
PatR [Fri, 10 May 2019 00:15:14 +0000 (17:15 -0700)]
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'.

6 years agoFix merge mistake
Pasi Kallinen [Thu, 9 May 2019 17:27:33 +0000 (20:27 +0300)]
Fix merge mistake

6 years agoFix compiling without DLB
Pasi Kallinen [Thu, 9 May 2019 16:44:34 +0000 (19:44 +0300)]
Fix compiling without DLB

6 years agomark development 3.7 builds as such
nhmall [Thu, 9 May 2019 11:47:10 +0000 (07:47 -0400)]
mark development 3.7 builds as such

6 years agoFix X11 compilation
Pasi Kallinen [Thu, 9 May 2019 07:23:29 +0000 (10:23 +0300)]
Fix X11 compilation

6 years agoMerge branch 'NetHack-3.6'
nhmall [Wed, 8 May 2019 23:33:21 +0000 (19:33 -0400)]
Merge branch 'NetHack-3.6'

6 years agonew fixes36.3 NetHack-3.6.3_WIP
nhmall [Wed, 8 May 2019 23:32:35 +0000 (19:32 -0400)]
new fixes36.3

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Wed, 8 May 2019 01:18:51 +0000 (21:18 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoThis is cron-daily v1-Feb-22-2019. guidebook updated: doc/Guidebook.txt NetHack-3.6.2 NetHack-3.6.2_Release NetHack-3.6.2_Released
nhw_cron [Tue, 7 May 2019 19:29:25 +0000 (15:29 -0400)]
This is cron-daily v1-Feb-22-2019.  guidebook updated: doc/Guidebook.txt

6 years agoNetHack 3.6.2 release-related updates
nhmall [Tue, 7 May 2019 18:39:24 +0000 (14:39 -0400)]
NetHack 3.6.2 release-related updates

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Tue, 7 May 2019 18:12:01 +0000 (14:12 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Tue, 7 May 2019 18:11:33 +0000 (14:11 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoGuidebook.mn: drop unneeded escaping NetHack-3.6.2-beta01
keni [Tue, 7 May 2019 17:53:24 +0000 (13:53 -0400)]
Guidebook.mn: drop unneeded escaping

6 years agotop level Files take 2
nhmall [Tue, 7 May 2019 13:10:48 +0000 (09:10 -0400)]
top level Files take 2

6 years agoMake Files match the most recent beta version
nhmall [Tue, 7 May 2019 12:53:43 +0000 (08:53 -0400)]
Make Files match the most recent beta version

6 years ago3.6.2 release bits into Guidebook
nhmall [Tue, 7 May 2019 12:40:46 +0000 (08:40 -0400)]
3.6.2 release bits into Guidebook

6 years agoMerge branch 'NetHack-3.6.2' part 3
nhmall [Mon, 6 May 2019 03:48:18 +0000 (23:48 -0400)]
Merge branch 'NetHack-3.6.2' part 3

6 years agoMerge branch 'NetHack-3.6.2' part 2
nhmall [Mon, 6 May 2019 03:39:20 +0000 (23:39 -0400)]
Merge branch 'NetHack-3.6.2' part 2

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Mon, 6 May 2019 03:30:50 +0000 (23:30 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Mon, 6 May 2019 03:20:34 +0000 (23:20 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoVMS update
PatR [Sun, 5 May 2019 23:56:58 +0000 (16:56 -0700)]
VMS update

Long overdue.  Install.vms ought to be rewritten from scratch but that
will probably never happen.

6 years agocomment/formatting tidbits
PatR [Sun, 5 May 2019 22:20:09 +0000 (15:20 -0700)]
comment/formatting tidbits

Some miscellaneous stuff I don't want to discard of lose track of.
No change it actual code.

6 years agobones bit: crysknife vs green slime
PatR [Sun, 5 May 2019 21:48:43 +0000 (14:48 -0700)]
bones bit: crysknife vs green slime

Being turned into green slime never drops hero's inventory so invent
objects shouldn't be subject to obj_not_held() handling.

obj_not_held() does apply to undead.  Arising as a mummy or vampire
doesn't go through the trouble of dropping everything and picking it
back up, but there is a point in the die...arise sequence where the
hero is implicitly a corpse so nobody is holding his/her stuff.

6 years agocouple of interface comments
PatR [Sun, 5 May 2019 20:38:58 +0000 (13:38 -0700)]
couple of interface comments

6 years agoball&chain sanity checking
PatR [Sun, 5 May 2019 20:33:30 +0000 (13:33 -0700)]
ball&chain sanity checking

Add a bc sanity check.  It seems to work ok--in other words, not
trigger--under normal punishment.  I don't have any test cases to
exercise its warnings.

This dragged in a couple of minor bc changes that were pending.  I
should have cleared those out before tackling the sanity checking.

6 years agoFix monster trapped state being wrong
Pasi Kallinen [Sun, 5 May 2019 19:49:21 +0000 (22:49 +0300)]
Fix monster trapped state being wrong

When cloning a monster, clear the clone trapped and hiding states.
When splitting a monster (eg. a black pudding), the clone could
be placed on a trap, so do mintrap.
When removing a monster from the map, clear the trapped state.

6 years agoFix impossible if monster cannot be relocated from tele region
Pasi Kallinen [Sun, 5 May 2019 19:29:47 +0000 (22:29 +0300)]
Fix impossible if monster cannot be relocated from tele region

6 years agosync recent wording change in history
nhmall [Sun, 5 May 2019 18:16:49 +0000 (14:16 -0400)]
sync recent wording change in history

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Sun, 5 May 2019 17:42:29 +0000 (13:42 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Sun, 5 May 2019 17:36:45 +0000 (13:36 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoMerge branch 'NetHack-3.6.2-beta01' of https://rodney.nethack.org:20040/git/NHsource...
nhmall [Sun, 5 May 2019 17:34:38 +0000 (13:34 -0400)]
Merge branch 'NetHack-3.6.2-beta01' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6.2-beta01

6 years agosome updates for 3.6.2
nhmall [Sun, 5 May 2019 17:29:40 +0000 (13:29 -0400)]
some updates for 3.6.2

6 years agoThis is cron-daily v1-May-5-2019. guidebook updated: doc/Guidebook.txt
keni [Sun, 5 May 2019 17:32:53 +0000 (13:32 -0400)]
This is cron-daily v1-May-5-2019.  guidebook updated: doc/Guidebook.txt
to 948099800b722f9be0e8f9c8d4d96cfda5cea98e

6 years agosome updates for 3.6.2
nhmall [Sun, 5 May 2019 17:29:40 +0000 (13:29 -0400)]
some updates for 3.6.2

6 years agodisplay.c formatting
PatR [Thu, 2 May 2019 22:22:29 +0000 (15:22 -0700)]
display.c formatting

Miscellaneous cleanup of display.c.

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Wed, 1 May 2019 13:10:41 +0000 (09:10 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Wed, 1 May 2019 13:06:37 +0000 (09:06 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoDatabase fixes
Pasi Kallinen [Wed, 1 May 2019 10:38:53 +0000 (13:38 +0300)]
Database fixes

Merge barbed devil entry to already existing one.
Replace spaces in the beginning of lines with tabs.

6 years agofix github issue #188 - #chat to succubus/incubus
PatR [Tue, 30 Apr 2019 18:35:06 +0000 (11:35 -0700)]
fix github issue #188 - #chat to succubus/incubus

Fixes #188

The change to fix setting SEDUCE=0 in sysconf broke chatting with
seductive demons by unintentionally changing the way Null attack
argument was handled.  It's still handled differently than it used
to be, but I think this difference is correct.

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Mon, 29 Apr 2019 17:52:27 +0000 (13:52 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Mon, 29 Apr 2019 17:52:06 +0000 (13:52 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoAdd the missing int param
Pasi Kallinen [Mon, 29 Apr 2019 17:45:18 +0000 (20:45 +0300)]
Add the missing int param

6 years agoUnify code for cure self spell
Pasi Kallinen [Mon, 29 Apr 2019 15:50:08 +0000 (18:50 +0300)]
Unify code for cure self spell

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Mon, 29 Apr 2019 11:50:25 +0000 (07:50 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Mon, 29 Apr 2019 11:49:58 +0000 (07:49 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agofix github issue #187 - 'reassess' panic with Qt5
PatR [Mon, 29 Apr 2019 00:32:16 +0000 (17:32 -0700)]
fix github issue #187 - 'reassess' panic with Qt5

Fixes #187

Qt5 gave "status 'reassess' before init" panic at start of new game.
Don't call status_initialize(REASSESS) from set_usamon()--used for
hero setup as well as for hero polymorph--unless it was previously
called from display_gamewindows() with !REASSESS [which happens when
windowprocs.wincap2 has WC2_STATUS_HILITES or WC2_FLUSH_STATUS set].

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Fri, 26 Apr 2019 23:52:16 +0000 (19:52 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Fri, 26 Apr 2019 23:47:18 +0000 (19:47 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agofix #H8612 - splashes of venom might stay intact
PatR [Thu, 25 Apr 2019 14:11:42 +0000 (07:11 -0700)]
fix #H8612 - splashes of venom might stay intact

If a poly'd hero spits venom and it lands at a 'soft' spot such as
water, it would remain as an intact venom object.  (Venom spat by
monsters seems to always be used up regardless of where it lands.)

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Thu, 25 Apr 2019 01:29:11 +0000 (21:29 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Thu, 25 Apr 2019 01:16:07 +0000 (21:16 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agovampshifting Vlad
PatR [Wed, 24 Apr 2019 23:59:44 +0000 (16:59 -0700)]
vampshifting Vlad

Vlad keeps his own form when carrying the Candelabrum, but if you
manage to get that away from him he should behave like other vampires.
He wasn't though; a high level wizard casting polymorph on him would
change him into an arbitrary monster rather than into a wolf/bat/cloud
that revives as Vlad when killed.

6 years agofix #H8619 - hallucination vs vampire transform
PatR [Wed, 24 Apr 2019 21:02:09 +0000 (14:02 -0700)]
fix #H8619 - hallucination vs vampire transform

|The seemingly dead vampire bat rises as a vampire.
was overriding hallucination when describing both old and new forms.
In 3.6.0 it only overrode the dying shape (explicitly so, presumeably
because the feature was brand new) and honored hallucination for the
revived shape.  The 3.6.1 fix to prevent non-hallucinating:  'The
seemingly dead Foo rises as Foo.' for a named vampire unintentionally
overrode hallucination for the revived shape.

Change it to honor hallucination for both before and after monsters
|The seemingly dead grid bug rises as a microscopic space fleet.

6 years agoMerge branch 'NetHack-3.6.2' part 2
nhmall [Mon, 22 Apr 2019 18:42:49 +0000 (14:42 -0400)]
Merge branch 'NetHack-3.6.2' part 2

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Mon, 22 Apr 2019 18:36:58 +0000 (14:36 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Mon, 22 Apr 2019 18:31:18 +0000 (14:31 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agoenum bit
nhmall [Mon, 22 Apr 2019 18:27:41 +0000 (14:27 -0400)]
enum bit

6 years agopreserve dknown field between fakeobj instances
nhmall [Mon, 22 Apr 2019 18:17:18 +0000 (14:17 -0400)]
preserve dknown field between fakeobj instances

Preserve temporary fake object's previous dknown value by storing it
as a flag value within the m_ap_type field of the posing monster, and
recalling it when it is needed.

This is intended to help eliminate observable differences in price display
between real objects and mimics posing as objects.

98% of this is just switching the code to utilize macro M_AP_TYPE(mon)
everywhere to ensure that the flag bits are stripped off when needed.

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Sun, 21 Apr 2019 08:08:57 +0000 (04:08 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Sun, 21 Apr 2019 08:00:47 +0000 (04:00 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2

6 years agomimicking a corpse
PatR [Sat, 20 Apr 2019 23:00:29 +0000 (16:00 -0700)]
mimicking a corpse

Noticed while looking over mimic hiding.  When on an object, a mimic
will hide as that type of object.  But for a corpse, it picked a random
monster type and could choose one that doesn't leave a corpse.  Also as
a tin it would always be an empty one, but there doesn't seem to be any
way for a player to learn that.

6 years agoquantum mechanic hits
PatR [Sat, 20 Apr 2019 00:32:36 +0000 (17:32 -0700)]
quantum mechanic hits

Noticed while trying to find the reason for the wildmiss impossible(),
you could be teleported and then drop dead at the destination.  A QM's
AD_TLPT hit also does 1d4 physical damage which gets applied after the
teleport.  Getting "You die." seemed pretty strange, particularly after
picking the destination with telport control.  This makes sure that the
damage will never be fatal when teleport is attempted.

6 years agoVMS config1.h
PatR [Fri, 19 Apr 2019 19:42:35 +0000 (12:42 -0700)]
VMS config1.h

Some port of yacc was generating '#include <stdlib.h>' before our
'#include "config.h" and needed a specific define from config1.h to
be supplied on the command line to avoid conflicting contents within
that header file, but then config1.h drew complaints about redefining
the macro.  Guard against that.

6 years agostatus 'fieldorder'
PatR [Fri, 19 Apr 2019 19:28:14 +0000 (12:28 -0700)]
status 'fieldorder'

DEC C in one of its non-ANSI modes didn't like
 fieldorder = test ? &array1 : &array2;
It first complained that '&' applied to an array has no effect (which
was typically true in pre-ANSI environments) and once those '&'s are
ignored, the attempted assignment didn't match the variable's type.
That code was actually more complicated that it needed to be; slightly
simpler code works as intended.

6 years agoMerge branch 'NetHack-3.6.2'
nhmall [Fri, 19 Apr 2019 12:55:54 +0000 (08:55 -0400)]
Merge branch 'NetHack-3.6.2'

6 years agoMerge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
nhmall [Fri, 19 Apr 2019 12:55:39 +0000 (08:55 -0400)]
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2