Pasi Kallinen
4e067f5f2b
Show level annotation on level entry
...
Idea by Chris Smith, via Unnethack
2015-04-26 10:46:42 +03:00
Pasi Kallinen
5828d17eef
Show only the short automatic glyph description
...
When you turn on the automatic description of a glyph under cursor,
we want to show the short description of what glyph it actually is.
The long full description of all possibilities is far too long, so
may cause more-prompts, and is awkward for blind players.
2015-04-25 15:19:19 +03:00
Pasi Kallinen
5479a0b44c
Also allow q at the Itemized billing -prompt
...
Original change via AceHack by Alex Smith
2015-04-25 12:56:55 +03:00
Pasi Kallinen
672ef5223a
Fix adding doors to levels
2015-04-25 12:00:44 +03:00
Pasi Kallinen
8e6dde226f
Fix out-of-map condition in buzz
2015-04-25 06:24:43 +03:00
Pasi Kallinen
1369b17e3b
Stop travel or run when you get hungry
2015-04-24 16:24:50 +03:00
Pasi Kallinen
aea472c0c0
Give honorifics to vampires and elves
2015-04-23 21:46:10 +03:00
Pasi Kallinen
ea6157c475
Give gnomes occasionally a candle
...
...and if in unlit area, light the candle.
2015-04-23 21:19:25 +03:00
Pasi Kallinen
23ad7a8635
Hallucinated currencies
...
Originally via UnNetHack by Patric Mueller
2015-04-23 20:30:59 +03:00
Pasi Kallinen
fbf787c4fe
Indicate how far you fall down a hole or trapdoor
...
No extra message when falling down to the next level,
otherwise give "You fall down a [very] [deep] shaft!".
2015-04-23 19:27:12 +03:00
Pasi Kallinen
5a42ce4040
Unify boulder dropping on player
...
... and if you're swallowed, make the dropped boulder hit the monster.
(Changes from UnNetHack)
2015-04-22 20:22:55 +03:00
Pasi Kallinen
ed164ad324
Fix typo in func decl
2015-04-22 13:24:51 +03:00
Pasi Kallinen
65dcf2e2cc
Fold another instance of "You are rooted" into u_rooted
2015-04-22 11:54:27 +03:00
Pasi Kallinen
bd69677933
Unify stumbling on door mimic
2015-04-22 09:23:54 +03:00
Pasi Kallinen
75e7d837e6
Unify food-related conducts when eating a monster
2015-04-22 09:16:49 +03:00
Pasi Kallinen
6d4aa312e6
Unify hero free hand check and msg
2015-04-22 09:02:38 +03:00
Pasi Kallinen
171e8284cd
Unify monster gender setting
2015-04-22 08:58:04 +03:00
Pasi Kallinen
3bf2d17e2c
Unify iron ball unwielding
2015-04-22 08:53:13 +03:00
Pasi Kallinen
34d5a4c1f9
Unify file removed -trickery
2015-04-22 08:45:03 +03:00
Pasi Kallinen
2783157f95
Unify "You are rooted" message
2015-04-22 08:35:14 +03:00
Pasi Kallinen
c9bb75eaf3
Unify dropping boulder on monster
2015-04-21 22:40:27 +03:00
Pasi Kallinen
a155d1d474
Solidify the astral plane
...
...to prevent xorns appearing in the inaccessible map fringes
2015-04-21 11:22:34 +03:00
Pasi Kallinen
bac7654a75
Make sure can't chat out of the map
2015-04-20 18:09:59 +03:00
Pasi Kallinen
460538b618
Fix dark room glyphs when searching
...
Searching while blind showed room glyphs as lit even when
dark_room option was on.
2015-04-19 10:47:05 +03:00
Pasi Kallinen
323b7bba2c
Allow wishing for polearm or hammer
...
which gives a random weapon with the matching skill,
so a random polearm, or a war hammer, respectively.
2015-04-18 17:25:56 +03:00
Pasi Kallinen
8c41a962a7
Fix saving xlogfile realtime
2015-04-17 10:35:05 +03:00
Pasi Kallinen
38bdb175cc
Prevent divide by zero in newman
...
...which happened when your max power was 0
2015-04-15 21:05:46 +03:00
Pasi Kallinen
5a08671fc0
Prevent illegal positions for tmp_at
...
It seems like m_throw() can call tmp_at() with !isok coordinates,
so prevent those in both functions
2015-04-15 20:35:52 +03:00
Pasi Kallinen
97f6834730
Prevent infinite loop
...
...if the map is filled with monsters, and for some reason
the drowning just won't kill you.
Infinite looping cannot currently happen, because no-one who
can drown can keep surviving the drowning once their amulet
of life saving is used up.
2015-04-15 20:13:30 +03:00
Pasi Kallinen
35e0027328
Prevent out-of-bounds coords when closing a door
2015-04-15 19:43:53 +03:00
Pasi Kallinen
e77ea2ae61
Prevent segfault when looking around inside monster
...
A recent change by me introduced a segfault when
counting swallowed hero as a monster inventory item.
2015-04-15 17:06:44 +03:00
Pasi Kallinen
647a072b62
Move triplicate defines into single place
2015-04-14 20:33:30 +03:00
Pasi Kallinen
dc7d8eb244
YAFM for magic flute
2015-04-14 20:04:46 +03:00
Pasi Kallinen
cd3b0efe5d
Unify description of hero's visage into single function
2015-04-14 19:41:44 +03:00
Pasi Kallinen
9b2c298fec
Sinks may be teleported or polymorphed by rings
...
Original patches by Leon Arnott and me.
2015-04-14 19:21:37 +03:00
Pasi Kallinen
f1a5de16d9
Guard against merge segfaults
...
Trying to throw a quivered object resulted in a segfault, when
the code tried to merge the quivered object into itself.
2015-04-14 08:55:47 +03:00
Pasi Kallinen
31eed002c3
YAFM for dragon sitting on gold
2015-04-14 08:45:29 +03:00
Pasi Kallinen
879f6d55c2
Add Auto open doors -patch
2015-04-13 21:11:44 +03:00
Pasi Kallinen
1dd43be266
Inaccessible niches occasionally have iron bars
2015-04-13 19:55:10 +03:00
Pasi Kallinen
1c970b171e
Some monsters can eat through iron bars
...
Any monster with rusting or corrosion attack can eat through
the bars. This includes rust monsters, grey oozes, and black puddings.
Original patch by Malcolm Ryan
2015-04-13 19:41:51 +03:00
Pasi Kallinen
6209d458f9
A camera may contain a picture-painting demon
...
Original patch by Leon Arnott
2015-04-13 18:54:24 +03:00
Pasi Kallinen
eba5bf7d5e
Add litmus test
...
Original patch by Dylan O'Donnell
2015-04-13 18:30:53 +03:00
Pasi Kallinen
0b0c769a05
Use our dupstr instead of strdup
2015-04-13 10:07:12 +03:00
Pasi Kallinen
ee5002210f
Fix gitignored
2015-04-13 08:30:47 +03:00
Pasi Kallinen
eb77c57a6c
Allow disabling savefile UID checking in sysconf
2015-04-11 21:07:57 +03:00
Pasi Kallinen
4771ce5499
Fix comment typo
2015-04-11 20:45:37 +03:00
Pasi Kallinen
04dd85e138
Fix magic mapped dark room symbols
2015-04-10 22:43:13 +03:00
Pasi Kallinen
dc63af1396
Disclose extinct species alongside genocided ones
2015-04-10 22:00:33 +03:00
Pasi Kallinen
cc1b5de2a8
Fix warnings, unused and shadowed variables
2015-04-10 20:55:24 +03:00
Pasi Kallinen
ddd7c9b690
Cast time_t into unsigned long
2015-04-10 19:47:17 +03:00
Pasi Kallinen
c6e9838615
Update precompiled lex and yacc files
2015-04-10 19:45:04 +03:00
Pasi Kallinen
64405f6774
Fix attribution of sortloot patch
2015-04-10 19:20:31 +03:00
Pasi Kallinen
c266d05680
Minor special level and compiler tweakage
...
Fix allowed map characters.
Make some predefined MAPs blend in better with randomly
generated parts.
2015-04-10 16:47:32 +03:00
Pasi Kallinen
92a7962399
Add sortloot -patch
...
Adds the "sortloot" compound option, with possible values
of "none", "loot", or "full". It controls the sorting of
item pickup lists for inventory and looting.
2015-04-09 18:23:54 +03:00
Pasi Kallinen
5cf86e0409
Add 2 new Medusa variants
2015-04-08 20:38:32 +03:00
Pasi Kallinen
ea084680ac
Add 10 new bigroom variants
2015-04-08 18:31:32 +03:00
Pasi Kallinen
3979e012f7
Renumber other.txt tiles
2015-04-07 21:34:57 +03:00
Pasi Kallinen
c967dabc0b
Clive Crous' Dark Room patch
...
This patch adds a new glyph that represents dark parts of room,
splitting the dual functionality of the "unexplored/dark area" glyph.
2015-04-07 21:01:21 +03:00
Pasi Kallinen
1c2f2af357
Indicator glyph for good target positions
...
Add a new glyph, S_goodpos, to indicate valid locations
instead of reusing the camera flash beam glyph.
2015-04-07 18:18:54 +03:00
Pasi Kallinen
3ab441b1a1
Quick band-aid to prevent PRNG prediction
...
This is originally Derek's change from Spork, but sniping it
so we can mark this done for now, and can move on with the
nextversion.
Better solution is to use something like the ISAAC PRNG, which
cannot be predicted.
2015-04-06 09:30:39 +03:00
Pasi Kallinen
d8a65cd150
Add missing protos
2015-04-05 16:29:34 +03:00
Pasi Kallinen
2c8b088edf
Add S_poisoncloud to Guidebooks
2015-04-05 15:15:49 +03:00
Pasi Kallinen
2643a5c311
Show stinking cloud valid positions
2015-04-05 13:51:30 +03:00
Pasi Kallinen
056565fe75
Make all elementals breathless
...
It makes no sense that air, fire and water elementals
would choke in stinking cloud.
2015-04-05 12:47:27 +03:00
Pasi Kallinen
71401a7db8
Add poison cloud glyph, fumaroles to fire plane.
...
When a gas cloud that deals damage is created, it uses
a poison cloud glyph instead of the cloud glyph.
(A bright green '#', or a bright-green recolor of the
cloud tile)
The plane of fire has random "stinking clouds", or
fumaroles, centered on lava pools.
Also make poison cloud glyph override lava, pool and
moat glyphs.
2015-04-05 12:31:55 +03:00
Pasi Kallinen
68a39aeab4
Fix GCC warnings caused by new lev_comp
2015-04-03 17:40:54 +03:00
Pasi Kallinen
fdc7e980ea
Prevent segfaults, makemon can return null
2015-04-03 14:46:28 +03:00
Pasi Kallinen
30bce1ec6b
Suggest only accessible positions for polearms and jumping
2015-04-03 12:29:58 +03:00
Pasi Kallinen
0344771b12
Silence warnings
2015-04-03 08:33:14 +03:00
Pasi Kallinen
d0c3050d08
Update Guidebook with menucolor docs
2015-04-02 20:17:51 +03:00
Pasi Kallinen
c8e781c418
Add menucolors
...
-Add a boolean option menucolors to toggle menu color
-Add MENUCOLOR -config file option
TODO:
-Better support for win32
-Support more windowports
-Update Guidebook
-Allow changing menucolor lines in-game
2015-04-02 20:16:25 +03:00
Pasi Kallinen
9f66b234ed
Separate splev stack pops
2015-04-02 16:08:15 +03:00
Pasi Kallinen
f150adf0ce
Silence GCC warnings
2015-04-02 14:04:31 +03:00
Pasi Kallinen
884d9d4be5
Record in xlogfile if any bones were loaded
2015-04-02 13:06:45 +03:00
Pasi Kallinen
2a4affbf6f
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp
2015-04-01 23:03:04 +03:00
Pasi Kallinen
d883da2353
Add doors correctly
2015-04-01 23:01:25 +03:00
Pasi Kallinen
5bbde14a39
Generate oracle monsters after subroom
2015-04-01 19:02:52 +03:00
Pasi Kallinen
a883d3c78b
Generate minetown guards after subrooms
2015-04-01 19:00:56 +03:00
Pasi Kallinen
f3bbd833c0
Fix mazes not getting stocked
2015-04-01 18:30:35 +03:00
Pasi Kallinen
97fe3214c7
Remove unused code
2015-04-01 18:24:15 +03:00
Pasi Kallinen
7d94548951
Doors must be linked afterwards
2015-04-01 17:39:51 +03:00
Pasi Kallinen
fa4dda377d
Move isqrt into hacklib, other minor fixage
2015-04-01 16:38:56 +03:00
Pasi Kallinen
323b8b4038
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource into paxed-new_lev_comp
...
Conflicts:
src/trap.c
sys/winnt/Makefile.msc
2015-04-01 16:09:53 +03:00
Pasi Kallinen
3f885ef583
Remove EXPLORERS from winnt sysconf
...
Stupidly added this to the winnt sysconf, when it should've
been *nix only.
2015-04-01 08:29:12 +03:00
Pasi Kallinen
055cc1b4d5
Show legal jumping positions
2015-03-31 21:40:49 +03:00
Pasi Kallinen
322d004e12
Some spam for mail daemon to deliver
2015-03-31 18:32:23 +03:00
Pasi Kallinen
ca80675d59
Allow admin to disable explore mode
...
Some public servers want to disable explore mode, so
make it configurable in sysconf.
2015-03-31 18:14:16 +03:00
Pasi Kallinen
cbd1657976
Use a menu when user wants to query a glyph
...
When user presses '/', pop up a meny asking what the user wants to
look at:
What do you want to look at:
a - something on the map
b - something you're carrying
c - something else
This replaces the "Specify unknown object by cursor?" -prompt,
while keepng backwards compatibility, and also allows querying
about items in the inventory.
2015-03-31 12:59:48 +03:00
Pasi Kallinen
ef9a89c99d
Update fixes35.0
2015-03-31 12:41:35 +03:00
Pasi Kallinen
9f605ed2b3
Moving clouds on the plane of air
...
Reusing the plane of water air bubbles code
2015-03-31 11:46:46 +03:00
Pasi Kallinen
19aeb91dc4
Revert one GCC warning
2015-03-31 10:20:20 +03:00
Pasi Kallinen
aa7144daf6
Bear traps wound legs
2015-03-31 09:38:38 +03:00
Pasi Kallinen
f2d97b2d00
Silence GCC warnings
...
...when compiling with -Wall --pedantic
2015-03-31 08:36:36 +03:00
Pasi Kallinen
84a067a016
Options to create the character blind or nudist
...
For those pro players who really want to try their hand
at that zen samurai, without needing to reroll thousands
of times to start with blindfold. Nudist starts without
any armor, and keeps tabs whether you wore any during
the game, for even more bragging rights.
Also makes the Book of the Dead readable even while
blind, for obvious reasons.
2015-03-30 22:12:54 +03:00
Pasi Kallinen
e305b8a51e
New T-shirt texts, bogusmon, one YAFM
2015-03-30 17:09:12 +03:00
Pasi Kallinen
411ee58593
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"
2015-03-29 22:12:19 +03:00
Pasi Kallinen
6c58e7f03f
Kicking a grave may topple the gravestone
...
...with similar alignment hit as when digging up a grave.
2015-03-29 17:45:45 +03:00
Pasi Kallinen
1e49567937
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.
2015-03-29 15:51:11 +03:00
Pasi Kallinen
de2364da94
Save playmode in xlogfile
2015-03-29 14:56:23 +03:00
Pasi Kallinen
4cd14a7a2a
It's Wonka Bar, not just Wonka
2015-03-28 20:39:40 +02:00