]> granicus.if.org Git - nethack/log
nethack
9 years agocmdline Makefile updates
nhmall [Mon, 30 Mar 2015 01:00:50 +0000 (21:00 -0400)]
cmdline Makefile updates

9 years agoclean up cmdline Makefile for VS2010,VS2013,...
nhmall [Mon, 30 Mar 2015 00:28:38 +0000 (20:28 -0400)]
clean up cmdline Makefile for VS2010,VS2013,...

VS2010 tested ok.
VS2013 tested ok.
VS2015 generated a _lot_ of linker warnings building NetHack, but it built.

9 years agofix some compiler warnings windows cmdline
nhmall [Mon, 30 Mar 2015 00:07:41 +0000 (20:07 -0400)]
fix some compiler warnings windows cmdline
 Changes to be committed:
modified:   src/hack.c
modified:   src/vision.c

9 years agoAdd new hallucinatory gods.
Sean Hunt [Sun, 29 Mar 2015 23:10:46 +0000 (19:10 -0400)]
Add new hallucinatory gods.

9 years agoFix a compiler warning.
Sean Hunt [Sun, 29 Mar 2015 22:20:26 +0000 (18:20 -0400)]
Fix a compiler warning.

9 years agoAdd more explicit helpless reasons
Pasi Kallinen [Sun, 29 Mar 2015 19:08:46 +0000 (22:08 +0300)]
Add more explicit helpless reasons

Instead of just "while helpless", the death reason will tell
more explicitly why the player was helpless.  For example:
"while frozen by a monster's gaze"

9 years agoadd data.base suggestion for whistle
nhmall [Sun, 29 Mar 2015 14:50:39 +0000 (10:50 -0400)]
add data.base suggestion for whistle

On 1/24/2014 6:48 AM, a bug reporter wrote:
> The whistle in Nethack has no encyclopedia entry. I suggest for the next
> release something from the M. R. James ghost story 'Oh, Whistle, and I'll Come
> to You My Lad'.
>

9 years agoKicking a grave may topple the gravestone
Pasi Kallinen [Sun, 29 Mar 2015 14:44:59 +0000 (17:44 +0300)]
Kicking a grave may topple the gravestone

...with similar alignment hit as when digging up a grave.

9 years agoUse dark gray color for black glyphs in TTY
Pasi Kallinen [Sun, 29 Mar 2015 12:49:01 +0000 (15:49 +0300)]
Use dark gray color for black glyphs in TTY

This is Michael Deutschmann's use_darkgray -patch.
Adds a boolean option use_darkgray, settable in config file.

This patch has been in use on NAO for years, and I have heard
once someone say their terminal didn't support the dark gray
color.

9 years agoSave playmode in xlogfile
Pasi Kallinen [Sun, 29 Mar 2015 11:56:23 +0000 (14:56 +0300)]
Save playmode in xlogfile

9 years agodoc/fixes update for C343-357
nhmall [Sat, 28 Mar 2015 22:20:19 +0000 (18:20 -0400)]
doc/fixes update for C343-357

9 years agofix C343-357 Rust monsters may chew non-ferrous items
nhmall [Sat, 28 Mar 2015 22:08:09 +0000 (18:08 -0400)]
fix C343-357 Rust monsters may chew non-ferrous items
 Changes to be committed:
modified:   src/mon.c

website should be updated to reflect this bug closure.

C343-357 Rust monsters may chew non-ferrous items.

9 years agoremove #ifdef TOURIST straggler
nhmall [Sat, 28 Mar 2015 22:05:42 +0000 (18:05 -0400)]
remove #ifdef TOURIST straggler
 Changes to be committed:
modified:   src/worn.c

9 years agoGuidebook transcription typo
nhmall [Sat, 28 Mar 2015 19:23:28 +0000 (15:23 -0400)]
Guidebook transcription typo

9 years agoIt's Wonka Bar, not just Wonka
Pasi Kallinen [Sat, 28 Mar 2015 18:39:40 +0000 (20:39 +0200)]
It's Wonka Bar, not just Wonka

9 years agoFeedback when boomerang hits sink
Pasi Kallinen [Sat, 28 Mar 2015 17:38:15 +0000 (19:38 +0200)]
Feedback when boomerang hits sink

9 years agoYAFMs when trying to pick up terrain features
Pasi Kallinen [Sat, 28 Mar 2015 17:31:01 +0000 (19:31 +0200)]
YAFMs when trying to pick up terrain features

9 years agoAdd missing prototype
Pasi Kallinen [Sat, 28 Mar 2015 17:21:49 +0000 (19:21 +0200)]
Add missing prototype

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Sat, 28 Mar 2015 15:23:47 +0000 (11:23 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoBalsa wands break easily
Pasi Kallinen [Sat, 28 Mar 2015 15:20:57 +0000 (17:20 +0200)]
Balsa wands break easily

9 years agoflavor enhance zap downwards/upwards when hiding
nhmall [Sat, 28 Mar 2015 15:20:44 +0000 (11:20 -0400)]
flavor enhance zap downwards/upwards when hiding
 Changes to be committed:
modified:   doc/fixes35.0
modified:   include/extern.h
modified:   src/apply.c
modified:   src/zap.c

    On 3/23/2015 6:41 PM, a bug reporter wrote:
    > When you're hiding under an item (e.g. via garter snake polyform), and
    > that item gets polyshuddered into nonexistence, you continue hiding
    > (under nothing).
    This was addressed previously.

    > (Incidentally, it's a bit weird that you use > to aim at items that are
    > flavorwise above you at the time.)

    This addresses the flavorwise concern.

9 years agoUse existing function to count containers
Pasi Kallinen [Sat, 28 Mar 2015 14:24:25 +0000 (16:24 +0200)]
Use existing function to count containers

9 years agoShow legal polearm hit positions
Pasi Kallinen [Sat, 28 Mar 2015 11:32:24 +0000 (13:32 +0200)]
Show legal polearm hit positions

User can press $ to display valid positions when asked
for a position to pick, and the positions will be hilighted

9 years agoRemove migrating monster from polearm targeting
Pasi Kallinen [Sat, 28 Mar 2015 08:55:41 +0000 (10:55 +0200)]
Remove migrating monster from polearm targeting

9 years agoAdd sysconf for linux-X11
Pasi Kallinen [Sat, 28 Mar 2015 08:00:44 +0000 (10:00 +0200)]
Add sysconf for linux-X11

9 years agoa couple of substitution errors in Guidebook.tex
nhmall [Sat, 28 Mar 2015 05:06:28 +0000 (01:06 -0400)]
a couple of substitution errors in Guidebook.tex

9 years agofix up some syntax errors in Guidebook.tex
nhmall [Sat, 28 Mar 2015 04:49:38 +0000 (00:49 -0400)]
fix up some syntax errors in Guidebook.tex

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Sat, 28 Mar 2015 01:38:25 +0000 (21:38 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoregenerate Guidebook.txt
keni [Sat, 28 Mar 2015 01:31:25 +0000 (21:31 -0400)]
regenerate Guidebook.txt

9 years agotty menu hack for ':'
PatR [Sat, 28 Mar 2015 01:24:53 +0000 (18:24 -0700)]
tty menu hack for ':'

Looting a container generates a menu which contains ': - look inside'
but the recent change to make ':' be a menu command for selecting
items which match a search string made it impossible to pick that item.
(Well, I suppose you could enter a search string which matched it, but
that's a nuisance compared to just directly picking a choice.)  This
makes menu selection for tty give precedence to menu choice characters
over mapped menu commands when some character happens to be both.  I'm
not sure whether it ought to be expended to group accelerators too, so
didn't do that.

There's bound to be a better way to do this, but it works.

9 years agosubsitution gone amuck
nhmall [Fri, 27 Mar 2015 23:56:04 +0000 (19:56 -0400)]
subsitution gone amuck
 Changes to be committed:
modified:   doc/Guidebook.mn

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Fri, 27 Mar 2015 23:48:17 +0000 (19:48 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agomore doc updates
nhmall [Fri, 27 Mar 2015 23:47:17 +0000 (19:47 -0400)]
more doc updates
Changes to be committed:
modified:   dat/history
modified:   doc/Guidebook.mn
modified:   doc/Guidebook.tex

9 years agoAutomatically find monster to target with polearm
Pasi Kallinen [Fri, 27 Mar 2015 22:32:54 +0000 (00:32 +0200)]
Automatically find monster to target with polearm

If there's only one suitable monster within range, automatically
suggest it for targeting with the polearm

9 years agoRemember position of monster you hit with polearm
Pasi Kallinen [Fri, 27 Mar 2015 21:29:30 +0000 (23:29 +0200)]
Remember position of monster you hit with polearm

If you hit a monster with a polearm, following polearm applications
will try to automatically suggest the monster's position

9 years agoUpdate fixes35.0 with t-shirt text disclose
Pasi Kallinen [Fri, 27 Mar 2015 20:13:35 +0000 (22:13 +0200)]
Update fixes35.0 with t-shirt text disclose

9 years agoUpdate fixes35.0 with reading items
Pasi Kallinen [Fri, 27 Mar 2015 20:11:41 +0000 (22:11 +0200)]
Update fixes35.0 with reading items

9 years agoAllow reading many more items
Pasi Kallinen [Fri, 27 Mar 2015 19:04:01 +0000 (21:04 +0200)]
Allow reading many more items

You can now also read alchemy smocks, credit cards, cans of grease,
magic markers, gold, the Orb of Fate, and candy bars.

9 years agoShow t-shirt text at end of game inventory disclose
Pasi Kallinen [Fri, 27 Mar 2015 14:08:06 +0000 (16:08 +0200)]
Show t-shirt text at end of game inventory disclose

Restricting the text display only to the end of game disclose,
so it doesn't clutter the inventory during gameplay and so that
the readability of t-shirts is not given away.

9 years agoTTY: Guard against impossible x coord
Pasi Kallinen [Fri, 27 Mar 2015 13:29:54 +0000 (15:29 +0200)]
TTY: Guard against impossible x coord

If a menu item was longer than terminal width, the menu wasn't
cleared away after it was finished with.  This easily happened
when an inventory item was named.

9 years agoFix passing non-static buffer out of scope
Pasi Kallinen [Fri, 27 Mar 2015 13:12:04 +0000 (15:12 +0200)]
Fix passing non-static buffer out of scope

9 years agoobjnam formatting for bag of tricks
PatR [Fri, 27 Mar 2015 07:21:40 +0000 (00:21 -0700)]
objnam formatting for bag of tricks

Bag of tricks that had been used at least once was being described
as "empty" regardless of charge count, because it always fails the
Has_contents() test.  After half this patch fixed that, it started
being flagged as "empty" as soon as the last charge was used rather
than after attempting to use it again after that, since 'cknown' was
being set whenever it was used.  Only set that flag when applying
the bag has been observed to fail.

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Thu, 26 Mar 2015 16:41:26 +0000 (12:41 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agosync docs
nhmall [Thu, 26 Mar 2015 16:40:22 +0000 (12:40 -0400)]
sync docs

Pasi pointed it out that the SYSCF stuff was only added
to Guidebook.mn not Guidebook.tex

9 years agoCatch up and sync Guidebooks
Pasi Kallinen [Thu, 26 Mar 2015 14:46:41 +0000 (16:46 +0200)]
Catch up and sync Guidebooks

9 years agoFix typo in Guidebook.tex
Pasi Kallinen [Thu, 26 Mar 2015 14:14:33 +0000 (16:14 +0200)]
Fix typo in Guidebook.tex

9 years agonames of public servers and tournament contrib
nhmall [Thu, 26 Mar 2015 12:05:23 +0000 (08:05 -0400)]
names of public servers and tournament contrib
 Changes to be committed:
modified:   dat/history

9 years agoFix Guidebook typos
Pasi Kallinen [Thu, 26 Mar 2015 09:41:05 +0000 (11:41 +0200)]
Fix Guidebook typos

9 years agoFix typos in fixes35.0
Pasi Kallinen [Thu, 26 Mar 2015 06:44:24 +0000 (08:44 +0200)]
Fix typos in fixes35.0

9 years agofix acid_damage() crash
PatR [Thu, 26 Mar 2015 01:04:50 +0000 (18:04 -0700)]
fix acid_damage() crash

My dog bit an acid blob and triggered a crash, caught by SYSCF panictrace
but yielding confusing information.  The backtrace included a call from
'rustm()+N' that turned out to be passivemm(), which was deferencing a
null pointer since no weapon was involved.

9 years agoFix 'fetch' syntax, include sparkly 'git log' trick
Derek S. Ray [Wed, 25 Mar 2015 21:07:10 +0000 (17:07 -0400)]
Fix 'fetch' syntax, include sparkly 'git log' trick

And bolt a couple more Win32-folders onto .gitignore.

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
Pasi Kallinen [Wed, 25 Mar 2015 20:15:16 +0000 (22:15 +0200)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoShow object symbols in menu headings
Pasi Kallinen [Wed, 25 Mar 2015 20:13:28 +0000 (22:13 +0200)]
Show object symbols in menu headings

... in menus where those object symbols act as menu accelerators.
Toggleable via "menu_objsyms" boolean option, defaults to off.

9 years agoFix a memory leak on termination.
Sean Hunt [Wed, 25 Mar 2015 18:34:03 +0000 (14:34 -0400)]
Fix a memory leak on termination.

Found by Alex Smith.

9 years agono hiding under nothing
nhmall [Wed, 25 Mar 2015 02:07:16 +0000 (22:07 -0400)]
no hiding under nothing

On 3/23/2015 6:41 PM, a bug reporter wrote:
> When you're hiding under an item (e.g. via garter snake polyform), and
> that item gets polyshuddered into nonexistence, you continue hiding
> (under nothing).

This addresses the "hiding under nothing" bug, but does not
address this flavor comment also included in the report:
> (Incidentally, it's a bit weird that you use > to aim at items that are
> flavorwise above you at the time.)

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Tue, 24 Mar 2015 23:29:11 +0000 (19:29 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agofix invalid pointer dereference in morguemon
nhmall [Tue, 24 Mar 2015 23:20:14 +0000 (19:20 -0400)]
fix invalid pointer dereference in morguemon

On 3/23/2015 6:41 PM, a bug reporter wrote:
> If the game generates a graveyard, the graveyard places a normal
> demon, but all normal demons are extinct at the time, then morguemon (at
> mkroom.c line 423) indexes mons with NON_PM (the return value of
> ndemon() if it can't find a reference), which is an invalid pointer
> dereference. According to the testbench, this mostly seems to happen on
> dlvl 12.

This fixes the code violation, but the logic will now drop down to the
ghost/wraith/zombie code when that happens.

Is that desireable, or should something else happen (for variety)?

9 years agoNHsubst bugfixes and hack for whitespace errors.
keni [Tue, 24 Mar 2015 22:29:02 +0000 (18:29 -0400)]
NHsubst bugfixes and hack for whitespace errors.

9 years agoAdd an option to give feedback when bumping walls
Pasi Kallinen [Tue, 24 Mar 2015 20:01:29 +0000 (22:01 +0200)]
Add an option to give feedback when bumping walls

Boolean option "mention_walls", defaults to off.
Useful for blind players.

9 years agoAdd more hallu sounds monsters make when hit
Pasi Kallinen [Tue, 24 Mar 2015 19:14:49 +0000 (21:14 +0200)]
Add more hallu sounds monsters make when hit

9 years agoFix use-after-frees on dipped objects.
Sean Hunt [Sat, 21 Mar 2015 15:55:30 +0000 (11:55 -0400)]
Fix use-after-frees on dipped objects.

9 years ago{DEC,IBM,MAC}graphics (2 of 2: unixmain)
PatR [Mon, 23 Mar 2015 01:29:37 +0000 (18:29 -0700)]
{DEC,IBM,MAC}graphics (2 of 2: unixmain)

Unix command line processing required that the initial 'd' of
"-DECgraphics" be lowercase so that it wouldn't conflict with -D for
wizard mode.  This retains -D for wizard mode and now also recognizes
"-debug" (case insensitive, but full 5 letters necessary) for the same
thing, and allows "-DECgraphics" to be capitalized as it is throughout
the rest of the program (actual matching is case-insensitive, so "-dec"
and "-decgraphics" still work.  It now requires that anything  after
"DEC" match the rest of that string instead of accepting "-DECanthing"
as a synonym for "-DECgraphics".  Likewise for "-IBMgraphics":  when
more than 3 letters are supplied, the extra ones must be an initial
substring of "graphics" rather than arbitrary characters.

The raw_printf() warnings don't actually work as intended, but that
isn't a change from the old behavior so I've left them in for now.

9 years ago{DEC,IBM,MAC}graphics (1 of 2: core)
PatR [Mon, 23 Mar 2015 01:22:36 +0000 (18:22 -0700)]
{DEC,IBM,MAC}graphics (1 of 2: core)

DECgraphics, IBMgraphics, and MACgraphics used to be recognized when
at least 3 letters were supplied back when they were true boolean
options.  When they got demoted to shortcuts for the symset option,
they started needing 10 (DEC and IBM) or all 11 (MAC), otherwise
triggering "bad syntax in NETHACKOPTIONS" (or config file).  Revert
to having the first three letters be sufficient.

9 years agoremove stale feature alert
nhmall [Sun, 22 Mar 2015 22:11:49 +0000 (18:11 -0400)]
remove stale feature alert

This old feature alert from 3.3.0 is pretty stale, so remove
if from the code because everybody has probably suppressed
it by now.

/* Because 'Q' used to be quit... */
if (flags.suppress_alert < FEATURE_NOTICE_VER(3,3,0))
pline("Note: Please use #quit if you wish to exit the game.");

9 years agoAdd note about feature alert mechanism
nhmall [Sun, 22 Mar 2015 22:04:18 +0000 (18:04 -0400)]
Add note about feature alert mechanism

9 years agoFile for explaining code quirks/features/caveats
nhmall [Sun, 22 Mar 2015 19:05:18 +0000 (15:05 -0400)]
File for explaining code quirks/features/caveats

- added NOCWD_ASSUMPTIONS and PREFIXES_IN_USE section.

9 years agoadjust PREFIXES_IN_USE for SYSCF
nhmall [Sun, 22 Mar 2015 15:11:41 +0000 (11:11 -0400)]
adjust PREFIXES_IN_USE for SYSCF

9 years agooptions and config file handling
nhmall [Sun, 22 Mar 2015 14:44:36 +0000 (10:44 -0400)]
options and config file handling

With SYSCF, the SYSCF_FILE name was overwriting the
default config file name making it unavailable for
subsequent user config file options handling.

- Keep the name of the last config file successfully opened.
- Do it without orphaning the default config file name needed
  for the next pass.

9 years agofix "mysterious force" probabilities in do.c comment
PatR [Sun, 22 Mar 2015 02:24:08 +0000 (19:24 -0700)]
fix "mysterious force" probabilities in do.c comment

Reported by Alex, the probabilites shown in the comment about the effect
of the mysterious force have been wrong ever since they were added 20 or
so years ago.  Lawfuls and neutrals are much more likely to go down just
one level rather than 2 or 3.

9 years agowishing fix for "eyes"
PatR [Sat, 21 Mar 2015 22:36:47 +0000 (15:36 -0700)]
wishing fix for "eyes"

No, not a blindness cure. :-}  Post-3.4.3 revisions to makesingular()
inadvertently made it impossible to successfully wish for "the Eyes
of the Overworld" because the string got changed into "the Eye of the
Overworld" which doesn't match anything.  So don't singularize "eyes".

(After this fix, wishing for "the Eyes of the Aethiopica" no longer
yields the Eye of same, but I think that's the correct behavior.)

9 years agoput mystery line back but !WIN32
nhmall [Sat, 21 Mar 2015 20:17:17 +0000 (16:17 -0400)]
put mystery line back but !WIN32

Since that line of code is used by a lot of different ports, I decided to
recant its removal and just add #ifdef to ensure it isn't compiled on WIN32.

I think other ports might encounter the same issue where the first pass with
filename set to 'sysconf', is then going to overwrite the hard-coded user
config file name, but I can't fix or test those so for those ports, it
will be now be back the way it was.

9 years agoremove a troublesome line of code
nhmall [Sat, 21 Mar 2015 20:01:03 +0000 (16:01 -0400)]
remove a troublesome line of code

Whenever SYSCF was enabled on Windows, the option
processing would go bonkers with illegal options
at startup. I noticed it months ago, and Derek
had it happen the other evening.

It turns out, the hard-coded 'defaults.nh' setting
was being overwritten with the name sysconf on
the first SET_IN_SYS pass, so all subsequent passes
were re-opening the SYSC_FILE instead of the
user config file.

I opted to take it out as I couldn't ascertain
why it was there in the first place.

9 years agothrow in a windows sysconf skeleton
nhmall [Sat, 21 Mar 2015 19:54:30 +0000 (15:54 -0400)]
throw in a windows sysconf skeleton

9 years agoa sys/winnt/Makefile.msc update
nhmall [Sat, 21 Mar 2015 19:50:03 +0000 (15:50 -0400)]
a sys/winnt/Makefile.msc update

9 years agofix SYSCF so that things build when first defined
nhmall [Sat, 21 Mar 2015 19:38:31 +0000 (15:38 -0400)]
fix SYSCF so that things build when first defined

Things won't build for ports that first
define SYSCF.

This moves assure_syscf_file() from unixmain.c
to files.c and adjusts extern.h to get it
out from under #ifdef UNIX.

The call to assure_syscf_file() in options.c was
only #ifdef SYSCF, SYSCF_FILE and not UNIX,
so new ports #defining SYSCF would get an erro.

assure_syscf_file() will be utilized by mswin
when SYSCF is defined.

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Sat, 21 Mar 2015 14:53:42 +0000 (10:53 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoUpdate hacklib func comment doc
Pasi Kallinen [Sat, 21 Mar 2015 14:49:31 +0000 (16:49 +0200)]
Update hacklib func comment doc

9 years agoobj change to support some upcoming work
nhmall [Sat, 21 Mar 2015 14:46:11 +0000 (10:46 -0400)]
obj change to support some upcoming work

This is an enabling patch for upcoming work. It breaks
save/bones so editlevel is incremented.

I'd like to a second overloadable int field in struct obj,
instead of just the one that is typically overloaded - corpsenm.

The second one can be used for things that are being tallied
up as opposed to a static one time assignment for reference/linkage
purposes.

The differentiation will allow both uses to co-exist for the
same object.

9 years agoMake HoOA alignment change depend on object ID
Pasi Kallinen [Sat, 21 Mar 2015 11:40:07 +0000 (13:40 +0200)]
Make HoOA alignment change depend on object ID

The same Helm of opposite alignment will always make
the same alignment change for neutrals.

9 years agoMore C343-108: Handle "rub on the stone"
Pasi Kallinen [Sat, 21 Mar 2015 09:03:54 +0000 (11:03 +0200)]
More C343-108: Handle "rub on the stone"

9 years agomore mswin cmdline Makefile tweaks
nhmall [Sat, 21 Mar 2015 02:06:28 +0000 (22:06 -0400)]
more mswin cmdline Makefile tweaks

9 years agoFix C343-108 (e- leaves prompt on screen)
Pasi Kallinen [Fri, 20 Mar 2015 17:25:19 +0000 (19:25 +0200)]
Fix C343-108 (e- leaves prompt on screen)

You'll get "You mime eating something."

9 years agoacid explosion messages from water_damage()
PatR [Thu, 19 Mar 2015 22:54:17 +0000 (15:54 -0700)]
acid explosion messages from water_damage()

Restore the variant phrasing used when more than one stack of potions of
acid explode while being inflicted with water damage.  First message:
"a potion explodes" or "some potions explode"; second and subsequent
messages: "another potion explodes" or "more potions explode".  This
trivial feature stopped working when erosion handling was overhauled and
old water_damage was split into current water_damage_chain+water_damage.

Augment the message so that vague "potion" is only used when the object's
dknown flag isn't set (ie, object hasn't been seen yet).  Use "<color>
potion" or "potion of acid" otherwise, depending upon whether such potions
have been fully discovered.

9 years agoAdd lots of new random epitaphs
Pasi Kallinen [Thu, 19 Mar 2015 20:01:16 +0000 (22:01 +0200)]
Add lots of new random epitaphs

9 years agoAdd some new random engravings
Pasi Kallinen [Thu, 19 Mar 2015 19:13:24 +0000 (21:13 +0200)]
Add some new random engravings

9 years agoAdd lots of new hallu monsters
Pasi Kallinen [Thu, 19 Mar 2015 16:43:35 +0000 (18:43 +0200)]
Add lots of new hallu monsters

9 years agoSave xlogfile time_t fields correctly
Pasi Kallinen [Thu, 19 Mar 2015 15:41:14 +0000 (17:41 +0200)]
Save xlogfile time_t fields correctly

9 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Thu, 19 Mar 2015 03:01:34 +0000 (23:01 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

9 years agoupdate cmdline Makefile
nhmall [Thu, 19 Mar 2015 03:00:46 +0000 (23:00 -0400)]
update cmdline Makefile

9 years agoadd bogusmon,engrave,epitaph to dat/.gitignore
PatR [Thu, 19 Mar 2015 02:24:43 +0000 (19:24 -0700)]
add bogusmon,engrave,epitaph to dat/.gitignore

9 years agoxlogfile tweak to avoid forcing ANSI C
PatR [Thu, 19 Mar 2015 02:21:29 +0000 (19:21 -0700)]
xlogfile tweak to avoid forcing ANSI C

Avoid the C89/C90 feature of implicit concatentation of string literals.
XLOG_SEP handling becomes clumsier but will work with pre-ANSI compilers.

9 years agoMove some hard-coded string arrays into data files.
Pasi Kallinen [Wed, 18 Mar 2015 20:05:10 +0000 (22:05 +0200)]
Move some hard-coded string arrays into data files.

Random epitaphs, engravings and hallucinatory monsters now
live in text data files.

9 years agoPrevent segfault, water_damage may get a NULL obj
Pasi Kallinen [Wed, 18 Mar 2015 19:40:54 +0000 (21:40 +0200)]
Prevent segfault, water_damage may get a NULL obj

9 years agoMerge branch 'paxed-xlogfile'
Pasi Kallinen [Wed, 18 Mar 2015 16:57:52 +0000 (18:57 +0200)]
Merge branch 'paxed-xlogfile'

9 years agoStart to prepare dat/history for release
nhmall [Wed, 18 Mar 2015 02:40:57 +0000 (22:40 -0400)]
Start to prepare dat/history for release

This gets the history started. Please review/correct/improve and
fill in the various <FIXME> items I've flagged.

9 years agoMore getpos improvements
Pasi Kallinen [Tue, 17 Mar 2015 19:22:43 +0000 (21:22 +0200)]
More getpos improvements

Look up remembered dungeon features, not user-visible glyphs,
and ignore uninteresting features (room, corridor and wall tiles).

Original patch by Patric Mueller, from UnNetHack

9 years agosome lint cleanup
PatR [Tue, 17 Mar 2015 02:22:49 +0000 (19:22 -0700)]
some lint cleanup

9 years agoallow DEBUGFILES to be overridden via getenv()
PatR [Mon, 16 Mar 2015 22:28:01 +0000 (15:28 -0700)]
allow DEBUGFILES to be overridden via getenv()

If getenv("DEBUGFILES") yields a value then it takes precedence over
sysconf.DEBUGFILES or sys.c's #define DEBUGFILES.  (It probably should
only be controlled via environment since it is not a system-wide
attribute, but I haven't taken out the SYSCF handling for it.)

9 years agofinally remember to add the 'nh-' versions
Derek S. Ray [Mon, 16 Mar 2015 21:26:31 +0000 (17:26 -0400)]
finally remember to add the 'nh-' versions

9 years agodungeoneers update March 16, 2015
nhmall [Mon, 16 Mar 2015 10:04:43 +0000 (06:04 -0400)]
dungeoneers update March 16, 2015