]> granicus.if.org Git - nethack/log
nethack
7 years agotty prompting fix and DUMPLOG of prompts+answers
PatR [Tue, 21 Mar 2017 02:11:48 +0000 (19:11 -0700)]
tty prompting fix and DUMPLOG of prompts+answers

Update DUMPLOG's message history to include player responses to
most queries.  For tty, both getlin() and yn_function().  For other
interfaces, only yn_function() is covered.  (It's intercepted by a
core routine that can take care of the logging; getlin() isn't.)
Also includes saved messages from previous session(s), for the
interfaces which support that (tty), to fill out the logging when
a game ends shortly after a save/restore cycle.

The tty interface was using pline() to display prompt strings.
Having 'MSGTYPE=hide "#"' or 'MSGTYPE=hide "yn"' in .nethackrc
would suppress many prompt strings (in the two examples mentioned,
entering extended commands or the vast majority of yes/no questions,
respectively) and generally lead to substantial confusion even if
done intentionally, so switch to putstr(WIN_MESSAGE) instead.

7 years agofix Bell of Opening segfault
PatR [Fri, 17 Mar 2017 10:20:11 +0000 (03:20 -0700)]
fix Bell of Opening segfault

Noticed on nethack.alt.org; the Bell of Opening could trigger a
segfault if applied near a trap door or bear trap (and a few others)
that had no monster at the trap location.  Reproducible if done
while mounted; {open,close}{fall,hold}ingtrap() would try to access
monst->mx and monst->my of a Null monst pointer if given one when
u.usteed was non-Null.

7 years agofix #H5188 - getting an artifact break illiterate
PatR [Tue, 14 Mar 2017 12:27:45 +0000 (05:27 -0700)]
fix #H5188 - getting an artifact break illiterate

To-be-3.6.1 bug, caused by a patch (of mine...) incorporated about
a week after 3.6.0 was released that was intended to be for naming
Sting or Orcist.  Any artifact creation ended up breaking illiterate
conduct whether user-assigned naming was involved or not (because
oname() is always used to apply the name, not just when do_name() is
executing).

This should be handled differently but I don't want to go through
the dozen and half or so calls to oname() to add an extra argument.

7 years agomore control key formatting
PatR [Mon, 13 Mar 2017 22:43:08 +0000 (15:43 -0700)]
more control key formatting

The previous fix to use highc(UNCTRL(x)) worked for ^A through ^Z,
but not for NUL (yielded ^` instead of usual ^@) or ^[ through ^_
(yielded lowercase ^{ and so on).  The problem was UNCTRL(); it
shouldn't have been forcing on the lowercase bit to begin with.
Also, the code that used UNMETA() for formatting wouldn't work as
intended for M-control char since it stripped off the 8th bit but
didn't apply any fixup for control chars.

Just get rid of ISCTRL/ISMETA/UNCTRL/UNMETA and use the existing
visctrl() routine instead.  (Its 3.6.0 edition didn't handle
M-control char, but the to-be-3.6.1 branch has done so since a
week or two after the 3.6.0 release.)

7 years agoShow control key combos with uppercase alpha
Pasi Kallinen [Mon, 13 Mar 2017 18:32:43 +0000 (20:32 +0200)]
Show control key combos with uppercase alpha

Instead of ^r, show ^R, as that one is used everywhere.

7 years agoDocument explicitly what m-prefix does to each command
Pasi Kallinen [Mon, 13 Mar 2017 15:17:58 +0000 (17:17 +0200)]
Document explicitly what m-prefix does to each command

7 years agodumplog message history groundwork
PatR [Sat, 11 Mar 2017 00:41:49 +0000 (16:41 -0800)]
dumplog message history groundwork

Separate the message logging out of pline so that other things (for
instance, one-line summary for quest block messages) can be logged.
The code that utilizes this isn't ready for prime time yet.

For FREE_ALL_MEMORY, release DUMPLOG message history when saving.
(Actually, this frees it unconditionally rather just doing so for
FREE_ALL_MEMORY.)  It was being freed when logged at end of game,
but not during save.  If dumplog message history and interface
message history get integrated, the existing message history
save/restore handling should become applicable instead.

7 years agovanquished monsters tidbit
PatR [Sat, 11 Mar 2017 00:35:49 +0000 (16:35 -0800)]
vanquished monsters tidbit

Use the same terminology ("creatures" rather than "monsters") for
the two "no <foo> {have been, were} vanquished" messages as for the
"disclose vanquished <foo>" prompt and its "M <foo> vanquished"
summary.

7 years agodumplog fixes: genocide list, survivor's tombstone
PatR [Mon, 6 Mar 2017 08:22:00 +0000 (00:22 -0800)]
dumplog fixes: genocide list, survivor's tombstone

The dumplog data was including a final tombstone unconditionally,
which looked awfully strange for characters who didn't die.  Make
it conditional, like actual end-of-game tombstone.  (One difference
though:  dumplog has a tombstone for hero who died from genocide,
end-of-game does not.  I think the latter should display one even
though no grave gets generated.)  [Potential for future enhancement:
add some alternate ascii art in place of tombstone for survivors.]

The list of genocided and/or extincted species was never shown
since caller passed 'a' to list_genocided() and it expected 'y'.
Also, once shown, the list entries were lacking indentation that
other sections of the dump generally have.

Both vanquished monsters and genocided/extinct monsters included
a blank line separator even when there was no feedback, making a
noticeable gap in the dumplog text.  Have them report "no creatures
vanquished" and "no species genocided", when applicable, so that
their separator lines always have something to separate.

When dumping, omit a couple of blank lines each from vanquished
creatures list, genocided species list, and tombstone so the
relevant sections of the dump are more compact.

7 years agomore DUMPLOG lint
PatR [Sun, 5 Mar 2017 03:45:15 +0000 (19:45 -0800)]
more DUMPLOG lint

The recently added dumplog code assumed that 'time_t' is 'long int'
or at least will give sensible results when formatted with '%ld'.
This is more of a Band-Aid(tm) than a proper fix.

7 years agodumplog's saved_plines[]
PatR [Mon, 27 Feb 2017 10:54:14 +0000 (02:54 -0800)]
dumplog's saved_plines[]

Use a simple ring buffer instead of a flat array that needed to have
49 pointers shifted down a slot every time a pline message was issued.

'saved_plines[saved_pline_index]' is the oldest message in the buffer
and the next slot to use when adding a new one.

7 years agomiscellaneous formatting
PatR [Sun, 26 Feb 2017 02:29:31 +0000 (18:29 -0800)]
miscellaneous formatting

7 years agodumplog lint and formatting
PatR [Sun, 26 Feb 2017 02:27:21 +0000 (18:27 -0800)]
dumplog lint and formatting

7 years agoAdd end-of-game dumplogs
Pasi Kallinen [Sun, 19 Feb 2017 13:30:46 +0000 (15:30 +0200)]
Add end-of-game dumplogs

This is based on the "new" dumplog patch for 3.6.0, by Maxime Bacoux.

Define DUMPLOG to enable. By default only enabled for the TTY linux.

7 years agofix #H5082 - growing into opposite sex monster
PatR [Fri, 17 Feb 2017 20:24:24 +0000 (12:24 -0800)]
fix #H5082 - growing into opposite sex monster

When a female dwarf grows (via level gain) into a dwarf lord, it
changes sex as well as base monster form because all dwarf lords
are male.  The earlier fix for #H4276 (16-Mar-2016, to give an
alternate grow-up message acknowledging the change) used the wrong
monster form (monst's old one instead of new one).

7 years agosome fixes36.1 fixes
PatR [Sun, 12 Feb 2017 08:24:29 +0000 (00:24 -0800)]
some fixes36.1 fixes

Fix a couple of typos, change one entry which referenced internal
coding issues to a more general description for end-users, and remove
a duplicate about color handling for status hilites and menucolors.

(I've only skimmed through the first section.  There are likely more
inconsistencies in the file.)

8 years agofix rumors.tru typo
PatR [Wed, 8 Feb 2017 21:23:00 +0000 (13:23 -0800)]
fix rumors.tru typo

"They say that an ooze will bite your boots and a rockmole will eat them."

'rockmole' should be two words.  Also, rock moles won't eat leather
boots, so change 'will eat' to 'might eat'.

8 years agofix g.cubes eating green slime
PatR [Wed, 8 Feb 2017 21:10:15 +0000 (13:10 -0800)]
fix g.cubes eating green slime

Back when dead green slime left a corpse, gelatinous cubes wouldn't
eat that, but they would eat globs of green slime without being
affected.  Add the missing glob check so g.cubes will engulf globs
of green slime instead of eating those.

8 years agoFix #H5056/bz1086: Bug in Achievement Recording
Pasi Kallinen [Mon, 6 Feb 2017 14:42:33 +0000 (16:42 +0200)]
Fix #H5056/bz1086: Bug in Achievement Recording

Bug report was:

> "Completed sokoban" achievement was logged when picking up
> a randomly generated bag of holding in the gnomish mines.

The picking-up code was missing checks for the branches, so
you could get the achievements outside the correct branches.

8 years agoAllow changing max name len via hints file
Pasi Kallinen [Sun, 5 Feb 2017 07:59:56 +0000 (09:59 +0200)]
Allow changing max name len via hints file

8 years agoFix complaint about uninitialized variable
Pasi Kallinen [Fri, 27 Jan 2017 05:35:46 +0000 (07:35 +0200)]
Fix complaint about uninitialized variable

8 years agoFix Valgrind complaint of uninitialized memory
Pasi Kallinen [Tue, 24 Jan 2017 18:56:15 +0000 (20:56 +0200)]
Fix Valgrind complaint of uninitialized memory

8 years agoFix use of freed memory when snuffing a potion of oil
Pasi Kallinen [Tue, 24 Jan 2017 18:19:37 +0000 (20:19 +0200)]
Fix use of freed memory when snuffing a potion of oil

8 years agoDocument paranoid_confirm:all
Pasi Kallinen [Mon, 23 Jan 2017 15:14:04 +0000 (17:14 +0200)]
Document paranoid_confirm:all

8 years agotribute typos
PatR [Fri, 20 Jan 2017 08:37:24 +0000 (00:37 -0800)]
tribute typos

8 years agoPrevent a segfault with leashed vanished monster
Pasi Kallinen [Thu, 19 Jan 2017 17:46:37 +0000 (19:46 +0200)]
Prevent a segfault with leashed vanished monster

It's apparently somehow possible to have a leash "attached" to
a monster not present on the current level. Complain instead of
segfaulting. (This is a post-3.6.0 bug)

8 years agoAccessibility: option to prevent status line updates
Pasi Kallinen [Tue, 10 Jan 2017 20:19:00 +0000 (22:19 +0200)]
Accessibility: option to prevent status line updates

Apparently some screen readers keep reading the status lines
at the bottom of the screen when parts of those change.
Add an option to prevent updates to those lines.

8 years agoShow all statusline info in #attributes
Pasi Kallinen [Tue, 10 Jan 2017 18:45:16 +0000 (20:45 +0200)]
Show all statusline info in #attributes

8 years agoFix mnearto return value confusion
Pasi Kallinen [Sat, 31 Dec 2016 22:21:53 +0000 (00:21 +0200)]
Fix mnearto return value confusion

This caused appeased shopkeepers returning to their shops being killed.

8 years agoSilence Yet Another Valgrind complaint
Pasi Kallinen [Thu, 29 Dec 2016 17:19:00 +0000 (19:19 +0200)]
Silence Yet Another Valgrind complaint

8 years agoSilence some Valgrind errors
Pasi Kallinen [Wed, 28 Dec 2016 20:52:02 +0000 (22:52 +0200)]
Silence some Valgrind errors

Need to have the allocated memory explicitly cleared for Valgrind
to know it.  We should probably start using calloc or something...

8 years agoModified player name list to include new team members.
karnov [Wed, 28 Dec 2016 04:08:05 +0000 (23:08 -0500)]
Modified player name list to include new team members.

8 years agoFix valgrind complaint in wizmode terrain
Pasi Kallinen [Fri, 23 Dec 2016 11:34:06 +0000 (13:34 +0200)]
Fix valgrind complaint in wizmode terrain

The code was writing characters into row[x-1] in the loop, but putting the
string terminator at row[x], leaving one character between uninitialized.

8 years agotty's compress_str(), core's dat/keyhelp
PatR [Tue, 20 Dec 2016 20:43:35 +0000 (12:43 -0800)]
tty's compress_str(), core's dat/keyhelp

Rewrite 3.6.1's compress_str() to avoid peeking past the end of the
input string.  This should eliminate the reported valgrind complaint.
The problem was noticed for post-3.6.0 code introduced [by me...] last
June, but it looks like it was present in the old code too.

Also, fix the wording in the paragraph about NUL in the keyhelp text.

tty_putstr() always passes non-message window text through compress_str(),
clobbering usage of two spaces to separate sentences.  putstr()'s caller
ought to have more control over that (possibly via its hardly ever used
'attribute' arg?).

8 years agoFix wishing for tins of specific type
Pasi Kallinen [Wed, 14 Dec 2016 16:27:57 +0000 (18:27 +0200)]
Fix wishing for tins of specific type

I believe this bug already existed, but was only exposed by
my wishing parser change post-3.6.0

8 years agoSet max players in sysconf, not in the shell script
Pasi Kallinen [Wed, 14 Dec 2016 14:45:06 +0000 (16:45 +0200)]
Set max players in sysconf, not in the shell script

8 years agoImpossible instead of segfault in cursed
Pasi Kallinen [Mon, 12 Dec 2016 15:42:02 +0000 (17:42 +0200)]
Impossible instead of segfault in cursed

While fuzz testing, I've seen segfault a handful of times in here,
coming from do_takeoff(). Looks like context.takeoff.what is stale,
having WORN_BLINDF, but we're not wearing the blindfold anymore.

Haven't been able to trace it down yet, so guard it with impossible.

8 years agofix #H4597 - sitting on level teleport trap
PatR [Fri, 9 Dec 2016 01:22:59 +0000 (17:22 -0800)]
fix #H4597 - sitting on level teleport trap

During #sit:  "You sit down.  You step on a level teleporter."
Switch to alternate phrasing for #sit.

Webs and polymorph traps had similar issues.

8 years agofix #H4706 - non-zero hit points for poison death
PatR [Fri, 9 Dec 2016 00:39:55 +0000 (16:39 -0800)]
fix #H4706 - non-zero hit points for poison death

For "the poison was deadly" against hero, hit points were set to -1
(which gets displayed as 0 when shown) but the status lines weren't
being updated, so stale positive HP value was visible during final
disclosure.

8 years agofix some recent lint
PatR [Fri, 9 Dec 2016 00:01:09 +0000 (16:01 -0800)]
fix some recent lint

8 years agoFix segfault when attacked while polyed into disenchanter
Pasi Kallinen [Wed, 7 Dec 2016 18:23:07 +0000 (20:23 +0200)]
Fix segfault when attacked while polyed into disenchanter

The pointer keeping tabs of monster's current weapon was
not cleared.

How to trigger: Get hit by a monster wielding a weapon,
teleport to another level, poly into disenchanter, get hit
by any monster with AD_PHYS attack and not wielding any weapon.

8 years agoFix some issues found with fuzz testing
Pasi Kallinen [Wed, 7 Dec 2016 15:53:03 +0000 (17:53 +0200)]
Fix some issues found with fuzz testing

Mostly to do with relocating monsters when the level is already full,
and unsticking a monster if it gets relocated.

8 years agoAdd missing symbols to Blank symset and Guidebook
Pasi Kallinen [Sun, 4 Dec 2016 19:38:59 +0000 (21:38 +0200)]
Add missing symbols to Blank symset and Guidebook

8 years agoFix segfault when looking at detected monster hiding under unknown armor
Pasi Kallinen [Fri, 2 Dec 2016 20:03:10 +0000 (22:03 +0200)]
Fix segfault when looking at detected monster hiding under unknown armor

This segfault happened when a detected monster such as a garter snake was
hiding under an unknown/unseen armor of a type that has no description
field (eg. a leather armor), and you farlooked at the monster.

At the same time, simplifies the code a tiny bit.

8 years agoMerge branch 'ais523-movespeed' into NetHack-3.6.0
Alex Smith [Fri, 2 Dec 2016 17:10:37 +0000 (17:10 +0000)]
Merge branch 'ais523-movespeed' into NetHack-3.6.0

8 years agoMake Ogresmasher grant 25 constitution
Pasi Kallinen [Mon, 14 Nov 2016 18:22:33 +0000 (20:22 +0200)]
Make Ogresmasher grant 25 constitution

8 years agoMake Dragonbane confer reflection when wielded
Pasi Kallinen [Mon, 14 Nov 2016 17:34:16 +0000 (19:34 +0200)]
Make Dragonbane confer reflection when wielded

8 years agoFix wrong material for novels
Pasi Kallinen [Sun, 13 Nov 2016 13:25:40 +0000 (15:25 +0200)]
Fix wrong material for novels

HI_PAPER is color, PAPER is material - the novel object definition
was using the wrong one. The caused the novel material to be gold.

8 years agoChangelog for movement speed changes
Alex Smith [Sat, 12 Nov 2016 01:28:47 +0000 (01:28 +0000)]
Changelog for movement speed changes

8 years agoMake free actions easier to predict, nonfree actions more predictable
Alex Smith [Sat, 12 Nov 2016 01:24:03 +0000 (01:24 +0000)]
Make free actions easier to predict, nonfree actions more predictable

This fixes melee kiting more comprehensively (it now doesn't work
against slower monsters either), and prevents you doing things like
opening up a gap when running from an imp (you couldn't do that in
3.4.3).

8 years agoSanity check for returning Mjollnir animation
Pasi Kallinen [Fri, 11 Nov 2016 16:18:55 +0000 (18:18 +0200)]
Sanity check for returning Mjollnir animation

8 years agoMake older corpses not taste okay
Pasi Kallinen [Thu, 27 Oct 2016 18:44:38 +0000 (21:44 +0300)]
Make older corpses not taste okay

Post-3.6.0 change made practically all corpses taste okay.
Change it so there's always a 10% chance for the corpse
to taste terrible, and increase the chance if the corpse
is slightly old.

8 years agoMerge branch 'ais523-elbereth' into NetHack-3.6.0
Alex Smith [Fri, 21 Oct 2016 22:30:09 +0000 (23:30 +0100)]
Merge branch 'ais523-elbereth' into NetHack-3.6.0

8 years agoAccept custom level annotations at the level teleport prompt
Pasi Kallinen [Tue, 18 Oct 2016 20:19:12 +0000 (23:19 +0300)]
Accept custom level annotations at the level teleport prompt

via UnNetHack, original implementation by aaxelb

8 years agoWith fragile wands, use snap instead of break
Pasi Kallinen [Tue, 18 Oct 2016 16:42:20 +0000 (19:42 +0300)]
With fragile wands, use snap instead of break

8 years agoChangelog for the Elbereth changes
Alex Smith [Tue, 18 Oct 2016 15:52:21 +0000 (16:52 +0100)]
Changelog for the Elbereth changes

8 years agoWielding Demonbane prevents demons summoning friends
Pasi Kallinen [Tue, 18 Oct 2016 15:07:53 +0000 (18:07 +0300)]
Wielding Demonbane prevents demons summoning friends

8 years agoUgh, why does NH3's commit process have to differ from NH4's?
Alex Smith [Mon, 17 Oct 2016 17:29:09 +0000 (18:29 +0100)]
Ugh, why does NH3's commit process have to differ from NH4's?

8 years agoChange the rules for Elbereth erosion
Alex Smith [Mon, 17 Oct 2016 17:26:44 +0000 (18:26 +0100)]
Change the rules for Elbereth erosion

If you attack a monster under Elbereth protection, and it wasn't
scuffed by the attack itself, then it'll be automatically removed
with an alignment penalty. It no longer fades from scaring monsters;
only from being abused to attack monsters while protected.

8 years agoDifferentiate between monster anger from attacks and from other causes
Alex Smith [Mon, 17 Oct 2016 17:15:57 +0000 (18:15 +0100)]
Differentiate between monster anger from attacks and from other causes

setmangry() and wakeup() were being used for multiple purposes. Add an
extra parameter to track which. This fixes several minor bugs (e.g.
whether monsters with no eyes were angered by (useless) gaze attacks
against them previously depended on the state of a UI option, and
the Minetown guards would be annoyed if you used a cursed scroll of
tame monster on a shopkeeper). It's also a prerequisite for the
Elbereth changes I'm working on.

8 years agoFix engrave.c; I used the wrong commit command
Alex Smith [Mon, 17 Oct 2016 16:34:08 +0000 (17:34 +0100)]
Fix engrave.c; I used the wrong commit command

8 years agoMake the Elbereth restrictions more flavour-consistent
Alex Smith [Mon, 17 Oct 2016 16:31:00 +0000 (17:31 +0100)]
Make the Elbereth restrictions more flavour-consistent

Elbereth now has to be on a square by itself; it's hard to justify
why text before it would prevent it working if text after it fails
to prevent it working.

8 years agoWielding Trollsbane prevents trolls from reviving
Pasi Kallinen [Sat, 15 Oct 2016 16:47:04 +0000 (19:47 +0300)]
Wielding Trollsbane prevents trolls from reviving

8 years agoPut throne room gold in the chest
Pasi Kallinen [Sat, 15 Oct 2016 07:26:20 +0000 (10:26 +0300)]
Put throne room gold in the chest

8 years agoX11: Handle define-lines in NetHack.ad
Pasi Kallinen [Fri, 14 Oct 2016 13:43:49 +0000 (16:43 +0300)]
X11: Handle define-lines in NetHack.ad

xrdb can load a X recource file with #define-lines, but NetHack
cannot. Substitute the defines in Makefile during compile.

Requires grep

8 years agomore lint and formatting
PatR [Thu, 13 Oct 2016 19:08:06 +0000 (12:08 -0700)]
more lint and formatting

Fix a C89/C90 complaint about a declaration following executable code.
The rest is formatting (of stuff I saw rather than systematic fixups).

8 years agoAllow toggling menu for any travel target list
Pasi Kallinen [Thu, 13 Oct 2016 17:16:21 +0000 (20:16 +0300)]
Allow toggling menu for any travel target list

8 years agoOccasionally remove maze dead ends, creating loops
Pasi Kallinen [Wed, 12 Oct 2016 15:39:24 +0000 (18:39 +0300)]
Occasionally remove maze dead ends, creating loops

8 years agolint fix
PatR [Tue, 11 Oct 2016 23:03:45 +0000 (16:03 -0700)]
lint fix

8 years agoShow correct keybind in ext cmd list
Pasi Kallinen [Tue, 11 Oct 2016 20:03:32 +0000 (23:03 +0300)]
Show correct keybind in ext cmd list

8 years agoFree allocated memory
Pasi Kallinen [Tue, 11 Oct 2016 15:34:41 +0000 (18:34 +0300)]
Free allocated memory

8 years agoFix valgrind complaint
Pasi Kallinen [Tue, 11 Oct 2016 14:59:35 +0000 (17:59 +0300)]
Fix valgrind complaint

8 years agoAdd wizmode command to recreate current level
Pasi Kallinen [Tue, 11 Oct 2016 14:26:32 +0000 (17:26 +0300)]
Add wizmode command to recreate current level

8 years agoSometimes create mazes with wide corridors
Pasi Kallinen [Tue, 11 Oct 2016 09:45:24 +0000 (12:45 +0300)]
Sometimes create mazes with wide corridors

...and/or thick walls.

8 years agoUse even more enums
Pasi Kallinen [Mon, 10 Oct 2016 18:55:23 +0000 (21:55 +0300)]
Use even more enums

8 years agoUse more enums
Pasi Kallinen [Mon, 10 Oct 2016 13:18:14 +0000 (16:18 +0300)]
Use more enums

We're already using enums, so convert some already existing defines.

8 years agoDon't clobber up and down ext cmd binds
Pasi Kallinen [Sun, 9 Oct 2016 15:10:28 +0000 (18:10 +0300)]
Don't clobber up and down ext cmd binds

8 years agoGive quest guardians some equipment
Pasi Kallinen [Sat, 8 Oct 2016 18:09:31 +0000 (21:09 +0300)]
Give quest guardians some equipment

8 years agoTypofix
Pasi Kallinen [Sat, 8 Oct 2016 11:11:20 +0000 (14:11 +0300)]
Typofix

8 years agoHero polyed into ghoul can eat only non-veggy corpses or eggs
Pasi Kallinen [Sat, 8 Oct 2016 10:57:39 +0000 (13:57 +0300)]
Hero polyed into ghoul can eat only non-veggy corpses or eggs

Change via dNetHack.  Restrict heroes polymorphed into ghouls
so they can only eat non-vegan corpses and eggs.  This matches
more closely what pet ghouls prefer.

8 years agoAdd couple hallu monsters
Pasi Kallinen [Sat, 8 Oct 2016 10:16:46 +0000 (13:16 +0300)]
Add couple hallu monsters

8 years agoMake kicking activate statue trap
Pasi Kallinen [Sat, 8 Oct 2016 09:47:27 +0000 (12:47 +0300)]
Make kicking activate statue trap

Change via dNetHack

8 years agoPet starting apport equals your current charisma
Pasi Kallinen [Sat, 8 Oct 2016 08:55:22 +0000 (11:55 +0300)]
Pet starting apport equals your current charisma

8 years agokeybinding lint and formatting
PatR [Fri, 7 Oct 2016 20:14:54 +0000 (13:14 -0700)]
keybinding lint and formatting

8 years agoUse symbolic name STONE for levl typ 0
Pasi Kallinen [Fri, 7 Oct 2016 12:43:27 +0000 (15:43 +0300)]
Use symbolic name STONE for levl typ 0

8 years agowin32: Save and load map colors from registry
Pasi Kallinen [Thu, 6 Oct 2016 17:55:30 +0000 (20:55 +0300)]
win32: Save and load map colors from registry

8 years agoFixes entry for cursor positioning via menu
Pasi Kallinen [Thu, 6 Oct 2016 10:38:09 +0000 (13:38 +0300)]
Fixes entry for cursor positioning via menu

8 years agoIron bars, water and lava are not interesting for travel
Pasi Kallinen [Thu, 6 Oct 2016 10:33:54 +0000 (13:33 +0300)]
Iron bars, water and lava are not interesting for travel

8 years agoAccessibility: Pick travel/cursor targets from a menu
Pasi Kallinen [Thu, 6 Oct 2016 10:03:56 +0000 (13:03 +0300)]
Accessibility: Pick travel/cursor targets from a menu

Adds two new configurable keys to the cursor targeting: 'A' (getpos.menu)
and 'a' (getpos.menu.cansee). First one shows a menu of all interesting
glyphs on the map, second one shows only those in sight.

Travel command also now obeys the "request menu" -prefix, showing
the menu with interesting targets in sight, and then traveling there.

Idea via the NetHack accessibility research by Alexei Pepers.

8 years agoShow menu control keys in help menu
Pasi Kallinen [Thu, 6 Oct 2016 05:53:38 +0000 (08:53 +0300)]
Show menu control keys in help menu

8 years agoAdd key rebinding
Pasi Kallinen [Wed, 5 Oct 2016 14:19:06 +0000 (17:19 +0300)]
Add key rebinding

This is a modified version of Jason Dorje Short's key rebinding
patch, and allows also binding special keys, such as the ones
used in getloc and getpos.

One of the ways to play NetHack on nethack.alt.org is via a HTML
terminal in browser. Unfortunately this means several ctrl-key
combinations cannot be entered, because the browser intercepts
those. Similar thing applies to some international keyboard layouts
on Windows. With this patch, the user can just rebind the command
to a key that works best for them.

I've tested this on Linux TTY, X11, and Windows TTY and GUI.

8 years agotribute: The Shepherd's Crown
PatR [Wed, 5 Oct 2016 00:08:16 +0000 (17:08 -0700)]
tribute: The Shepherd's Crown

8 years agoAdd configurable symbol entry for strange object
Pasi Kallinen [Mon, 3 Oct 2016 06:36:28 +0000 (09:36 +0300)]
Add configurable symbol entry for strange object

8 years agoFix Blank symset
Pasi Kallinen [Sat, 1 Oct 2016 21:03:33 +0000 (00:03 +0300)]
Fix Blank symset

8 years agoShow some timed properties in #timeout
Pasi Kallinen [Thu, 29 Sep 2016 15:48:52 +0000 (18:48 +0300)]
Show some timed properties in #timeout

Also simplify the levitation_dialogue a bit

8 years agoFix a bug binding menu command to a default object class character
Pasi Kallinen [Sun, 25 Sep 2016 15:37:24 +0000 (18:37 +0300)]
Fix a bug binding menu command to a default object class character

Due to a wrong looping variable, it was possible to bind a menu accelerator key
to a default object class.

8 years agoGive feedback just before timed levitation runs out
Pasi Kallinen [Sat, 24 Sep 2016 17:59:19 +0000 (20:59 +0300)]
Give feedback just before timed levitation runs out

8 years agoAdd missing dark room symbol to the Guidebook
Pasi Kallinen [Sat, 24 Sep 2016 16:51:43 +0000 (19:51 +0300)]
Add missing dark room symbol to the Guidebook

8 years agoAdd missing glyphs to Blank symset
Pasi Kallinen [Sat, 24 Sep 2016 16:04:38 +0000 (19:04 +0300)]
Add missing glyphs to Blank symset

8 years agoSeparate function to check for prefix command keys
Pasi Kallinen [Sat, 24 Sep 2016 14:18:07 +0000 (17:18 +0300)]
Separate function to check for prefix command keys