]> granicus.if.org Git - nethack/log
nethack
5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Fri, 15 Nov 2019 00:14:42 +0000 (19:14 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agosome msdos cross-compile additional notes and a clarification
nhmall [Fri, 15 Nov 2019 00:12:14 +0000 (19:12 -0500)]
some msdos cross-compile additional notes and a clarification

5 years agofix #H9424 - mon vs shade damage despite harmless
PatR [Thu, 14 Nov 2019 23:28:32 +0000 (15:28 -0800)]
fix #H9424 - mon vs shade damage despite harmless

Monster vs monster non-weapon attack against a shade that failed
due to non-silver and non-blessed hit was inflicting damage.

5 years agofix #H9426 - curses_procs null stubs
PatR [Thu, 14 Nov 2019 22:18:59 +0000 (14:18 -0800)]
fix #H9426 - curses_procs null stubs

5 years agofix #H9425 - shade_miss target
PatR [Thu, 14 Nov 2019 20:56:08 +0000 (12:56 -0800)]
fix #H9425 - shade_miss target

Fix 'unused' variable by using it as intended.  Thinko brought on by
too many revisions...

5 years agointroduce msdos build support for cross-compiling on other platforms
nhmall [Thu, 14 Nov 2019 19:10:56 +0000 (14:10 -0500)]
introduce msdos build support for cross-compiling on other platforms

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
keni [Thu, 14 Nov 2019 13:21:12 +0000 (08:21 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoattempt to fix .BR macro
keni [Thu, 14 Nov 2019 13:20:38 +0000 (08:20 -0500)]
attempt to fix .BR macro

5 years agofix #H1554, #H1736, github issue #240 - silver )
PatR [Wed, 13 Nov 2019 23:47:46 +0000 (15:47 -0800)]
fix #H1554, #H1736, github issue #240 - silver )

Fixes #240

Monster versus monster (melee and throwing) didn't handle shades
(need silver or blessed weapon to take damage) or silver feedback
(extra info when silver-haters are hit).

I did a lot of test, revise, re-test but didn't always re-test
everything that had previously been tested, so bugs that I thought
were quashed might have crept in.

Now if a missile weapon "passes harmlessly through the shade" it
will continue on and maybe hit something else.  (Regular misses
still stop at the missed target.)

A couple of minor ball&chain changes accidentally got included.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Mon, 11 Nov 2019 23:13:19 +0000 (18:13 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoprototype fix after Windows gcc complaint
nhmall [Mon, 11 Nov 2019 23:12:39 +0000 (18:12 -0500)]
prototype fix after Windows gcc complaint

5 years agowidth of curses menus
PatR [Mon, 11 Nov 2019 20:55:50 +0000 (12:55 -0800)]
width of curses menus

Menus with wide header or separator lines were rendered wide enough
to avoid wrapping those lines, but ones with narrow header/separators
and wide selectable entries were limited to half the display even
though lots of lines that would fit with full width were being wrapped.
Change the latter behavior.

Menus are right justified with the edge of the map when narrower than
it, left justified otherwise, and if the display is wider than the map,
they'll extend beyond its right edge.  (That hasn't actually changed;
it's just that left-justification is more likely now that menus will
be wide enough to show wide inventory lines without wrapping.)

Get rid of my ridiculous hack to force wider menu for the 'symset'
and 'roguesymset' sub-menus of 'O' since it's no longer useful.

There's still room for improvement.  If any lines need to be wrapped
despite using the full width, or perhaps are just a lot wider than
most of the entries, menu width could be narrowed to just enough for
'normal' lines to fit so that one or two really long entries don't
distort the menu.  That's a bit more complicated than I want to deal
with right now.  [If implemented, it would be relevant for tty too.]

5 years agofixes catch-up
nhmall [Mon, 11 Nov 2019 20:24:01 +0000 (15:24 -0500)]
fixes catch-up

5 years agomore Windows path environ variable translation bits
nhmall [Mon, 11 Nov 2019 19:19:16 +0000 (14:19 -0500)]
more Windows path environ variable translation bits

5 years ago--showpaths wasn't returning the paths if there was an error in a config file
nhmall [Mon, 11 Nov 2019 17:49:54 +0000 (12:49 -0500)]
--showpaths wasn't returning the paths if there was an error in a config file

Also,
Windows only: Introduces some environment variable substitution for paths
specified in a config file

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Mon, 11 Nov 2019 16:51:28 +0000 (11:51 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agonew prefix_locked bits conditionalized to WIN32
nhmall [Mon, 11 Nov 2019 16:46:49 +0000 (11:46 -0500)]
new prefix_locked bits conditionalized to WIN32

5 years agoFix heap-use-after-free
Pasi Kallinen [Mon, 11 Nov 2019 16:46:14 +0000 (18:46 +0200)]
Fix heap-use-after-free

bcsign was used on a freed obj

5 years agoMerge branch 'NetHack-3.6' into bart-test
nhmall [Mon, 11 Nov 2019 16:27:50 +0000 (11:27 -0500)]
Merge branch 'NetHack-3.6' into bart-test

5 years agorestrict a recent deaf message change to player actions only
nhmall [Mon, 11 Nov 2019 15:59:07 +0000 (10:59 -0500)]
restrict a recent deaf message change to player actions only

5 years ago--showpaths
PatR [Sun, 10 Nov 2019 04:01:53 +0000 (20:01 -0800)]
--showpaths

Fix a couple of warnings about unused variables but mainly handle
OSX's multiple-choice for configuration file name.  I tried moving
my ~/.nethackrc to '~/Library/Prefences/NetHack Defaults.txt' and
both regular play and --showpaths are finding it successfully.

Also an untested fix for VMS.  "nethackini" is not supposed to have
any path information attached.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Sun, 10 Nov 2019 02:22:04 +0000 (21:22 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoupdates to reveal_paths
nhmall [Sun, 10 Nov 2019 02:20:46 +0000 (21:20 -0500)]
updates to reveal_paths

5 years agomore slippery gloves
PatR [Sun, 10 Nov 2019 00:36:41 +0000 (16:36 -0800)]
more slippery gloves

Move makeplural(body_part(FINGER)) into its own routine, with option
to substitute gloves when wearing such.

Wearing slippery gloves (ie, wearing gloves while having slippery
fingers) wouldn't let you put on a ring because you can't take the
gloves off, but removing a worn ring lacked the same restriction.

After changing that, teach prayer that slippery gloves is another
reason why a ring of levitation can't be removed.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Sat, 9 Nov 2019 16:12:18 +0000 (11:12 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoadd command line option --showpaths
nhmall [Sat, 9 Nov 2019 15:57:25 +0000 (10:57 -0500)]
add command line option --showpaths

Add
--showpaths
early option to show where NetHack is expecting to find certain files
without starting up a game. It exits afterwards.

Windows sample (for illustration only, locations may differ for you):
    Variable playground locations:
        [hackdir   ]="C:\Users\JohnDoe\NetHack\3.6\"
        [leveldir  ]="C:\Users\JohnDoe\AppData\Local\NetHack\3.6\"
        [savedir   ]="C:\Users\JohnDoe\AppData\Local\NetHack\3.6\"
        [bonesdir  ]="C:\ProgramData\NetHack\3.6\"
        [datadir   ]="C:\personal\nhdev\363\test\binary\"
        [scoredir  ]="C:\ProgramData\NetHack\3.6\"
        [lockdir   ]="C:\ProgramData\NetHack\3.6\"
        [sysconfdir]="C:\ProgramData\NetHack\3.6\"
        [configdir ]="C:\Users\JohnDoe\NetHack\3.6\"
        [troubledir]="C:\Users\JohnDoe\NetHack\3.6\"
    Your system configuration file (in sysconfdir):
        "C:\Users\JohnDoe\NetHack\3.6\sysconf"
    Your system symbols file (in sysconfdir):
        "C:\Users\JohnDoe\NetHack\3.6\symbols"
    Your personal configuration file (in configdir):
        "C:\Users\JohnDoe\NetHack\3.6\.nethackrc"

Linux (for illustration only, locations may differ for you):
    Your system configuration file:
        "/home/johndoe/nh/install/games/lib/nethackdir/sysconf"
    Your system symbols file:
        "/home/johndoe/nh/install/games/lib/nethackdir/symbols"
    Your personal configuration file:
        "/home/johndoe/.nethackrc"

5 years agofix #H9391 - slippery gloves
PatR [Sat, 9 Nov 2019 09:07:09 +0000 (01:07 -0800)]
fix #H9391 - slippery gloves

Slippery fingers would transfer from bare hands to gloved hands if
you put gloves on.  The reverse, transfering from gloves to bare
hands when taking gloves off, was already being prevented for
directly taking them off, but still allowed the slipperiness to
transfer when gloves were lost.  This prevents putting on gloves
when fingers are slippery and attempts to handle cases where gloves
get unworn by ways other than 'T' (or 'R') or 'A'.

There's no slippery attribute for objects (way too much work for too
little value); slippery gloves is just the combination of wearing
gloves and having slippery fingers (which now has to have happened
while already wearing those gloves).  This changes inventory to use
"(being worn; slippery)" when applicable and much of the patch deals
with funnelling Glib changes through new make_glib() to try to make
sure that persistent inventory adds or removes "; slippery" right
away when changes happen.

If gloves are taken off involuntarily (shapechange to a form that
can't wear them, destruction via scroll of destroy armor or monster
spell of same or via overenchantment, theft), slippery fingers ends
right away instead of the usual few turns later.

5 years agoone more deaf aware bit
nhmall [Fri, 8 Nov 2019 17:35:13 +0000 (12:35 -0500)]
one more deaf aware bit

5 years agoRevert "one more "Deaf-aware" comment"
nhmall [Fri, 8 Nov 2019 17:34:27 +0000 (12:34 -0500)]
Revert "one more "Deaf-aware" comment"

This reverts commit 2835d8774e77167b5e546bad0f82c23569ba4915.

5 years agoone more "Deaf-aware" comment
nhmall [Fri, 8 Nov 2019 16:22:50 +0000 (11:22 -0500)]
one more "Deaf-aware" comment

5 years agostatus highlight fix for experience level
PatR [Fri, 8 Nov 2019 01:54:57 +0000 (17:54 -0800)]
status highlight fix for experience level

When I expanded the Guidebook's sample configuration file I added
several status_hilite options.  I decided that I'd better test what
was written and discovered that if Xp had an up or changed rule as
well as one or more percentage rules, it was showing bogus changes
whenever the integer value of the percentage changed.  The fix
turned out to be simple but it took a while to figure out.

I ultimately left the status_hilite settings out of the sample
options, because they tended to be too wide for Guidebook.txt's
formatting rather than because they weren't working as expected.

5 years agomissing data file on vms
PatR [Fri, 8 Nov 2019 00:21:52 +0000 (16:21 -0800)]
missing data file on vms

vms's install.com was processing bigrm-%.lev (which corresponds to
bigrm-?.lev on unix) so missed two-digit bigrm-10.lev.

5 years agobump the Guidebook date
nhmall [Fri, 8 Nov 2019 00:15:34 +0000 (19:15 -0500)]
bump the Guidebook date

5 years agomore Guidebook tweaks
PatR [Fri, 8 Nov 2019 00:10:55 +0000 (16:10 -0800)]
more Guidebook tweaks

Expand the sample configuration file a little and prevent it from
going past the right margin in Guidebook.txt.

Replace all instances of "config file" with "configuration file".

Reformat the "notes" at the end of the table of map symbols.
Unfortunately Guidebook.pdf from Guidebook.ps from Guidebook.mn
puts a page break between the header line "notes" and the two
actual notes.

Value 1 for 'mouse_support' was not just exceeding the margin of
Guidebook.txt but wrapping to the next line.  Shorten it.

Guidebook.tex had a typo "in the foler" (where 'folder' was meant)
and Guidebook.mn didn't have that phrase at all.

Remove a few trailing spaces.

5 years agotypo
nhmall [Thu, 7 Nov 2019 15:59:20 +0000 (10:59 -0500)]
typo

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Thu, 7 Nov 2019 15:51:09 +0000 (10:51 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoUpdate README and include/patchlevel.h
nhmall [Thu, 7 Nov 2019 15:50:14 +0000 (10:50 -0500)]
Update README and include/patchlevel.h

5 years agofixes36.3 again
PatR [Thu, 7 Nov 2019 09:42:29 +0000 (01:42 -0800)]
fixes36.3 again

Noticed that "multiple" was misspelled for entry about menu action
':' misbehaving under curses, but the phrasing for whole entry was
difficult to comprehend so try to word it better.

[This one is in the highlights list with the old wording.]

5 years agoFixes typo
Pasi Kallinen [Thu, 7 Nov 2019 09:23:28 +0000 (11:23 +0200)]
Fixes typo

5 years agofixes36.3 tidying
PatR [Thu, 7 Nov 2019 09:15:09 +0000 (01:15 -0800)]
fixes36.3 tidying

Reword a few entries, remove a few trailing spaces.

5 years agoGuidebook.mn bit
nhmall [Wed, 6 Nov 2019 22:59:12 +0000 (17:59 -0500)]
Guidebook.mn bit

5 years agobuffer size
nhmall [Wed, 6 Nov 2019 21:51:47 +0000 (16:51 -0500)]
buffer size

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Wed, 6 Nov 2019 21:45:15 +0000 (16:45 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agodon't hardcode the version id in windmain
nhmall [Wed, 6 Nov 2019 21:44:25 +0000 (16:44 -0500)]
don't hardcode the version id in windmain

5 years agounix USE_FCNTL vs 'perm'
PatR [Wed, 6 Nov 2019 18:52:48 +0000 (10:52 -0800)]
unix USE_FCNTL vs 'perm'

Reported directly to devteam, the POSIX_TYPES subset (most? all
these days?) of Unix that defines USE_FCNTL was unlocking lock file
'perm' when done with it but wasn't explicitly closing it unless
the unlocking failed.  Triggered a valgrind complaint and could have
posed a problem if restart gets implemented for this configuraiton.

5 years agofix #H9407 - "butterfiles"
PatR [Wed, 6 Nov 2019 18:06:59 +0000 (10:06 -0800)]
fix #H9407 - "butterfiles"

Feedback when playing music while hallucinating misspelled
"butterflies".

Other bits in the same code (not part of #H9407):

All feedback messages while impaired gave "You produce <something>"
which was immediately followed by many of the instruments giving
their own "You produce <some other thing>."  Change the verb for the
playing-while-impaired messages to avoid having two consecutive
"you produce" ones.

Also, multiple impairments (two or more of stunned, confused, and
hallucinating) always gave the generic "what you produce is far
from music" message.  Have them sometimes ignore excess impairments
to give the message for one of those.

5 years agoupdated Guidebook.txt
nhmall [Tue, 5 Nov 2019 14:18:25 +0000 (09:18 -0500)]
updated Guidebook.txt

5 years agodeafness left "Perhaps that why you cannot move it" message orphaned
nhmall [Tue, 5 Nov 2019 04:08:15 +0000 (23:08 -0500)]
deafness left "Perhaps that why you cannot move it" message orphaned

5 years agochasonr's msdos Makefile.gcc pdcurses build changes
nhmall [Tue, 5 Nov 2019 03:50:04 +0000 (22:50 -0500)]
chasonr's msdos Makefile.gcc pdcurses build changes
 # Please enter the commit message for your changes. Lines starting

closes #243

5 years agoMerge branch 'chasonr-msdos-build-363' into NetHack-3.6
nhmall [Tue, 5 Nov 2019 03:47:21 +0000 (22:47 -0500)]
Merge branch 'chasonr-msdos-build-363' into NetHack-3.6

5 years agoMerge branch 'msdos-build-363' of https://github.com/chasonr/NetHack into chasonr...
nhmall [Tue, 5 Nov 2019 03:46:35 +0000 (22:46 -0500)]
Merge branch 'msdos-build-363' of https://github.com/chasonr/NetHack into chasonr-msdos-build-363

5 years agoUpdated windows directory paths to latest iteration of design.
Bart House [Tue, 5 Nov 2019 03:34:03 +0000 (19:34 -0800)]
Updated windows directory paths to latest iteration of design.

5 years agoDeal with FreeDOS bugs when building pdcurses.a
Ray Chason [Tue, 5 Nov 2019 03:26:47 +0000 (22:26 -0500)]
Deal with FreeDOS bugs when building pdcurses.a

5 years agoThis is cron-daily v1-Oct-31-2019. files updated: Files
nhw_cron [Tue, 5 Nov 2019 01:28:59 +0000 (20:28 -0500)]
This is cron-daily v1-Oct-31-2019.  files updated: Files

5 years agofix symset:curses S_tree NetHack-3.6.3.wip.2019.11.04
PatR [Mon, 4 Nov 2019 18:42:14 +0000 (10:42 -0800)]
fix symset:curses S_tree

Symbol set changes...

curses:
  S_tree (use plus-or-minus sign instead of accidental horizontal line);
  S_bars (switch from default '#' to not-equals sign);

DECgraphics:
  S_altar (switch from default '_' to 'pi');
  S_bars (switch from 'pi' to not-equals sign);

DECgraphics_2: get rid of this commented out set since its contents are
  now folded into DECgraphics.

(The IBMgraphics one is just whitespace; delete a <space> that precedes
a <tab>.)

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Mon, 4 Nov 2019 17:33:01 +0000 (12:33 -0500)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agocode maintenance bit to white-list current "You hear" instances
nhmall [Mon, 4 Nov 2019 17:28:25 +0000 (12:28 -0500)]
code maintenance bit to white-list current "You hear" instances

Flag existing occurrences of "You hear" as "Deaf-aware" so
that a grep for that string in the future doesn't need to
trigger further investigation of those.

5 years agodipping into holy/unholy water while blind
PatR [Mon, 4 Nov 2019 17:14:18 +0000 (09:14 -0800)]
dipping into holy/unholy water while blind

Something I realized while following up a newsgroup post.  If you
knew an item's bless/curse state and dipped it into water while
blind, the bknown flag stayed set and you learned the item's new
bless/curse state without seeing any "glows blue/black/&c" feedback.
Clear the flag unless you know that the potion being dipped into is
water (or is clear if not water has not been discovered) and also
know the water potion's own bless/curse state.

5 years agoFix unleashable message given for non-leashed monster
Pasi Kallinen [Mon, 4 Nov 2019 16:58:22 +0000 (18:58 +0200)]
Fix unleashable message given for non-leashed monster

5 years agomore deafness-related message corrections
nhmall [Mon, 4 Nov 2019 05:36:54 +0000 (00:36 -0500)]
more deafness-related message corrections

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Mon, 4 Nov 2019 02:46:44 +0000 (18:46 -0800)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoDismiss the splash dialog when user hits window close.
Bart House [Mon, 4 Nov 2019 02:46:33 +0000 (18:46 -0800)]
Dismiss the splash dialog when user hits window close.

5 years agofix #H9392 - deafness vs music
PatR [Mon, 4 Nov 2019 02:12:55 +0000 (18:12 -0800)]
fix #H9392 - deafness vs music

Music wasn't using You_hear() so needs to handle Deaf itself.  Have
it give alternate messages for sounds being emitted from instruments.

This doesn't implement the suggestion that a Deaf hero shouldn't be
able to produce the same music as a non-deaf one.

5 years agoAdded new map_mode tiles_fit_to_screen for Windows NetHackW.exe
Bart House [Mon, 4 Nov 2019 01:59:39 +0000 (17:59 -0800)]
Added new map_mode tiles_fit_to_screen for Windows NetHackW.exe

5 years agoBuilt windows store package.
Bart House [Mon, 4 Nov 2019 01:39:18 +0000 (17:39 -0800)]
Built windows store package.

5 years agoLock TROUBLEPREFIX after parsing sysconf.
Bart House [Sun, 3 Nov 2019 22:07:11 +0000 (14:07 -0800)]
Lock TROUBLEPREFIX after parsing sysconf.

5 years agoFixes to template files .
Bart House [Sun, 3 Nov 2019 22:06:49 +0000 (14:06 -0800)]
Fixes to template files .

5 years agoMore tweaks to how windows deals with directory paths.
Bart House [Sun, 3 Nov 2019 21:31:17 +0000 (13:31 -0800)]
More tweaks to how windows deals with directory paths.

5 years agoFormatting changes to .nethackrc discussion for windows.
Bart House [Sun, 3 Nov 2019 16:03:01 +0000 (08:03 -0800)]
Formatting changes to .nethackrc discussion for windows.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Sun, 3 Nov 2019 15:52:46 +0000 (07:52 -0800)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoChanges to windows based discussion of .nethackrc.
Bart House [Sun, 3 Nov 2019 15:52:33 +0000 (07:52 -0800)]
Changes to windows based discussion of .nethackrc.

5 years agouse new Windows file names
nhmall [Sun, 3 Nov 2019 02:43:25 +0000 (22:43 -0400)]
use new Windows file names

5 years agoWindows Makefile catch-up bits
nhmall [Sun, 3 Nov 2019 02:33:34 +0000 (22:33 -0400)]
Windows Makefile catch-up bits

5 years agoRenamed configuration file for windows to .nethackrc.
Bart House [Sun, 3 Nov 2019 02:11:26 +0000 (19:11 -0700)]
Renamed configuration file for windows to .nethackrc.

Also adjusted name of template files populated during windows builds.

5 years agoUpdated guidebook to discuss new loc and name of configuration file on win.
Bart House [Sun, 3 Nov 2019 01:18:48 +0000 (18:18 -0700)]
Updated guidebook to discuss new loc and name of configuration file on win.

5 years agoRenamed defaults.nh to .nethackrc for windows.
Bart House [Sun, 3 Nov 2019 01:18:02 +0000 (18:18 -0700)]
Renamed defaults.nh to .nethackrc for windows.

5 years agoRemoved the redundant #if definded(MSDOS).
Bart House [Sun, 3 Nov 2019 01:17:10 +0000 (18:17 -0700)]
Removed the redundant #if definded(MSDOS).

5 years agocouple of Guidebook.tex bits
PatR [Sun, 3 Nov 2019 00:15:54 +0000 (17:15 -0700)]
couple of Guidebook.tex bits

More symbols:  I left out a word on the continutation line for S_stone
and S_tool has been forcing narrow space where ordinary <comma><space>
was intended.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Sat, 2 Nov 2019 23:57:57 +0000 (16:57 -0700)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoUpdates to fixes36.3 for recent work.
Bart House [Sat, 2 Nov 2019 23:57:43 +0000 (16:57 -0700)]
Updates to fixes36.3 for recent work.

5 years agoGuidebook.tex catch up, Guideboon.mn bits
PatR [Sat, 2 Nov 2019 23:05:39 +0000 (16:05 -0700)]
Guidebook.tex catch up, Guideboon.mn bits

Guidebook.tex not tested.  The \, in the continuation of S_stone is
a narrow space in LaTeX.  It should be \hspace{ width of '(' } but
I don't remember how to measure something in LaTeX or TeX.

Guidebook.mn is getting two small changes:  I forgot about the
guideline that each sentence be on its own line.  Also, this adds the
fix for wide lines in the dungeoneers list although the reordering
accompanying a recent change might have made that moot (unless some
future reordering puts wide names on the same line again, assuming
that was the issue).

5 years agoMake type Win10 and gWin10 local to win10.c module.
Bart House [Sat, 2 Nov 2019 19:10:13 +0000 (12:10 -0700)]
Make type Win10 and gWin10 local to win10.c module.

5 years agoFix cut and paste error in output string.
Bart House [Sat, 2 Nov 2019 18:51:20 +0000 (11:51 -0700)]
Fix cut and paste error in output string.

5 years agoMove is_desktop_bridge() api to win10 wrapper.
Bart House [Sat, 2 Nov 2019 18:39:11 +0000 (11:39 -0700)]
Move is_desktop_bridge() api to win10 wrapper.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Sat, 2 Nov 2019 13:32:22 +0000 (09:32 -0400)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agomissing constants on mingw build fix
nhmall [Sat, 2 Nov 2019 13:23:34 +0000 (09:23 -0400)]
missing constants on mingw build fix

Errors seen during build:
o/windmain.o:windmain.c:(.rdata$.refptr.FOLDERID_ProgramData[.refptr.FOLDERID_ProgramData]+0x0): undefined reference to `FOLDERID_ProgramData'
o/windmain.o:windmain.c:(.rdata$.refptr.FOLDERID_LocalAppData[.refptr.FOLDERID_LocalAppData]+0x0): undefined reference to `FOLDERID_LocalAppData'
o/windmain.o:windmain.c:(.rdata$.refptr.FOLDERID_Profile[.refptr.FOLDERID_Profile]+0x0): undefined reference to `FOLDERID_Profile'
collect2.exe: error: ld returned 1 exit status
mingw32-make: *** [Makefile:849: ../binary/NetHack.exe] Error 1

DEFINE_KNOWN_FOLDER is using this particular definition in the mingw
header files:

rather than this one:

So, the known folder values that recent code is using such as
FOLDERID_ProgramData, FOLDERID_LocalAppData, and FOLDERID_Profile are
being declared as external constants.

That is why the error is a link error. We need to include -luuid on
the link command line because those external constants are defined
in uuid.lib.

5 years agoGuidebook.mn Symbols section
PatR [Sat, 2 Nov 2019 10:32:35 +0000 (03:32 -0700)]
Guidebook.mn Symbols section

The table listing symset entries was ok for ps/pdf output but for
plain text output it was wrapping to a second line for S_xan,
S_pet_override, and S_player_override and also going past the right
margin for some others.  I've shortened the text for those three
and narrowed the first column to give more room for the third column,
bringing all the lines within their margin.

The entry for S_stone was rather surprising:  "dark part of a room".
It now says "solid rock or unexplored terrain or dark part of a room"
and needed to span two lines.

The first column has been labeled "Default" but that was why that
column was wider than necessary.  It now has a label of two spaces
and is left justified instead of being centered.  It is also now
forcing constant-width Roman as the font and every character in that
column should be the same size so one reason for centering is removed.

The title used to be centered but always looked a bit off due to the
fact that the three columns have differing widths and/or because of
the over-wide lines changing the location of "center".  It is now
left justified and looks a little bit like it's labeling the first
column.  Perhaps it needs a blank line separating it from the rest.

Guidebook.tex is lagging again.

5 years agoPrevent leashing monsters with no extremities
Pasi Kallinen [Sat, 2 Nov 2019 09:40:12 +0000 (11:40 +0200)]
Prevent leashing monsters with no extremities

... and also unsolid monsters.

5 years agoname correction
nhmall [Sat, 2 Nov 2019 05:44:00 +0000 (01:44 -0400)]
name correction

5 years agodungeoneers update
nhmall [Sat, 2 Nov 2019 05:40:58 +0000 (01:40 -0400)]
dungeoneers update

5 years agobump Windows supported version in mingw-w64 sys/winnt/Makefile.gcc
nhmall [Sat, 2 Nov 2019 05:03:02 +0000 (01:03 -0400)]
bump Windows supported version in mingw-w64 sys/winnt/Makefile.gcc

mingw-w64 sys/winnt/Makefile.gcc required a Windows version bump from
0x0501 to 0x0601 (XP level to Windows 7 level) during compile in
order for the mingw system header files to include some of the
needed support for recent Windows port changes.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Fri, 1 Nov 2019 20:33:30 +0000 (16:33 -0400)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoRevert "quiet a mingw warning"
nhmall [Fri, 1 Nov 2019 20:33:04 +0000 (16:33 -0400)]
Revert "quiet a mingw warning"

This reverts commit e33dfed4561d8184d17f751dde901294387183f7.

5 years agoFix pet polyed to long worm staying leashed
Pasi Kallinen [Fri, 1 Nov 2019 17:04:24 +0000 (19:04 +0200)]
Fix pet polyed to long worm staying leashed

Long worms cannot be leashed, but polymorphing a leashed pet
into a long worm kept it leashed.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Fri, 1 Nov 2019 16:49:15 +0000 (12:49 -0400)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agomore doc updates and tweaks
nhmall [Fri, 1 Nov 2019 16:48:09 +0000 (12:48 -0400)]
more doc updates and tweaks

5 years agoNew package submitted to microsoft store.
Bart House [Fri, 1 Nov 2019 03:37:43 +0000 (20:37 -0700)]
New package submitted to microsoft store.

5 years agoMerge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into...
Bart House [Fri, 1 Nov 2019 03:18:41 +0000 (20:18 -0700)]
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6

5 years agoChanges to player selection dialog support to respond to per-monitor DPI.
Bart House [Fri, 1 Nov 2019 03:18:27 +0000 (20:18 -0700)]
Changes to player selection dialog support to respond to per-monitor DPI.

5 years agoquiet a mingw warning
nhmall [Thu, 31 Oct 2019 23:43:59 +0000 (19:43 -0400)]
quiet a mingw warning