]> granicus.if.org Git - nethack/log
nethack
10 years agoFix typo in func decl
Pasi Kallinen [Wed, 22 Apr 2015 10:24:51 +0000 (13:24 +0300)]
Fix typo in func decl

10 years agoFold another instance of "You are rooted" into u_rooted
Pasi Kallinen [Wed, 22 Apr 2015 08:54:27 +0000 (11:54 +0300)]
Fold another instance of "You are rooted" into u_rooted

10 years agoUnify stumbling on door mimic
Pasi Kallinen [Wed, 22 Apr 2015 06:23:54 +0000 (09:23 +0300)]
Unify stumbling on door mimic

10 years agoUnify food-related conducts when eating a monster
Pasi Kallinen [Wed, 22 Apr 2015 06:16:49 +0000 (09:16 +0300)]
Unify food-related conducts when eating a monster

10 years agoUnify hero free hand check and msg
Pasi Kallinen [Wed, 22 Apr 2015 06:02:38 +0000 (09:02 +0300)]
Unify hero free hand check and msg

10 years agoUnify monster gender setting
Pasi Kallinen [Wed, 22 Apr 2015 05:58:04 +0000 (08:58 +0300)]
Unify monster gender setting

10 years agoUnify iron ball unwielding
Pasi Kallinen [Wed, 22 Apr 2015 05:53:13 +0000 (08:53 +0300)]
Unify iron ball unwielding

10 years agoUnify file removed -trickery
Pasi Kallinen [Wed, 22 Apr 2015 05:45:03 +0000 (08:45 +0300)]
Unify file removed -trickery

10 years agoUnify "You are rooted" message
Pasi Kallinen [Wed, 22 Apr 2015 05:35:14 +0000 (08:35 +0300)]
Unify "You are rooted" message

10 years agoMake coalescence message be smart about status
Derek S. Ray [Wed, 22 Apr 2015 01:47:33 +0000 (21:47 -0400)]
Make coalescence message be smart about status

- honor blindness and hallucination
- honor ability to see one of the mergees
- provide audible feedback if appropriate
- merging inside pack gets special-cased so player knows something
  different/unusual is happening

10 years agoUnify dropping boulder on monster
Pasi Kallinen [Tue, 21 Apr 2015 19:40:27 +0000 (22:40 +0300)]
Unify dropping boulder on monster

10 years agoSolidify the astral plane
Pasi Kallinen [Tue, 21 Apr 2015 08:22:30 +0000 (11:22 +0300)]
Solidify the astral plane

...to prevent xorns appearing in the inaccessible map fringes

10 years agomongone vs vault guard
PatR [Tue, 21 Apr 2015 02:45:13 +0000 (19:45 -0700)]
mongone vs vault guard

mongone() would send away a vault guard, whether alive or already
dead and parked at <0,0>, losing the information needed to remove
the temporary vault corridor once whatever obstacle (ie, the hero)
that's keeping it in place has been cleared.  Have mongone() call
grddead() like mondead() does, so that a guard will just be moved
to <0,0> with 0 HP and kept there rather than being purged during
the next dead monster removal.

Move polearm context reset to m_detach() [and, unfortunately,
duplicated in grddead()] rather than in having it in dmonsfree()
since execution of the latter is deferred.  I'm not sure offhand
whether a fast hero could get a second move before end-of-turn
purging of dead monsters.

10 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Tue, 21 Apr 2015 00:49:51 +0000 (20:49 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

10 years agoDeveloper.txt: add notes about branches
keni [Tue, 21 Apr 2015 00:49:18 +0000 (20:49 -0400)]
Developer.txt: add notes about branches

10 years agoMake sure can't chat out of the map
Pasi Kallinen [Mon, 20 Apr 2015 15:09:59 +0000 (18:09 +0300)]
Make sure can't chat out of the map

10 years agotribute in-game bonus
PatR [Mon, 20 Apr 2015 07:05:00 +0000 (00:05 -0700)]
tribute in-game bonus

Give 20 experience points the first time the hero reads a passage
from a tribute novel.  It's enough to go from level 1 to 2 or from
2 to 3.  By the time a book store is found, that's too trivial for
most to care about, but it's potentially useful to a pacifist.

10 years agoinvalid escape
nhmall [Sun, 19 Apr 2015 22:56:49 +0000 (18:56 -0400)]
invalid escape
 Changes to be committed:
modified:   win/share/tiletext.c

10 years agoUpdate the tile RGB values and mappings
nhmall [Sun, 19 Apr 2015 21:17:03 +0000 (17:17 -0400)]
Update the tile RGB values and mappings
 Changes to be committed:
modified:   win/share/monsters.txt
modified:   win/share/objects.txt
modified:   win/share/other.txt
modified:   win/share/tile2bmp.c
modified:   win/share/tiletext.c

10 years agoextend the tty statue patch to tiles
nhmall [Sun, 19 Apr 2015 17:31:59 +0000 (13:31 -0400)]
extend the tty statue patch to tiles
 Changes to be committed:
modified:   doc/fixes35.0
modified:   win/share/gifread.c
modified:   win/share/monsters.txt
modified:   win/share/objects.txt
modified:   win/share/other.txt
modified:   win/share/tile2bmp.c
modified:   win/share/tilemap.c

The tty code already had the statue patch included, where
statues are represented by stone versions similar in
appearance to their monster likeness.

This extends it to tiles.

A new pass through the monsters.txt file is done
in tile2bmp to include new modified tiles to the output
file that are gray-scaled versions for mapping to the
NetHack statue glyphs.

10 years agoFix dark room glyphs when searching
Pasi Kallinen [Sun, 19 Apr 2015 07:46:21 +0000 (10:46 +0300)]
Fix dark room glyphs when searching

Searching while blind showed room glyphs as lit even when
dark_room option was on.

10 years agofix "bad fruit #0"
PatR [Sun, 19 Apr 2015 03:18:43 +0000 (20:18 -0700)]
fix "bad fruit #0"

When minimal_xname() set up a dummy object containing as few details
as possible, it wasn't setting up the fruit id field, so xname()
couldn't figure out what type of fruit it had and issued a warning.

I haven't managed a test case that uses minimal_xname so testing of
the fix is less than comprehensive.  [Pasi got it through dopay, but
that only resorts to minimal_xname if the formatted name is really
long and would otherwise cause the shopkeeper's prompt to overflow.
Long fruit name combined with long individual object name wasn't
long enough to trigger that.  Maybe uncursed, greased, rustproof
the like, or possibly just a longer shopkeeper name than I had?]

10 years agorevisit the forcefight crash fix
PatR [Sun, 19 Apr 2015 03:02:40 +0000 (20:02 -0700)]
revisit the forcefight crash fix

The previous fix prevents the crash from 'the()' when NO_GLYPH was
used as an index into the defsyms array, but it resulted in giving
feedback of "you attack thin air" regardless of what was at the
target location, reverting to the situation that the buggy code was
attempting to address in the first place.  Handle that differently
by removing the unseen monster glyph sooner.  Also, the underwater
handling wasn't working as intended.

I blamed Derek's pudding farming patch for introducing the problem,
but all that did was replace the offending line(s) with different
indentation.  The older post-3.4.3 patch which produced the problem
was mine.  Sorry, Derek.

10 years agorevert unneeded lookat() change
PatR [Sun, 19 Apr 2015 01:50:38 +0000 (18:50 -0700)]
revert unneeded lookat() change

The enclosing switch statement is only reached when `glyph_is_cmap' is
known to be true, so remove the redundant extra test.

10 years agosuggested booktribute mods
nhmall [Sat, 18 Apr 2015 21:45:27 +0000 (17:45 -0400)]
suggested booktribute mods
 Changes to be committed:
modified:   include/extern.h
modified:   src/files.c
modified:   src/objects.c
modified:   src/spell.c

- charge a little more.
- no free read in the bookstore.

10 years agoprevent a couple of reported array index segfaults
nhmall [Sat, 18 Apr 2015 19:29:37 +0000 (15:29 -0400)]
prevent a couple of reported array index segfaults
 Changes to be committed:
modified:   src/hack.c
modified:   src/pager.c

Don't use glyph_to_cmap as an array index into
the defsyms[] array unless it really is a cmap.

Recent situation: glyph_to_cmap will return
NO_GLYPH for the unknown monster glyph 'I', which
is not a valid index for the defsyms[] array.

10 years agoAllow wishing for polearm or hammer
Pasi Kallinen [Sat, 18 Apr 2015 14:25:52 +0000 (17:25 +0300)]
Allow wishing for polearm or hammer

which gives a random weapon with the matching skill,
so a random polearm, or a war hammer, respectively.

10 years agoFix saving xlogfile realtime
Pasi Kallinen [Fri, 17 Apr 2015 07:35:05 +0000 (10:35 +0300)]
Fix saving xlogfile realtime

10 years agoadd an initializer
nhmall [Fri, 17 Apr 2015 04:46:54 +0000 (00:46 -0400)]
add an initializer

10 years agoprotect against bad dates
nhmall [Fri, 17 Apr 2015 04:31:22 +0000 (00:31 -0400)]
protect against bad dates

A recent fault on mingw32 revealed that faulty
code which passes a bad or out-of-range date
value could have game-fatal consequences.
Add some protection.

10 years agodate verification
nhmall [Fri, 17 Apr 2015 04:12:53 +0000 (00:12 -0400)]
date verification

10 years agoPrevent divide by zero in newman
Pasi Kallinen [Wed, 15 Apr 2015 18:05:42 +0000 (21:05 +0300)]
Prevent divide by zero in newman

...which happened when your max power was 0

10 years agoPrevent illegal positions for tmp_at
Pasi Kallinen [Wed, 15 Apr 2015 17:35:48 +0000 (20:35 +0300)]
Prevent illegal positions for tmp_at

It seems like m_throw() can call tmp_at() with !isok coordinates,
so prevent those in both functions

10 years agoPrevent infinite loop
Pasi Kallinen [Wed, 15 Apr 2015 17:06:38 +0000 (20:06 +0300)]
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.

10 years agoPrevent out-of-bounds coords when closing a door
Pasi Kallinen [Wed, 15 Apr 2015 16:43:32 +0000 (19:43 +0300)]
Prevent out-of-bounds coords when closing a door

10 years agoPrevent segfault when looking around inside monster
Pasi Kallinen [Wed, 15 Apr 2015 14:06:39 +0000 (17:06 +0300)]
Prevent segfault when looking around inside monster

A recent change by me introduced a segfault when
counting swallowed hero as a monster inventory item.

10 years agoMove triplicate defines into single place
Pasi Kallinen [Tue, 14 Apr 2015 17:33:30 +0000 (20:33 +0300)]
Move triplicate defines into single place

10 years agoYAFM for magic flute
Pasi Kallinen [Tue, 14 Apr 2015 17:04:46 +0000 (20:04 +0300)]
YAFM for magic flute

10 years agoUnify description of hero's visage into single function
Pasi Kallinen [Tue, 14 Apr 2015 16:41:44 +0000 (19:41 +0300)]
Unify description of hero's visage into single function

10 years agoSinks may be teleported or polymorphed by rings
Pasi Kallinen [Tue, 14 Apr 2015 16:21:32 +0000 (19:21 +0300)]
Sinks may be teleported or polymorphed by rings

Original patches by Leon Arnott and me.

10 years agoGuard against merge segfaults
Pasi Kallinen [Tue, 14 Apr 2015 05:55:43 +0000 (08:55 +0300)]
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.

10 years agoYAFM for dragon sitting on gold
Pasi Kallinen [Tue, 14 Apr 2015 05:45:29 +0000 (08:45 +0300)]
YAFM for dragon sitting on gold

10 years agolint bits
PatR [Tue, 14 Apr 2015 00:50:17 +0000 (17:50 -0700)]
lint bits

10 years agoregex lint
PatR [Tue, 14 Apr 2015 00:21:59 +0000 (17:21 -0700)]
regex lint

For the POSIX regexp interface, move local declaration to beginning
of block to avoid requiring C99.  Also switch to alloc() from bare
malloc() so that MONITOR_HEAP won't log a free which doesn't match
up to any allocation.  This results in a change in behavior:  if
the allocation fails, nethack will panic rather than report an
option parsing error.  In practice there will be no difference
because nethack is not going to run out of dynamic memory during
initial options processing.

10 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Mon, 13 Apr 2015 23:33:26 +0000 (19:33 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

10 years agonhsub: handle git add/commit options that take an argument
keni [Mon, 13 Apr 2015 23:32:51 +0000 (19:32 -0400)]
nhsub: handle git add/commit options that take an argument

10 years agoAdd Auto open doors -patch
Pasi Kallinen [Mon, 13 Apr 2015 17:49:38 +0000 (20:49 +0300)]
Add Auto open doors -patch

10 years agoInaccessible niches occasionally have iron bars
Pasi Kallinen [Mon, 13 Apr 2015 16:50:54 +0000 (19:50 +0300)]
Inaccessible niches occasionally have iron bars

10 years agoSome monsters can eat through iron bars
Pasi Kallinen [Mon, 13 Apr 2015 16:36:49 +0000 (19:36 +0300)]
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

10 years agoA camera may contain a picture-painting demon
Pasi Kallinen [Mon, 13 Apr 2015 15:54:20 +0000 (18:54 +0300)]
A camera may contain a picture-painting demon

Original patch by Leon Arnott

10 years agoAdd litmus test
Pasi Kallinen [Mon, 13 Apr 2015 15:30:49 +0000 (18:30 +0300)]
Add litmus test

Original patch by Dylan O'Donnell

10 years agoUse our dupstr instead of strdup
Pasi Kallinen [Mon, 13 Apr 2015 07:07:12 +0000 (10:07 +0300)]
Use our dupstr instead of strdup

10 years agoFix gitignored
Pasi Kallinen [Mon, 13 Apr 2015 05:30:47 +0000 (08:30 +0300)]
Fix gitignored

10 years agomore regex integration bits
nhmall [Sun, 12 Apr 2015 17:27:36 +0000 (13:27 -0400)]
more regex integration bits

10 years agoMakefile bit following merge
nhmall [Sun, 12 Apr 2015 16:16:59 +0000 (12:16 -0400)]
Makefile bit following merge

10 years agoAdd some new files to top level Files
nhmall [Fri, 10 Apr 2015 23:24:06 +0000 (19:24 -0400)]
Add some new files to top level Files

10 years agoadd cppregex.cpp to NetHackW so it'll link properly
Derek S. Ray [Fri, 10 Apr 2015 22:33:12 +0000 (18:33 -0400)]
add cppregex.cpp to NetHackW so it'll link properly

10 years agoAdd POSIX implementation of regex.
Sean Hunt [Thu, 9 Apr 2015 14:38:15 +0000 (10:38 -0400)]
Add POSIX implementation of regex.

This also includes documentation of the regex engine in posixregex.c,
because I couldn't think of anywhere better to put it.

10 years agoCatch regex matching errors to avoid crashing.
Sean Hunt [Fri, 3 Apr 2015 20:25:17 +0000 (16:25 -0400)]
Catch regex matching errors to avoid crashing.

10 years agoUse extern.h for regexes.
Sean Hunt [Fri, 3 Apr 2015 19:08:29 +0000 (15:08 -0400)]
Use extern.h for regexes.

I was planning to do this anyway, but it created an include loop that
was breaking it on Windows.

10 years agoImplement a new system-based matching harness.
Sean Hunt [Fri, 3 Apr 2015 18:07:53 +0000 (14:07 -0400)]
Implement a new system-based matching harness.

The intent is to look for platform-specific facilities for regex
matching, to provide portable MENUCOLORS configuration files.

This is a prototype implementation being committed to see if Windows can
use the POSIX regex implementation provided with the C++11 standard
library. If this works, I will write a harness for POSIX regexes and for
pmatch(), and those can be linked in by platforms as appropriate.

pmatch() should be used only as a very last resort, because it breaks
compatibility between platforms.

10 years agoDocument wallification changes.
Sean Hunt [Fri, 10 Apr 2015 23:11:47 +0000 (19:11 -0400)]
Document wallification changes.

10 years agotribute post-merge smoothing
nhmall [Sun, 12 Apr 2015 14:31:26 +0000 (10:31 -0400)]
tribute post-merge smoothing
 Changes to be committed:
modified:   src/mon.c
modified:   win/share/objects.txt

10 years agoMerge branch 'master' into nhmall-booktribute
nhmall [Sun, 12 Apr 2015 14:02:17 +0000 (10:02 -0400)]
Merge branch 'master' into nhmall-booktribute

Conflicts:
doc/fixes35.0
include/extern.h
src/mkobj.c
src/mon.c
src/objnam.c
win/share/objects.txt

10 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Sun, 12 Apr 2015 12:58:16 +0000 (08:58 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

10 years agoMore Guidebook
nhmall [Sun, 12 Apr 2015 12:57:41 +0000 (08:57 -0400)]
More Guidebook
 Changes to be committed:
modified:   doc/Guidebook.mn
modified:   doc/Guidebook.tex

10 years agorevised menu searching
PatR [Sun, 12 Apr 2015 08:48:01 +0000 (01:48 -0700)]
revised menu searching

Convert search in tty menus from pmatch to case-insensitive pmatchi;
convert search in X11 menus from substring strstri to wildcard pmatchi.

tty bug:  if the menu is full screen, the search prompt and subsequent
user input clobbers the menu header.

10 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
nhmall [Sun, 12 Apr 2015 04:34:06 +0000 (00:34 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

10 years agowindows team update
nhmall [Sun, 12 Apr 2015 04:33:30 +0000 (00:33 -0400)]
windows team update

10 years agonew pmatch variations
PatR [Sun, 12 Apr 2015 02:39:59 +0000 (19:39 -0700)]
new pmatch variations

Add pmatchi() to perform case-insensitive wildcard matching, and
pmatchz() which is also case-insensitive and ignores spaces, dashes,
and underscores like the type of matching done during wish parsing.
At the moment, neither is being used, although DEBUGFILES handling
uses pmatch and needs to be taught to distinguish between case-
sensitive and case-insensitive filenames so will eventually use
pmatchi when appropriate.

10 years agocolor of mithril armor
PatR [Sun, 12 Apr 2015 01:51:03 +0000 (18:51 -0700)]
color of mithril armor

From a bug report two years ago, mithril armor should have color
HI_SILVER rather than HI_METAL.  Tolkien describes mithril as "like
silver which never tarnishes".  (The bug report had a more precise
quote, and a github URL for a patch which I've ignored.)  The Amulet
of Yendor has material set to MITHRIL but I haven't changed its color.
All amulets are HI_METAL, so if any modification is needed for it,
change the material rather than the color.

Mithril-coats are displayed as cyan both before and after this patch,
so it's hard to tell whether any change actually happened.

10 years agoFiles correction
nhmall [Sun, 12 Apr 2015 01:07:02 +0000 (21:07 -0400)]
Files correction

10 years agotext file error corrections
nhmall [Sun, 12 Apr 2015 01:02:11 +0000 (21:02 -0400)]
text file error corrections
 Changes to be committed:
modified:   DEVEL/code_features.txt
modified:   Files
modified:   dat/history

On 4/11/2015 6:45 PM, Dion Nicolaas wrote:
> Errors in text files:
> - DEVEL/code_features.txt, line 10: 'alterting' should be 'alerting'

fixed

> - dat/history: Is it intentional that I'm no longer mentioned as
> maintaining the Windows port? I am for 3.4, but not for 3.6.

fixed

> - Files: The Files file is incomplete. Notably, the new files in dat/
> are missing (bogusmon.txt, engrave.txt, epitaph.txt),

fixed

> the DEVEL directory, doc/Guidebook.*

> - Some files in Files have the wrong case: NetHack.sln,
> NetHackW.vcxproj. I know it doesn't matter on windows but it looks wrong.

fixed

10 years agoAllow disabling savefile UID checking in sysconf
Pasi Kallinen [Sat, 11 Apr 2015 18:07:57 +0000 (21:07 +0300)]
Allow disabling savefile UID checking in sysconf

10 years agoFix comment typo
Pasi Kallinen [Sat, 11 Apr 2015 17:45:37 +0000 (20:45 +0300)]
Fix comment typo

10 years agoobj_nexto_xy lint
PatR [Sat, 11 Apr 2015 01:31:11 +0000 (18:31 -0700)]
obj_nexto_xy lint

10 years agorestore accidentally consumed tmp_config
Derek S. Ray [Fri, 10 Apr 2015 22:18:05 +0000 (18:18 -0400)]
restore accidentally consumed tmp_config

10 years agoturn off annoying warnings in Visual Studio
Derek S. Ray [Fri, 10 Apr 2015 21:14:41 +0000 (17:14 -0400)]
turn off annoying warnings in Visual Studio

10 years agolock MENU_COLOR_REGEX away since it isn't Win32 yet
Derek S. Ray [Fri, 10 Apr 2015 21:08:31 +0000 (17:08 -0400)]
lock MENU_COLOR_REGEX away since it isn't Win32 yet

10 years agoMerge branch 'master' into derek-farming
Derek S. Ray [Fri, 10 Apr 2015 20:56:30 +0000 (16:56 -0400)]
Merge branch 'master' into derek-farming

Reverse merge before final reintegration.

* master: (40 commits)
  Fix magic mapped dark room symbols
  Disclose extinct species alongside genocided ones
  ...

Conflicts:
doc/fixes35.0
src/do.c
src/files.c
src/invent.c
src/objnam.c
sys/share/pcmain.c

10 years agoFix magic mapped dark room symbols
Pasi Kallinen [Fri, 10 Apr 2015 19:43:13 +0000 (22:43 +0300)]
Fix magic mapped dark room symbols

10 years agoDisclose extinct species alongside genocided ones
Pasi Kallinen [Fri, 10 Apr 2015 18:59:45 +0000 (21:59 +0300)]
Disclose extinct species alongside genocided ones

10 years agoFix warnings, unused and shadowed variables
Pasi Kallinen [Fri, 10 Apr 2015 17:55:24 +0000 (20:55 +0300)]
Fix warnings, unused and shadowed variables

10 years agoCast time_t into unsigned long
Pasi Kallinen [Fri, 10 Apr 2015 16:47:17 +0000 (19:47 +0300)]
Cast time_t into unsigned long

10 years agoUpdate precompiled lex and yacc files
Pasi Kallinen [Fri, 10 Apr 2015 16:45:04 +0000 (19:45 +0300)]
Update precompiled lex and yacc files

10 years agoFix attribution of sortloot patch
Pasi Kallinen [Fri, 10 Apr 2015 16:20:31 +0000 (19:20 +0300)]
Fix attribution of sortloot patch

10 years agoMerge branch 'master' into nhmall-booktribute
nhmall [Fri, 10 Apr 2015 16:15:14 +0000 (12:15 -0400)]
Merge branch 'master' into nhmall-booktribute

10 years agoMinor special level and compiler tweakage
Pasi Kallinen [Fri, 10 Apr 2015 13:47:29 +0000 (16:47 +0300)]
Minor special level and compiler tweakage

Fix allowed map characters.
Make some predefined MAPs blend in better with randomly
generated parts.

10 years agoFix Sanctum phasing bug.
Sean Hunt [Fri, 10 Apr 2015 13:09:02 +0000 (09:09 -0400)]
Fix Sanctum phasing bug.

10 years agoRestore the insect legs on Baalzebub's level.
Sean Hunt [Thu, 9 Apr 2015 17:50:11 +0000 (13:50 -0400)]
Restore the insect legs on Baalzebub's level.

10 years agorevisit variable arguments in new lev_comp
PatR [Fri, 10 Apr 2015 08:39:55 +0000 (01:39 -0700)]
revisit variable arguments in new lev_comp

The previous USE_OLDARGS worked with gcc on Intel, but was inherently
unsafe.  This method is completely safe, just obnoxiously intrusive.
It you disliked debugpline*(), you're bound to hate this....

10 years agoMake WALLIFIED_MAZE into a level flag.
Sean Hunt [Thu, 9 Apr 2015 17:26:43 +0000 (13:26 -0400)]
Make WALLIFIED_MAZE into a level flag.

It should now be randomly disabled for a 3rd of Gehennom, to make things
a tad more interesting there. It's also disabled in Baalzebub's lair,
to make things a little more interesting.

Still don't know why the beetle is disappearing.

10 years agoAdd sortloot -patch
Pasi Kallinen [Thu, 9 Apr 2015 14:53:40 +0000 (17:53 +0300)]
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.

10 years agosupport pre-ansi varargs in new lev_comp
PatR [Thu, 9 Apr 2015 10:09:00 +0000 (03:09 -0700)]
support pre-ansi varargs in new lev_comp

Remove the requirement for <stdarg.h> that was introduced to lev_comp.
USE_STDARG still works.  USE_OLDARGS required hackery but has been
tested and actually works, although I wouldn't trust it on platforms
where 'long' and 'char *' aren't the same size.  USE_VARARGS didn't
require any hackery--aside from the conversion to core's pline code--
but has not been tested:  <varargs.h> supplied with OSX won't compile,
with an #error directive that basically says "switch to <stdarg.h>".

I changed several printf formats of %i and %li to %d and %ld because
I'm not sure how widespread the 'i' variant was back in days of yore.
[TODO:  avoid use of snprintf since pre-ANSI systems won't have it.]

10 years agoAdd 2 new Medusa variants
Pasi Kallinen [Wed, 8 Apr 2015 17:38:32 +0000 (20:38 +0300)]
Add 2 new Medusa variants

10 years agoAdd 10 new bigroom variants
Pasi Kallinen [Wed, 8 Apr 2015 15:31:32 +0000 (18:31 +0300)]
Add 10 new bigroom variants

10 years agoMerge branch 'master' of https://rodney.nethack.org:20040/git/NHsource
keni [Wed, 8 Apr 2015 14:32:11 +0000 (10:32 -0400)]
Merge branch 'master' of https://rodney.nethack.org:20040/git/NHsource

10 years agonhsub docs and fixes
keni [Wed, 8 Apr 2015 14:31:49 +0000 (10:31 -0400)]
nhsub docs and fixes

10 years agoDo not clean tribute file on Unix.
Sean Hunt [Wed, 8 Apr 2015 00:44:54 +0000 (20:44 -0400)]
Do not clean tribute file on Unix.

10 years agoRenumber other.txt tiles
Pasi Kallinen [Tue, 7 Apr 2015 18:34:57 +0000 (21:34 +0300)]
Renumber other.txt tiles