Commit Graph
100 Commits
Author SHA1 Message Date
Pasi Kallinen bf1c81c0b4 Accept custom level annotations at the level teleport prompt
via UnNetHack, original implementation by aaxelb
2016-10-18 23:19:16 +03:00
Pasi Kallinen 1506572ea0 With fragile wands, use snap instead of break 2016-10-18 19:42:20 +03:00
Pasi Kallinen f106b578a2 Wielding Demonbane prevents demons summoning friends 2016-10-18 18:07:53 +03:00
Pasi Kallinen 14bd550481 Wielding Trollsbane prevents trolls from reviving 2016-10-15 19:47:04 +03:00
Pasi Kallinen 35f46a0149 Put throne room gold in the chest 2016-10-15 10:26:20 +03:00
Pasi Kallinen 17e13f1e53 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
2016-10-14 16:50:25 +03:00
Pasi Kallinen abb4f0fab2 Allow toggling menu for any travel target list 2016-10-13 20:16:21 +03:00
Pasi Kallinen 4af4fc1143 Occasionally remove maze dead ends, creating loops 2016-10-12 18:39:24 +03:00
Pasi Kallinen 9858e46f64 Show correct keybind in ext cmd list 2016-10-11 23:03:36 +03:00
Pasi Kallinen 23157c4830 Free allocated memory 2016-10-11 18:34:41 +03:00
Pasi Kallinen 09c517e830 Fix valgrind complaint 2016-10-11 17:59:35 +03:00
Pasi Kallinen 56e51b9b6b Add wizmode command to recreate current level 2016-10-11 17:26:32 +03:00
Pasi Kallinen 63487e8dbd Sometimes create mazes with wide corridors
...and/or thick walls.
2016-10-11 15:06:39 +03:00
Pasi Kallinen ecf1500b6c Use even more enums 2016-10-10 21:55:23 +03:00
Pasi Kallinen 552647fb36 Use more enums
We're already using enums, so convert some already existing defines.
2016-10-10 16:18:20 +03:00
Pasi Kallinen 856252702f Don't clobber up and down ext cmd binds 2016-10-09 18:10:28 +03:00
Pasi Kallinen 710f5ed235 Give quest guardians some equipment 2016-10-08 21:17:58 +03:00
Pasi Kallinen 8d3cc7bc34 Typofix 2016-10-08 14:11:20 +03:00
Pasi Kallinen 5772af5bea 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.
2016-10-08 13:57:43 +03:00
Pasi Kallinen 96df8ce580 Add couple hallu monsters 2016-10-08 13:16:46 +03:00
Pasi Kallinen dbe1da0bec Make kicking activate statue trap
Change via dNetHack
2016-10-08 12:47:32 +03:00
Pasi Kallinen e8e7d969c3 Pet starting apport equals your current charisma 2016-10-08 11:55:28 +03:00
Pasi Kallinen 2c9aac4f13 Use symbolic name STONE for levl typ 0 2016-10-07 15:43:27 +03:00
Pasi Kallinen f95747e3ef win32: Save and load map colors from registry 2016-10-06 21:00:15 +03:00
Pasi Kallinen 580c18bb7e Fixes entry for cursor positioning via menu 2016-10-06 13:38:09 +03:00
Pasi Kallinen fb148c0d44 Iron bars, water and lava are not interesting for travel 2016-10-06 13:33:54 +03:00
Pasi Kallinen efd7526194 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.
2016-10-06 13:10:13 +03:00
Pasi Kallinen 53cd30c54c Show menu control keys in help menu 2016-10-06 08:53:38 +03:00
Pasi Kallinen 680c8a542c 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.
2016-10-05 20:04:56 +03:00
Pasi Kallinen f07c5570ca Add configurable symbol entry for strange object 2016-10-03 09:36:28 +03:00
Pasi Kallinen a562cc88a7 Fix Blank symset 2016-10-02 00:03:37 +03:00
Pasi Kallinen 60b4e5528e Show some timed properties in #timeout
Also simplify the levitation_dialogue a bit
2016-09-29 18:48:56 +03:00
Pasi Kallinen eac1d825f2 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.
2016-09-25 18:38:58 +03:00
Pasi Kallinen ea94100e9d Give feedback just before timed levitation runs out 2016-09-24 20:59:59 +03:00
Pasi Kallinen b30a4d86c4 Add missing dark room symbol to the Guidebook 2016-09-24 19:51:43 +03:00
Pasi Kallinen 539401ca88 Add missing glyphs to Blank symset 2016-09-24 19:04:38 +03:00
Pasi Kallinen 6c093348af Separate function to check for prefix command keys 2016-09-24 17:18:07 +03:00
Pasi Kallinen a6d2a48b25 Move getpos return values to header 2016-09-24 17:07:42 +03:00
Pasi Kallinen ce315311f5 Show keys in travel help wrapped in single quotes 2016-09-21 19:25:25 +03:00
Pasi Kallinen 18f6ab00e8 Make it easier to add entries to the help-menu 2016-09-21 18:46:54 +03:00
Pasi Kallinen e14120b282 Add completely blank symbol set
The blank symbol set can be used with screen reader software
to prevent it from reading the map symbols.

Prevent a segfault when looking at the map and many symbols
share the same character. Don't list too many symbols when
looking at those, if many share the same character.
2016-09-20 21:03:51 +03:00
Pasi Kallinen 28e36b3136 Add full compass coordinate mode for screen readers 2016-09-20 18:36:06 +03:00
Pasi Kallinen 723edd9af9 fixes entry 2016-09-19 15:47:12 +03:00
Pasi Kallinen 996dd7192d Horses have a tiny chance of being generated with a saddle
Saddles are rare. Make them less so by giving domestic saddleable
creatures 1% chance of being generated with a saddle.
2016-09-19 15:44:07 +03:00
Pasi Kallinen 1cec86763e Fixes entries 2016-09-16 22:05:32 +03:00
Pasi Kallinen b5a027c3fe Show mon vs mon attack messages only when target is visible
The visibility check in mattackm doesn't guarantee both the
attacker and defender can be seen by hero. Before giving
messages, check more strictly whether we could see the
message happening - either really seeing the monster or
sensing the monster by some other means, depending on
the message.  This should remove most of the "It" messages.

Also unhide mimics who get gazed by umber hulks.  We could
keep the mimic hidden and make the messages reflect the
hulk gazing at the thing the mimic is mimicing, but this
is much easier.  This fixes bz631 / H4500
2016-09-16 21:28:23 +03:00
Pasi Kallinen cd2703dc35 Differentiate the symset and roguesymset menu prompts 2016-09-16 15:50:42 +03:00
Pasi Kallinen e177af1e8b Update X11 style, define button rounding 2016-09-15 18:45:18 +03:00
Pasi Kallinen f0d6a9e02d Better default style for X11
This tries to mimic the terminal, and adds some defines making it easier
to configure.
2016-09-15 18:23:19 +03:00
Pasi Kallinen 9732d90bd4 Fix wrong parameter order 2016-09-06 17:35:59 +03:00
Pasi Kallinen 05ca204ae4 Expand blind/accessibility section in the Guidebook 2016-09-02 09:24:22 +03:00
Pasi Kallinen f82205c232 For travel target location, report if no known travel path
Yet another accessibility feature.  When asked for a location
to travel, and autodescribe is on, the location description
has "(no travel path)" appended, if there is no known path
to that location.
2016-08-31 22:08:15 +03:00
Pasi Kallinen 2710106661 Accessibility messages when run or travel is interrupted
These were inspired by the blind accessibility changes by
Alexei Pepers.
2016-08-29 20:47:40 +03:00
Pasi Kallinen 95447b1cf5 Also pass raw printed texts to the msghandler 2016-08-27 21:07:33 +03:00
Pasi Kallinen db83116130 Wait for the message handler process to finish 2016-08-27 20:13:17 +03:00
Pasi Kallinen 01fd5dcbb1 Fix Guidebook typos 2016-08-21 10:05:45 +03:00
Pasi Kallinen 20893bf95d Fix tribute typos
Ran the tribute file through a spellchecker, and double-checked with Pat as he
added most of the tributes.
2016-08-21 09:16:25 +03:00
Pasi Kallinen 2c32d69a23 Fixes entry 2016-06-27 12:03:34 +03:00
Pasi Kallinen 030e3c0dfd Use the graymapping stuff in the tile lib 2016-06-23 10:15:55 +03:00
Pasi Kallinen 5f35d49105 X11: Make statue tiles look like grayscale monsters 2016-06-23 09:44:07 +03:00
Pasi Kallinen f32a9778b2 Unify mon throwing missile collision check 2016-06-22 21:59:29 +03:00
Pasi Kallinen d015cbec15 Silence some compiler warnings 2016-06-21 14:14:54 +03:00
Pasi Kallinen 9ff069ed19 Add fixes entries for my commits 2016-06-21 13:18:05 +03:00
Pasi Kallinen d91d445fc6 Fix compiler warning 2016-06-20 13:21:22 +03:00
Pasi Kallinen 53e8869a16 Cannot tame carnivorous ape with bananas 2016-06-20 13:05:01 +03:00
Pasi Kallinen 16118580d5 Tame simians with bananas
Bananas are quite rare, and none of the simians are very strong,
so this won't be in any way overpowered - just a bit of flavor.

I think this was originally Derek's change from Sporkhack, but
similar ones have been done in the community multiple times
in the past.
2016-06-20 12:56:58 +03:00
Pasi Kallinen 3eb919d5ab Fix #H4411: Targeting detected monster through wall with fireball
Fireball and cone of cold could target detected monsters
through a wall when cast at skilled or higher.  This allowed
eg. targeting the Wiz from outside his tower.

Use walk_path to determine the actual location where the
spell will hit, so trying to cast through a wall will
make the explosion happen at the nearest empty space.
2016-06-20 09:11:56 +03:00
Pasi Kallinen 7c117908c5 Merge branch 'bobbydurrett-mailenvfix' into NetHack-3.6.0 2016-06-18 20:39:22 +03:00
Pasi Kallinen bb87745142 Merge branch 'mailenvfix' of https://github.com/bobbydurrett/NetHack into bobbydurrett-mailenvfix 2016-06-18 20:37:34 +03:00
Pasi Kallinen 8fdd2318c1 Change deserted temple ghost messages 2016-06-13 11:25:34 +03:00
Pasi Kallinen 942ee14d0f Move generic usernames to sysconf 2016-06-13 11:01:05 +03:00
Pasi Kallinen 3f5116fbd4 Add more hallu liquids 2016-06-13 10:26:13 +03:00
Pasi Kallinen 2ca57b9969 Change fountains to bright blue
It's "sparkling water" after all, and makes it more obvious they're
different from water.
2016-06-11 22:43:58 +03:00
Pasi Kallinen 01d580cc0a Make ray bounceback depend on the wall type. 2016-06-11 22:26:27 +03:00
Pasi Kallinen 69aca5ac96 Reduce #turn undead helpless duration 2016-06-11 21:33:12 +03:00
Pasi Kallinen 939e507345 When attacking a peaceful monster, make other peaceful monsters react. 2016-06-11 20:27:55 +03:00
Pasi Kallinen b75ce0b996 Prevent diagonal jump through open door 2016-06-11 19:27:50 +03:00
Pasi Kallinen 3502cfcc5a Hallucinatory liquids for water, lava, and acid 2016-06-07 20:57:50 +03:00
Pasi Kallinen a157c4873d Fix typo 2016-06-07 08:58:52 +03:00
Pasi Kallinen e276540230 Remove extraneous curses gfx define 2016-06-06 21:16:01 +03:00
Pasi Kallinen c36bc0043c Improve the Guidebook config file section 2016-06-04 12:43:09 +03:00
Pasi Kallinen ad9e3dcef9 Comment the limitation and reason 2016-06-04 08:14:41 +03:00
Pasi Kallinen b4c14f0c34 Fix #H4369: what-is reporting singular of null when given only spaces 2016-06-04 08:02:08 +03:00
Pasi Kallinen 5009a67264 Allow pets to use ranged attacks
This is the Pet ranged attack -patch by Darshan Shaligram,
with the spellcaster parts removed to keep it simpler.

Pets will now throw, spit and breathe at other monsters.
2016-06-04 01:06:07 +03:00
Pasi Kallinen 4d594f77c2 Split direction key showing into separate function 2016-06-03 21:08:43 +03:00
Pasi Kallinen cc839a56c6 Clear leashmon when leash is generated, even without obj init 2016-06-03 19:33:51 +03:00
Pasi Kallinen 984785b13c Give a hint that containers are looted instead of opened 2016-06-02 18:11:41 +03:00
Pasi Kallinen 8240db3445 Show in inventory which monster a leash is attached to 2016-06-02 16:35:21 +03:00
Pasi Kallinen a5d3d0fdb8 Make coyote names deterministic 2016-06-01 18:38:21 +03:00
Pasi Kallinen 5503c5e1e4 Disable object pile display when hallucinating
Hallucination shows object piles under boulders
2016-06-01 18:29:05 +03:00
Pasi Kallinen e138a4b069 Fix travel occasionally walking you into pools
This was a bug introduced post-3.6.0 in commit 9a2eb370e7
2016-05-31 20:41:39 +03:00
Pasi Kallinen 52efd541c0 Update fixes file 2016-05-29 22:20:52 +03:00
Pasi Kallinen b4cefa724d Add fixes entry for the "autoexplore" 2016-05-29 16:00:09 +03:00
Pasi Kallinen d45d475468 Gremlin wailing in agony should wake up nearby monsters
Also allow wizmode ^G create sleeping monsters
2016-05-29 09:35:55 +03:00
Pasi Kallinen bbe02dca2b Add rudimentary autoexplore to getloc
Pressing 'x' or 'X' will move the cursor to a possibly unexplored location.
2016-05-28 14:55:02 +03:00
Pasi Kallinen ac8bde0f70 Some code reorg for the getloc nearest/farthest locs 2016-05-28 14:27:07 +03:00
Pasi Kallinen 3bbf12d8b5 Minor code reorg in gather locs 2016-05-28 13:52:53 +03:00
Pasi Kallinen 4341be8c89 Merge branch 'tung-infinite-travel-fix' into NetHack-3.6.0 2016-05-28 09:51:14 +03:00
Pasi Kallinen 332780763e Merge branch 'infinite-travel-fix' of https://github.com/tung/NetHack into tung-infinite-travel-fix 2016-05-28 09:50:20 +03:00
Pasi Kallinen d51db5a992 Make getpos for doors also target drawbridges 2016-05-27 18:47:56 +03:00