]> granicus.if.org Git - nethack/log
nethack
6 years agoSend travis notification mails to mailing list
Patric Mueller [Fri, 23 Nov 2018 17:56:25 +0000 (18:56 +0100)]
Send travis notification mails to mailing list

6 years agoAdd some commented out flags to linux hints file
Pasi Kallinen [Fri, 23 Nov 2018 17:20:59 +0000 (19:20 +0200)]
Add some commented out flags to linux hints file

6 years agoAdding a travis job for a minimal build
Patric Mueller [Fri, 23 Nov 2018 15:22:41 +0000 (16:22 +0100)]
Adding a travis job for a minimal build

6 years agoBuilding tty, X11, and QT5 builds on Travis
Patric Mueller [Wed, 14 Nov 2018 14:28:37 +0000 (15:28 +0100)]
Building tty, X11, and QT5 builds on Travis

6 years agoifdef, not if
Pasi Kallinen [Fri, 23 Nov 2018 13:15:04 +0000 (15:15 +0200)]
ifdef, not if

6 years agoFix guard shoving monsters away coordinate logic
Pasi Kallinen [Thu, 22 Nov 2018 18:24:56 +0000 (20:24 +0200)]
Fix guard shoving monsters away coordinate logic

The logic required both x and y coordinates of the guard location and
the new location the guard wanted to move to be different. This is
obviously wrong, as the guard may move horizontally or vertically.

6 years agofix #H7585 - can't untrap from edge of pit
PatR [Thu, 22 Nov 2018 03:16:23 +0000 (19:16 -0800)]
fix #H7585 - can't untrap from edge of pit

Attempting to untrap an adjacent location failed if you had escaped a
pit, claiming that you couldn't reach.  You can't reach the bottom of
the pit if you're not in it, but you should be able to reach adjacent
spots normally.

6 years agomore Schroedinger's Cat
PatR [Thu, 22 Nov 2018 02:32:04 +0000 (18:32 -0800)]
more Schroedinger's Cat

Prevent food detection--scroll or crystal ball--from noticing the cat
corpse inside SchroedingersBox since its presence is tentative and
resolving its status during detection is a huge can of worms (live cat
placement on map from inside locked box, parallel resolution required
for monster detection/warning/telepathy that would render the box
fairly useless since it would probably end up getting resolved by ESP
before hero gains access).

Prevent cat corpse in the Box from being added to shop bill if unpaid
Box is picked up.  That prevents it from being listed as a bought item
if the player buys the box (instead of being described as unknown
contents; an older, more general bug which still hasn't been fixed).

As far as I'm aware, off the revised handling of Schroedingers Cat is
finished.

6 years agovmsbuild.com update
PatR [Thu, 22 Nov 2018 00:47:42 +0000 (16:47 -0800)]
vmsbuild.com update

A copyright header inserted last spring uses the wrong format for a
DCL comment and triggers a couple of warnings about invalid commands.

Some linker hackery added a long time ago draws complaints from the
linker on IA64.  This was noticed during the release cycle for 3.6.0
but then went unaddressed.

6 years agofuzzer fixes on windows for testing
nhmall [Wed, 21 Nov 2018 23:50:02 +0000 (18:50 -0500)]
fuzzer fixes on windows for testing

6 years agoMap column 0 is not a valid location
Pasi Kallinen [Wed, 21 Nov 2018 17:17:08 +0000 (19:17 +0200)]
Map column 0 is not a valid location

6 years agoSchroedinger's Cat
PatR [Wed, 21 Nov 2018 11:10:49 +0000 (03:10 -0800)]
Schroedinger's Cat

If hero was carrying Schroedinger's Box at end of game, disclosing
inventory converted it into an ordinary box.  That interferred with
subsequent disclosure when writing DUMPLOG, which saw an empty box
if inventory had been shown or the special box with newly-determined
contents if not.  I tried a couple of ways to fix it and decided
that redoing it was better in the long run.

Schroedinger's box is still flagged with box->spe = 1, but instead
of having that affect the box's weight, now there is always a cat
corpse in the box.  When opened, that will already be in place for
a dead cat or be discarded for a live one, but the weight will be
standard for container+contents and when box->cknown is set it will
always be "containing 1 item" (which might turn out to be a monster).

Some temporary code fixes up old save/bones files to stay compatible.

TODO:  food detection used to skip Schroedinger's Box; now it will
always find a corpse, so some fixup like the ridiculous probing code
is needed.

6 years agoMerge branch 'macosx-curses-fall2018' into NetHack-3.6.2-beta01
nhmall [Wed, 21 Nov 2018 02:01:48 +0000 (21:01 -0500)]
Merge branch 'macosx-curses-fall2018' into NetHack-3.6.2-beta01

6 years agofixes updates for curses and Xcode
nhmall [Wed, 21 Nov 2018 02:00:03 +0000 (21:00 -0500)]
fixes updates for curses and Xcode

6 years agosentence spacing
PatR [Wed, 21 Nov 2018 01:56:16 +0000 (17:56 -0800)]
sentence spacing

Use two spaces between sentences.  This only fixes the instances of
one-space that were fairly easy to find.

6 years agosuppress compiler warning differently
nhmall [Wed, 21 Nov 2018 01:30:44 +0000 (20:30 -0500)]
suppress compiler warning differently

6 years agoMerge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsourc...
Bart House [Wed, 21 Nov 2018 00:11:42 +0000 (16:11 -0800)]
Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018

6 years agoSwitching back to tty on picked by default for XCode biuld.
Bart House [Wed, 21 Nov 2018 00:11:22 +0000 (16:11 -0800)]
Switching back to tty on picked by default for XCode biuld.

6 years agofollow-up bits
nhmall [Wed, 21 Nov 2018 00:09:05 +0000 (19:09 -0500)]
follow-up bits

6 years agoMerge branch 'win-curses' into macosx-curses-fall2018
nhmall [Tue, 20 Nov 2018 23:12:41 +0000 (18:12 -0500)]
Merge branch 'win-curses' into macosx-curses-fall2018

6 years agoAdded all header files to Xcode project.
Bart House [Tue, 20 Nov 2018 21:22:48 +0000 (13:22 -0800)]
Added all header files to Xcode project.

6 years agofix #H7530 - corpse from corpseless monster
PatR [Tue, 20 Nov 2018 21:13:23 +0000 (13:13 -0800)]
fix #H7530 - corpse from corpseless monster

Migrating monster attempting to arrive on a level which is already
full of monsters gets killed off.  It was leaving a corpse without
regard for whether it was a type of of monster which should never
leave corpses.

I'd prefer that it be put back on the migrating_mons list rather
than be killed off, but this just suppresses impossible corpses.

6 years agoAdding README for building NetHack with XCode.
Bart House [Tue, 20 Nov 2018 19:16:24 +0000 (11:16 -0800)]
Adding README for building NetHack with XCode.

6 years agoAdjusted compiler settings to reduce warnings in XCode project.
Bart House [Tue, 20 Nov 2018 18:51:03 +0000 (10:51 -0800)]
Adjusted compiler settings to reduce warnings in XCode project.

6 years agoAddressed compiler warnings.
Bart House [Tue, 20 Nov 2018 18:48:44 +0000 (10:48 -0800)]
Addressed compiler warnings.

Added the initialization of several locals.
In check_fields, validate that we have a valid index (idx) before using.

6 years agoAdded initialization of locals to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:47:12 +0000 (10:47 -0800)]
Added initialization of locals to quite compiler warnings.

6 years agoAddressed compiler warnings.
Bart House [Tue, 20 Nov 2018 18:46:45 +0000 (10:46 -0800)]
Addressed compiler warnings.

Fixed declarations of draw_classic, draw_vertical and draw_horizontal.
Moved definitions of locals before code.  Added initialization of
locals.  Changed comments to c-style.

6 years agoChanged comments to c-style.
Bart House [Tue, 20 Nov 2018 18:45:04 +0000 (10:45 -0800)]
Changed comments to c-style.

6 years agoAddressed compiler warnings.
Bart House [Tue, 20 Nov 2018 18:44:44 +0000 (10:44 -0800)]
Addressed compiler warnings.

Changed to c-style comments.  Placed locals before code.  Added
initialization of local value ret in curses_block.

6 years agoAddressed compiler warnings.
Bart House [Tue, 20 Nov 2018 18:43:35 +0000 (10:43 -0800)]
Addressed compiler warnings.

Moved local declarations before code. Changed comments to c-style.

6 years agoScoped existing code in a new block to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:42:13 +0000 (10:42 -0800)]
Scoped existing code in a new block to quite compiler warnings.

6 years agoAddressed compiler warnings.
Bart House [Tue, 20 Nov 2018 18:35:25 +0000 (10:35 -0800)]
Addressed compiler warnings.

Moved locals before code.  Changed comment type.

6 years agoAdded use of SCCS_Id to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:33:36 +0000 (10:33 -0800)]
Added use of SCCS_Id to quite compiler warnings.

6 years agoAdded initialization of locals in create_room() to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:30:11 +0000 (10:30 -0800)]
Added initialization of locals in create_room() to quite compiler warnings.

6 years agoAdded initialization of cc in do_look() to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:29:05 +0000 (10:29 -0800)]
Added initialization of cc in do_look() to quite compiler warnings.

6 years agoAdded initialization if ilet to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:27:35 +0000 (10:27 -0800)]
Added initialization if ilet to quite compiler warnings.

6 years agoAdded initialization of newlevel to quite compiler warnings.
Bart House [Tue, 20 Nov 2018 18:27:09 +0000 (10:27 -0800)]
Added initialization of newlevel to quite compiler warnings.

6 years agoFix lrand48 and srand48 declarations.
Bart House [Tue, 20 Nov 2018 18:26:09 +0000 (10:26 -0800)]
Fix lrand48 and srand48 declarations.

6 years agoFixed HACKDIR buid setting.
Bart House [Tue, 20 Nov 2018 15:32:23 +0000 (07:32 -0800)]
Fixed HACKDIR buid setting.

6 years agoCreated mechanism to provide development team ID which is git friendly.
Groot [Tue, 20 Nov 2018 09:14:18 +0000 (01:14 -0800)]
Created mechanism to provide development team ID which is git friendly.

Please see XCodeConfig.xcconfig for details.

6 years agoAdded necessary build dependencies for xcode project.
Bart House [Tue, 20 Nov 2018 03:58:21 +0000 (19:58 -0800)]
Added necessary build dependencies for xcode project.

6 years agoFull build of nethack now supported in xcode.
Bart House [Tue, 20 Nov 2018 03:48:01 +0000 (19:48 -0800)]
Full build of nethack now supported in xcode.

6 years agoAdded the building of nhdat to xcode project.
Bart House [Tue, 20 Nov 2018 01:23:04 +0000 (17:23 -0800)]
Added the building of nhdat to xcode project.

6 years agoAdded building of nhdat to xcode project.
Bart House [Tue, 20 Nov 2018 00:54:31 +0000 (16:54 -0800)]
Added building of nhdat to xcode project.

6 years agolife-saving vs sickness
PatR [Tue, 20 Nov 2018 00:24:10 +0000 (16:24 -0800)]
life-saving vs sickness

Replace an old instance of direct manipulation of an intrinsic.
If life-saving occurs 1 turn before sickness will kill the hero,
the sickness if cured.  But it was leaving delated_killer for SICK
allocated.  Harmless but a bug none the less.

6 years agoAdded support for building Guidebook in xcode build.
Bart House [Tue, 20 Nov 2018 00:22:16 +0000 (16:22 -0800)]
Added support for building Guidebook in xcode build.

6 years ago\#stats - delayed_killer
PatR [Tue, 20 Nov 2018 00:22:10 +0000 (16:22 -0800)]
\#stats - delayed_killer

Include memory allocated to delayed killer(s) in #stats feedback.

6 years agoAdded building dungeon to xcode project.
Bart House [Mon, 19 Nov 2018 22:51:24 +0000 (14:51 -0800)]
Added building dungeon to xcode project.

6 years agoMerge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsourc...
Bart House [Mon, 19 Nov 2018 22:11:59 +0000 (14:11 -0800)]
Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018

6 years agoAdded building of special and quest levels in xcode build.
Bart House [Mon, 19 Nov 2018 22:11:39 +0000 (14:11 -0800)]
Added building of special and quest levels in xcode build.

6 years agomore .gitignore updates for XCode
nhmall [Mon, 19 Nov 2018 21:27:57 +0000 (16:27 -0500)]
more .gitignore updates for XCode

6 years agoAdded building of more resources in xcode build.
Bart House [Mon, 19 Nov 2018 21:03:06 +0000 (13:03 -0800)]
Added building of more resources in xcode build.

6 years agoMore monster location sanity checks
Pasi Kallinen [Mon, 19 Nov 2018 20:38:10 +0000 (22:38 +0200)]
More monster location sanity checks

Placing a monster over already existing one will now complain.
Define EXTRA_SANITY_CHECKS to check monster removal too.

6 years agoRemoving personal data.
Bart House [Mon, 19 Nov 2018 20:17:37 +0000 (12:17 -0800)]
Removing personal data.

6 years agoAdding the ignoring of xcuserdata.
Bart House [Mon, 19 Nov 2018 20:17:20 +0000 (12:17 -0800)]
Adding the ignoring of xcuserdata.

6 years agoRemoved personal user data.
Bart House [Mon, 19 Nov 2018 20:14:45 +0000 (12:14 -0800)]
Removed personal user data.

6 years agoAdding the ignoring of xcuserdata.
Bart House [Mon, 19 Nov 2018 20:14:27 +0000 (12:14 -0800)]
Adding the ignoring of xcuserdata.

6 years agoAdded NH_INC_DIR to xcode project build settings.
Bart House [Mon, 19 Nov 2018 20:13:58 +0000 (12:13 -0800)]
Added NH_INC_DIR to xcode project build settings.

6 years agoInit long worm even if it does not have a tail
Pasi Kallinen [Mon, 19 Nov 2018 20:09:14 +0000 (22:09 +0200)]
Init long worm even if it does not have a tail

Long worms with no tail parts still apparently need to have
the zero-length tail placed.

6 years agoReplace long worm on map after removing tail with wormgone
Pasi Kallinen [Mon, 19 Nov 2018 20:04:32 +0000 (22:04 +0200)]
Replace long worm on map after removing tail with wormgone

Calling wormgone will also remove the long worm monster from
the map, not just the worm tail. Put the monster back on map
so relmon can actually remove it properly.

6 years agoAdded project wide build settings for nethack directories.
Bart House [Mon, 19 Nov 2018 20:03:02 +0000 (12:03 -0800)]
Added project wide build settings for nethack directories.

6 years agoExplicitly remove long worm segments from the map
Pasi Kallinen [Mon, 19 Nov 2018 19:54:32 +0000 (21:54 +0200)]
Explicitly remove long worm segments from the map

When a long worm was removed from the map, the segments for that worm
retained their map location info. This caused problems later on if
wormgone (or toss_wsegs) was called, because it would try to remove the
segments of that worm from the map.

6 years agoMore long worm checks when splitting
Pasi Kallinen [Mon, 19 Nov 2018 19:49:49 +0000 (21:49 +0200)]
More long worm checks when splitting

When a long worm is split into two, perform more checks placing
the segments on the map.

6 years agoAdded building of data to xcode build.
Bart House [Mon, 19 Nov 2018 19:33:11 +0000 (11:33 -0800)]
Added building of data to xcode build.

6 years agoLong worm may get killed in middle of action
Pasi Kallinen [Mon, 19 Nov 2018 19:27:19 +0000 (21:27 +0200)]
Long worm may get killed in middle of action

If long worm attacks you, and you have a passive response that may
kill the worm (eg. blue jelly), the worm may die in the middle of
a loop checking for a worm segment that can attack. This'll cause
a segfault because the worm segments will get freed.

If the worm dies, just exit the loop.

6 years agoMoving long worms may still put tail in old location
Pasi Kallinen [Mon, 19 Nov 2018 19:24:08 +0000 (21:24 +0200)]
Moving long worms may still put tail in old location

When using rloc and friends to move monsters, and the monster
happens to be a long worm, the tail may get randomly placed
in the same place where the long worm was removed from.

In the cases where we expect the location to really be free,
explicitly recheck the location for a monster after rloc.

6 years agoFix vault guard not considering monsters in walls
Pasi Kallinen [Sat, 17 Nov 2018 17:59:09 +0000 (19:59 +0200)]
Fix vault guard not considering monsters in walls

Two different cases here: a) Vault guard did not move away monsters
except if they were standing on gold, and b) moving away monsters
on a completely filled level did not work

6 years agoCheck monster relocation degenerate cases more strictly
Pasi Kallinen [Sat, 17 Nov 2018 17:48:48 +0000 (19:48 +0200)]
Check monster relocation degenerate cases more strictly

Just in case we're trying to put the monster on the same location
where it already thinks it is... but actually isn't.

6 years agoFix freeing monsters not on map
Pasi Kallinen [Sat, 17 Nov 2018 17:26:49 +0000 (19:26 +0200)]
Fix freeing monsters not on map

Sometimes we free the monster data, but the monster is not on the
map - usually this happens if the map is full of monsters and a new one
is migrated on the level.

Make m_detach check the monster x coordinate, so it knows not to touch the map
if the monster isn't on it.

6 years agoXCode project check-point.
Bart House [Mon, 19 Nov 2018 19:06:57 +0000 (11:06 -0800)]
XCode project check-point.

6 years agoFix vi induced build problem.
Bart House [Mon, 19 Nov 2018 17:53:46 +0000 (09:53 -0800)]
Fix vi induced build problem.

6 years agoMerge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsourc...
Bart House [Mon, 19 Nov 2018 17:22:32 +0000 (09:22 -0800)]
Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018

6 years agoInitial check-in of work in progress xcode build of NetHack.
Bart House [Mon, 19 Nov 2018 17:22:11 +0000 (09:22 -0800)]
Initial check-in of work in progress xcode build of NetHack.

Buyer beware.  This is a check-point of the xcode work to allow others
to play.

6 years agosome curses window-port doc bits
nhmall [Mon, 19 Nov 2018 15:40:51 +0000 (10:40 -0500)]
some curses window-port doc bits

6 years agoMerge branch 'NetHack-3.6.2-beta01' into macosx-curses-fall2018
nhmall [Mon, 19 Nov 2018 14:58:40 +0000 (09:58 -0500)]
Merge branch 'NetHack-3.6.2-beta01' into macosx-curses-fall2018

6 years agoMerge branch 'NetHack-3.6.2-beta01' into win-curses
nhmall [Mon, 19 Nov 2018 14:57:58 +0000 (09:57 -0500)]
Merge branch 'NetHack-3.6.2-beta01' into win-curses

6 years ago.gitignore update
nhmall [Mon, 19 Nov 2018 04:53:49 +0000 (23:53 -0500)]
.gitignore update

6 years agofix #H7573 - impossible zero payment in money2mon
PatR [Mon, 19 Nov 2018 02:48:59 +0000 (18:48 -0800)]
fix #H7573 - impossible zero payment in money2mon

When paying for shop door or wall damage, if the entire amount was
covered by shop credit then impossible "zero payment in money2mon"
would occur as the shop code tried to transfer 0 zorkmids from hero
to shopkeeper after using credit to pay.

6 years agoMerge branch 'NetHack-3.6.2-beta01' into win-curses
nhmall [Sun, 18 Nov 2018 19:58:31 +0000 (14:58 -0500)]
Merge branch 'NetHack-3.6.2-beta01' into win-curses

6 years agoRevert "Hint file for macOS X with curses."
Bart House [Sun, 18 Nov 2018 19:45:36 +0000 (11:45 -0800)]
Revert "Hint file for macOS X with curses."

This reverts commit f7fbbb8cb0e8fcd2912111ef24f216ca9bf5ff3b.

6 years agoMerge branch 'win-curses' of https://rodney.nethack.org:20040/git/NHsource into win...
Bart House [Sun, 18 Nov 2018 17:30:11 +0000 (09:30 -0800)]
Merge branch 'win-curses' of https://rodney.nethack.org:20040/git/NHsource into win-curses

6 years agoHint file for macOS X with curses.
Bart House [Sun, 18 Nov 2018 17:28:45 +0000 (09:28 -0800)]
Hint file for macOS X with curses.

6 years agoMerge branch 'win-curses' into macosx-curses-fall2018
nhmall [Sun, 18 Nov 2018 14:10:26 +0000 (09:10 -0500)]
Merge branch 'win-curses' into macosx-curses-fall2018

6 years agoquiet some mismatched prototype warnings with visual studio compiler
nhmall [Sun, 18 Nov 2018 13:45:32 +0000 (08:45 -0500)]
quiet some mismatched prototype warnings with visual studio compiler

pager.c
.\pager.c(1886): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1887): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1888): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1889): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1890): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1891): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1893): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1895): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1896): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1897): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1898): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1902): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'
.\pager.c(1921): warning C4113: 'void (__cdecl *)()' differs in parameter lists from 'void (__cdecl *)(void)'

6 years agofix a build error when curses is NOT enabled
nhmall [Sun, 18 Nov 2018 13:34:24 +0000 (08:34 -0500)]
fix a build error when curses is NOT enabled

Fix an error when curses build macros are not defined
makefile(1262) : fatal error U1083: target macro '$(PDCLIB)' expands to nothing

6 years agoupdate Install.nt
nhmall [Sun, 18 Nov 2018 12:59:59 +0000 (07:59 -0500)]
update Install.nt

6 years agoMakefile cut-and-paste error
nhmall [Sun, 18 Nov 2018 12:10:58 +0000 (07:10 -0500)]
Makefile cut-and-paste error

6 years agoMakefile macro correction
nhmall [Sun, 18 Nov 2018 11:57:17 +0000 (06:57 -0500)]
Makefile macro correction

6 years agomore curses Makfile mods
nhmall [Sun, 18 Nov 2018 11:48:47 +0000 (06:48 -0500)]
more curses Makfile mods

6 years agowindows VS Makefile with curses and PDCurses
nhmall [Sun, 18 Nov 2018 11:24:32 +0000 (06:24 -0500)]
windows VS Makefile with curses and PDCurses

6 years agoMerge branch 'win-minor' into win-curses
nhmall [Sun, 18 Nov 2018 09:32:28 +0000 (04:32 -0500)]
Merge branch 'win-minor' into win-curses

6 years agoBuild curses if PDCurses is available.
Bart House [Sun, 18 Nov 2018 07:56:31 +0000 (23:56 -0800)]
Build curses if PDCurses is available.

There are two ways to enable curses in the build.  Either set the
environment variable PDCURSES to a folder containing a PDCurses repository
OR place the PDCurses folder alongside the NetHack source repository.

6 years agoRevert "curses port: accept return on Windows platform"
nhmall [Sun, 18 Nov 2018 02:30:01 +0000 (21:30 -0500)]
Revert "curses port: accept return on Windows platform"

This reverts commit ac367ef4cc2cbad036964402ba541f869e6c8dd9.

6 years agoRevert "more CR on windows"
nhmall [Sun, 18 Nov 2018 02:29:41 +0000 (21:29 -0500)]
Revert "more CR on windows"

This reverts commit 83fb79b77597cc44658458872a81d406ae177487.

6 years agomore CR on windows
nhmall [Sun, 18 Nov 2018 02:17:43 +0000 (21:17 -0500)]
more CR on windows

6 years agocurses port: accept return on Windows platform
nhmall [Sun, 18 Nov 2018 01:27:21 +0000 (20:27 -0500)]
curses port: accept return on Windows platform

6 years agosrc/ formatting
PatR [Sun, 18 Nov 2018 00:40:53 +0000 (16:40 -0800)]
src/ formatting

Clean up quite a bit of minor things found with simple grep patterns:
operator at end of continued line instead of beginning of continuation
(and a few comments which produced false matches, so that they won't
do so next time), trailing spaces (only one or two of those), tabs (a
dozen or so of those), several casts which didn't have a space between
the type and the expression (I wasn't systematic about finding these).

I think the only code change was in the function for the help command.

6 years agoformatting: tile.c
PatR [Sun, 18 Nov 2018 00:31:22 +0000 (16:31 -0800)]
formatting: tile.c

A while back I changed tilemap.c to clean up the formatting of
generated tile.c.  This is a smaller change to revise the layout
of its big array.

6 years agoGetting build working.
Bart House [Sat, 17 Nov 2018 22:48:38 +0000 (14:48 -0800)]
Getting build working.

6 years agoMerge branch 'NetHack-3.6.2-beta01' into win-minor
nhmall [Sat, 17 Nov 2018 11:22:56 +0000 (06:22 -0500)]
Merge branch 'NetHack-3.6.2-beta01' into win-minor