]> granicus.if.org Git - nethack/log
nethack
3 years agoChronicle of major events, and livelog
Pasi Kallinen [Wed, 9 Feb 2022 20:36:19 +0000 (22:36 +0200)]
Chronicle of major events, and livelog

Log game events, such as entering a new dungeon level, breaking
a conduct, or killing a unique monster, in a new "Major events"
chronicle. The entries record the turn when the event happened.
The log can be viewed with #chronicle -command, and the entries
also show up in the end-of-game dump, if that is available.

This feature is on by default, but can be disabled by
defining NO_CHRONICLE compile-time option.

This also contains "live logging", writing the events as they
happen into a single livelog-file. This is mostly useful for
public servers. The livelog is off by default, and must be
compiled in with LIVELOG, and then turned on in sysconf.

Mostly this a version of livelogging from the Hardfought server,
with some changes.

3 years agowater description tweaks
PatR [Wed, 9 Feb 2022 19:55:08 +0000 (11:55 -0800)]
water description tweaks

Fix a comment typo and add a couple of extra comments.  The two minor
code changes don't affect behavior but might improve clarity.

3 years agoenhanced water description
PatR [Wed, 9 Feb 2022 12:16:27 +0000 (04:16 -0800)]
enhanced water description

Redo how do_screen_description() handles water.  Mainly by using
waterbody_name() for farlook/quicklook and autodescribe to get
hallucinatory descriptions, but it replaces some old hackery with
quite a bit of new hackery.  Applies to lava and ice too.  The latter
is now "frozen <foo>" when hallucinating, where <foo> has a small
chance to be "water" but will usually be something like "tea" or
"clotted blood".

3 years agotab to spaces follow-up
nhmall [Wed, 9 Feb 2022 10:52:55 +0000 (05:52 -0500)]
tab to spaces follow-up

Also, the commit for 0e9ecb88fbf883350a9feb3c4c616a2e6282d5e3
was missing the issue close directive, so do it here.

Closes #674

3 years agodon't dereference NULL u.ustuck in dobuzz()
nhmall [Wed, 9 Feb 2022 10:47:08 +0000 (05:47 -0500)]
don't dereference NULL u.ustuck in dobuzz()

3 years agotrap magic number follow-up
nhmall [Wed, 9 Feb 2022 00:29:27 +0000 (19:29 -0500)]
trap magic number follow-up

3 years agoreplace some trap function result magic numbers
nhmall [Wed, 9 Feb 2022 00:16:42 +0000 (19:16 -0500)]
replace some trap function result magic numbers

3 years agofix mintrap() return value and resurrect dead code
nhmall [Tue, 8 Feb 2022 22:31:34 +0000 (17:31 -0500)]
fix mintrap() return value and resurrect dead code

fixes #672

3 years agofixes3-7-0.txt updates for pr #669 and pr #671
nhmall [Tue, 8 Feb 2022 21:20:58 +0000 (16:20 -0500)]
fixes3-7-0.txt updates for pr #669 and pr #671

3 years agoMerge branch 'pr671' into NetHack-3.7
nhmall [Tue, 8 Feb 2022 21:10:49 +0000 (16:10 -0500)]
Merge branch 'pr671' into NetHack-3.7

3 years agoMerge branch 'fix-shk' of https://github.com/argrath/NetHack into pr671
nhmall [Tue, 8 Feb 2022 21:09:52 +0000 (16:09 -0500)]
Merge branch 'fix-shk' of https://github.com/argrath/NetHack into pr671

3 years agoAdd null-check on repairable_damage()
SHIRAKATA Kentaro [Tue, 8 Feb 2022 15:17:16 +0000 (00:17 +0900)]
Add null-check on repairable_damage()

Add null-check of dam before its first use.

3 years agowishing for water terrain
PatR [Tue, 8 Feb 2022 19:06:26 +0000 (11:06 -0800)]
wishing for water terrain

Allow a wizard mode wish for "wall of water" to create WATER terrain.
Previously there was no way to do that.  Wishing for "pool" and "moat"
work but "water" for terrain isn't supported because it yields a potion.

3 years agoremove more leading zeroes
nhkeni [Tue, 8 Feb 2022 16:35:44 +0000 (11:35 -0500)]
remove more leading zeroes

3 years agodlb.6: remove leading zero from day-of-month
nhkeni [Tue, 8 Feb 2022 15:31:43 +0000 (10:31 -0500)]
dlb.6: remove leading zero from day-of-month

3 years agoMerge branch 'pr669' into NetHack-3.7
nhmall [Tue, 8 Feb 2022 13:21:34 +0000 (08:21 -0500)]
Merge branch 'pr669' into NetHack-3.7

3 years agoadd null-check on fill_special_room()
SHIRAKATA Kentaro [Tue, 8 Feb 2022 08:20:50 +0000 (17:20 +0900)]
add null-check on fill_special_room()

Add null-check of croom before its first use.

3 years agousing prefixes via their extended command names
PatR [Tue, 8 Feb 2022 00:53:56 +0000 (16:53 -0800)]
using prefixes via their extended command names

Trying to use #reqmenu/#rush/#run/#fight prefixes by their extended
command names didn't work because rhack()'s post-processing was stuck
dealing with the entry for the '#' key after using doextcmd() to run
any command.  Use a static variable (actually a global one since I put
it into struct g) to notify rhack() of the command that ultimately got
executed.

3 years ago<Mon> suddenly appears! vs ^G
PatR [Mon, 7 Feb 2022 23:55:04 +0000 (15:55 -0800)]
<Mon> suddenly appears! vs ^G

For ^G, throttle the monster creation feedback.  Don't say "suddenly"
and don't exclaim the message, just say "<Mon> appears."  Also, use
Norep() so creating lots of similar monsters at once only gives a few
messages (just one unless varied by "next to you" vs "nearby" vs no
qualifier for farther away).  And for mimics created as objects or
furniture, report the sudden appearance of new object or furniture.

3 years agodisallow g/G/F prefix with rush/run commands
PatR [Mon, 7 Feb 2022 22:22:41 +0000 (14:22 -0800)]
disallow g/G/F prefix with rush/run commands

Reject an attempt to specify a conflicting or redundant prefix with
a Ctrl+<move> or Shift+<move> (not numpad) or Alt+<move> (numpad).
'm' prefix is accepted.

3 years agovms bits to c99
nhmall [Thu, 28 Jan 2021 02:15:31 +0000 (21:15 -0500)]
vms bits to c99

3 years agothere was some left-over k&r code in win/chain
nhmall [Mon, 7 Feb 2022 19:58:16 +0000 (14:58 -0500)]
there was some left-over k&r code in win/chain

3 years agofix two reported warnings with SERVER_ADMIN_MSG defined
nhmall [Mon, 7 Feb 2022 14:16:31 +0000 (09:16 -0500)]
fix two reported warnings with SERVER_ADMIN_MSG defined

Report stated a -Wformat-nonliteral at line 612,
and a -Wformat-security at line 614

I was only seeing the latter, so I added the former to the
flags in sys/unix/hints/include/compiler.370. Some compiler
versions have that warning on by default internally and others
don't. If the format string isn't a string literal, there's no
inteference with printf argument checking because that only
operates on string literals.

3 years agoFix copy-paste error
Pasi Kallinen [Mon, 7 Feb 2022 11:09:52 +0000 (13:09 +0200)]
Fix copy-paste error

3 years agomove up/down tweak
PatR [Mon, 7 Feb 2022 10:29:01 +0000 (02:29 -0800)]
move up/down tweak

Have '<' and '>' accept 'm' prefix for move without autopickup but
disallow the other movement prefix keys.

3 years agoMake double fight prefix cancel out
Pasi Kallinen [Mon, 7 Feb 2022 07:14:47 +0000 (09:14 +0200)]
Make double fight prefix cancel out

3 years agomore command prefix handling
PatR [Mon, 7 Feb 2022 02:09:23 +0000 (18:09 -0800)]
more command prefix handling

When a command doesn't allow a prefix, go back to showing the prefix
keystroke in the can't-do-that feedback rather than the command name
that it has for potential binding.  I went away from that earlier
after typing 'G' followed by 'o' and getting "the open command does
not accept 5 prefix" instead of "G prefix".

Fix the lookup routine which was responsible for that.  At least
partially fix it; actually it only ignores digits for !numpad.  If a
numpad user types G where it isn't allowed, the feedback will still
be about 5 instead of G.  The code is going from keystroke-used to
command-it-invokes back to keystroke-for-command which won't
necessarily yield the original keystroke because a command can be
bound to more than one key.

3 years agofix movement prefixes
PatR [Mon, 7 Feb 2022 01:46:31 +0000 (17:46 -0800)]
fix movement prefixes

My earlier change resulted in rejecting all commands entered after
a movement prefix key, rather than just ones that aren't supposed to
take any prefix.

This fixes that and also restores the ability to use 'm>' or 'm<' on
stairs to change levels without auto-pickup at the destination.

3 years agowater description
PatR [Sun, 6 Feb 2022 21:20:15 +0000 (13:20 -0800)]
water description

The wall of water goaded me into updating waterbody_name().  It's
mostly the same, aside from being moved from mkmaze.c to pager.c and
adding "{wall of|limitless} water" instead of plain "water" for WATER
terrain.  I'm not very happy with "limitless" for the Plane of Water
because limits imposed by air bubbles are all over the place.  "Wall
of water" might work ok for that level.

Water on Medusa's level is now described as "shallow sea" rather than
lame "water".  The two unusual pools on the Samurai home level are
described as "pond" rather than previous "water" which replaced 3.6's
ridiculous "moat".  When lava is hallucinated, it is described as
"molten <substance>" (yielding silly things like "molten yoghurt"),
rather than just "<substance>" to distinguish it from hallucinated
water.  'autodescribe' doesn't use waterbody_name() though.

3 years agoupdates from cron job
nhmall [Sun, 6 Feb 2022 20:14:38 +0000 (15:14 -0500)]
updates from cron job

3 years agocommand prefix handling
PatR [Sun, 6 Feb 2022 19:51:00 +0000 (11:51 -0800)]
command prefix handling

Investigating github issue #664 by argrath turned up a more
significant problem.  Prefixes other than 'm' preceding commands
that don't use a prefix didn't get rejected but didn't do anything.

Fixes #664

3 years agoMake solid water behave more consistently
Pasi Kallinen [Sun, 6 Feb 2022 18:38:18 +0000 (20:38 +0200)]
Make solid water behave more consistently

The "water" terrain (as used on the Plane of Water) behaved
strangely outside the plane. Make it behave a bit more consistently,
although it's still not really usable elsewhere.

The rationale here being it's a solid wall of water.

Firstly, disable levitation and flying (which was already done
when moving into the water on the Plane of Water), and moving into
it refers to it as a "wall of water" to make it clear it's a solid
block of water.

3 years agoAdd unique Rider revival messages
Pasi Kallinen [Sun, 6 Feb 2022 17:58:58 +0000 (19:58 +0200)]
Add unique Rider revival messages

This comes from xNetHack by copperwater <aosdict@gmail.com>
with some changes to the code, although original change is from
SpliceHack.

3 years agoDeath attacking a monster does drain life attack
Pasi Kallinen [Sun, 6 Feb 2022 17:27:20 +0000 (19:27 +0200)]
Death attacking a monster does drain life attack

3 years agoMagic traps can toggle intrinsic invisibility
Pasi Kallinen [Sun, 6 Feb 2022 15:52:40 +0000 (17:52 +0200)]
Magic traps can toggle intrinsic invisibility

Originally from Sporkhack by Derek Ray

3 years agoprevent Windows back_buffer_flip() early on
nhmall [Sun, 6 Feb 2022 15:47:41 +0000 (10:47 -0500)]
prevent Windows back_buffer_flip() early on

3 years agofollow up for code-reordering in flush_screen()
nhmall [Sun, 6 Feb 2022 14:57:26 +0000 (09:57 -0500)]
follow up for code-reordering in flush_screen()

3 years agocomment typo
PatR [Sun, 6 Feb 2022 10:18:17 +0000 (02:18 -0800)]
comment typo

3 years agoQt-issues.txt: 'toptenwin' issue was fixed
PatR [Sun, 6 Feb 2022 09:31:14 +0000 (01:31 -0800)]
Qt-issues.txt: 'toptenwin' issue was fixed

3 years agosome Makefile.mingw32 tweaking
nhmall [Sun, 6 Feb 2022 06:02:27 +0000 (01:02 -0500)]
some Makefile.mingw32 tweaking

3 years agochange order of exe dependency in Makefile.mingw32
nhmall [Sun, 6 Feb 2022 02:51:50 +0000 (21:51 -0500)]
change order of exe dependency in Makefile.mingw32

3 years agoQt: add tool tips for status window icons
PatR [Sun, 6 Feb 2022 02:43:44 +0000 (18:43 -0800)]
Qt: add tool tips for status window icons

Show a tip if the mouse hovers over any of the various icons displayed
in the status window (for one each of the six characteristics, another
for alignment, and one for each status condition).  They all already
have text labels below but many of those are abbreviated; the tips can
be more verbose since they don't compete with each for for screen space.

Also fixes "weak" not being centered under the hunger icon.  It /was/
centered but invisible trailing spaces made the visible text be shifted
to the left.

3 years agoadjust Makefile.mingw32 for 3.7 date and time stamping
nhmall [Sun, 6 Feb 2022 02:34:55 +0000 (21:34 -0500)]
adjust Makefile.mingw32 for 3.7 date and time stamping

NetHack 3.7 stores timestamp information, as well as github
commit hashs information if available, internally by compiling
date.c. It is important to ensure that date.c is always
recompiled after any other NetHack source files are compiled.

3 years agoupdate the dependencies in sys/windows/Makefile.msc
nhmall [Sun, 6 Feb 2022 01:12:10 +0000 (20:12 -0500)]
update the dependencies in sys/windows/Makefile.msc

As usual for the visual studio nmake Makefile.msc, steal the generated
dependencies from the tail of sys/unix/Makefile.src, and adjust the text
to suit the Windows build.

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Sat, 5 Feb 2022 00:24:07 +0000 (19:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agoa slight code-reordering in flush_screen()
nhmall [Sat, 5 Feb 2022 19:12:18 +0000 (14:12 -0500)]
a slight code-reordering in flush_screen()

despite flush_screen() being called with a True argument signifying that
the cursor was to be left on the hero, sometimes the cursor wasn't. That
was confirmed through some debug tracing and discussion. The subsequent
bot() and timebot() calls could leave the cursor in the status area (on
tty at least), and that was particularly observable during some runmodes.

Get the bot() and timebot() calls out of the way ahead of the cursor
placement call to the window port.

3 years agoMerge branch 'pr668' into NetHack-3.7
nhmall [Sat, 5 Feb 2022 14:33:01 +0000 (09:33 -0500)]
Merge branch 'pr668' into NetHack-3.7

3 years agoMerge branch 'remove-redundant' of https://github.com/argrath/NetHack into pr668
nhmall [Sat, 5 Feb 2022 13:57:16 +0000 (08:57 -0500)]
Merge branch 'remove-redundant' of https://github.com/argrath/NetHack into pr668

3 years agoQt 5 vs Qt 6 revisited plus 'make depend' update
PatR [Sat, 5 Feb 2022 12:15:51 +0000 (04:15 -0800)]
Qt 5 vs Qt 6 revisited plus 'make depend' update

Rename the recently added timestamp file used to throw away old qt
'moc' files from moc.qt5 or moc.qt6 to Qt5.h-t or Qt6.h-t and use
that to also throw away old qt_*.o when switching from Qt 5 to Qt 6
or vice versa.  Temporarily the old names remain in Makefile.src's
'clean' target and in src/.gitignore but those will be removed soon.

Update 'make depend' to add the timestamp file to qt_*.o dependencies.
Have it generate rules to build qt_*.moc from ../win/Qt/qt_*.h instead
of using a template rule in hints/include/compiler.370.  So building
the Qt interface doesn't require use of that hints file anymore and
someone reading Makefile.src won't have to know about it, but using
those hints will make their life easier.

Simplify the Qt timestamp handling portion of compiler.370.  Only one
extra rule gets added when creating src/Makefile.

src/Makefile generated from sys/unix/Makefile.src that's been rebuilt
with 'make depend' got broken by uncommenting '#include "amiconf.h"'
in global.h.  That file isn't in include/ but every object file now
depended on it and make didn't know what to do about that.  Have
depend.awk treat it as a special case so that no object files depend
on it.  That means that actually modifying it won't trigger a rebuild;
anyone fiddling with that will have to always do 'make clean' or
'touch config.h-t' after changing it.  The alternative is to move it
from outdated/include/ back to include/.

In depend.awk, recent gawk complained that "\." wasn't a defined
escape sequence in regular expressions so it would be treated as ".".
That's exactly what is intended but change it to "[.]" to avoid the
warning.  Similarly for one instance each of "\#" and '\"'.  I also
tried changing "\/" to "[/]" even though that is a defined sequence
and doesn't trigger any warning.  gawk accepted it but the awk that
comes with OSX choked on it so I changed it back to "\/".

3 years agoremove redundant code
SHIRAKATA Kentaro [Wed, 2 Feb 2022 20:19:47 +0000 (05:19 +0900)]
remove redundant code

The values of lx and ly are always assigned just before their usage.
So, assignments in advance are redundant.

3 years agoDon't push unknown boulders when moving
Pasi Kallinen [Sat, 5 Feb 2022 09:30:31 +0000 (11:30 +0200)]
Don't push unknown boulders when moving

If you're blind and there's a boulder you don't know about,
don't automatically push it. Instead, give a message and show
the boulder on the map.

3 years agoFix thinko in drain life attack
Pasi Kallinen [Sat, 5 Feb 2022 08:40:34 +0000 (10:40 +0200)]
Fix thinko in drain life attack

Fixes #667

3 years agoRejigger the prefix input
Pasi Kallinen [Sat, 5 Feb 2022 08:05:26 +0000 (10:05 +0200)]
Rejigger the prefix input

Make prefix commands cancel themselves when pressed twice,
with a message saying so.

Hopefully this fixes the problems I introduced.

3 years agoremove a workaround in Makefile.mingw32
nhmall [Sat, 5 Feb 2022 04:07:22 +0000 (23:07 -0500)]
remove a workaround in Makefile.mingw32

3 years agofix Makefile.mingw32
nhmall [Sat, 5 Feb 2022 01:26:05 +0000 (20:26 -0500)]
fix Makefile.mingw32

3 years agofix github issue #666 - cursed light vs worn light
PatR [Sat, 5 Feb 2022 00:20:03 +0000 (16:20 -0800)]
fix github issue #666 - cursed light vs worn light

Another gold dragon scales/mail issue, reported bu vultur-cadens:
reading a cursed scroll of light extinguishes carried light sources
except for wielded Sunsword and worn gold dragon scales/mail; there
was a special message for Sunsword (preventing the hero from being in
darkness) but no such message for gold dragon scales/mail.  Replace
the special message with a more generic one applicable to both cases.

Also, implement the suggestion that cursed light degrade the amount
of light being emitted (which varies by bless/curse state) for those
two cases.  Sunsword has a 75% chance to resist, gold dragon scales
25% chance.  And add the inverse:  blessed scroll of light might
increase the amount of light by improving their bless/curse state.
The resistance check applies here too and isn't inverted; Sunsword
is still fairly likely to resist.

Uncursed scroll of light, spell of light regardless of skill, zapped
or broken wand of light have so such effect.

Closes #666

3 years ago.gitattributes for Xcode directory
nhmall [Sat, 5 Feb 2022 00:01:11 +0000 (19:01 -0500)]
.gitattributes for Xcode directory

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Fri, 4 Feb 2022 23:24:07 +0000 (18:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agomacOS.370 Lua
nhmall [Fri, 4 Feb 2022 23:55:12 +0000 (18:55 -0500)]
macOS.370 Lua

3 years agoLua link on Jammy Jellyfish
nhmall [Fri, 4 Feb 2022 23:03:08 +0000 (18:03 -0500)]
Lua link on Jammy Jellyfish

3 years agomore obsolete files: DECUS C's preprocessor
PatR [Fri, 4 Feb 2022 22:34:46 +0000 (14:34 -0800)]
more obsolete files: DECUS C's preprocessor

Get rid sys/share/cpp[123].shr, the pre-ANSI C preprocessor that was
included in the source distribution for use on systems with ancient
C compilers whose preprocessor that couldn't cope with nethack's large
number of macros.

3 years agoprovide a Makefile target to clean the Lua submodule
nhmall [Fri, 4 Feb 2022 22:11:09 +0000 (17:11 -0500)]
provide a Makefile target to clean the Lua submodule

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Fri, 4 Feb 2022 21:24:08 +0000 (16:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agoThis is cron-daily v1-Feb-3-2022. 005guidebook updated: doc/Guidebook.txt
nhw_cron [Fri, 4 Feb 2022 18:24:10 +0000 (13:24 -0500)]
This is cron-daily v1-Feb-3-2022.  005guidebook updated: doc/Guidebook.txt

3 years agomore obsolete file references
nhmall [Fri, 4 Feb 2022 20:52:42 +0000 (15:52 -0500)]
more obsolete file references

3 years agoremove some obsolete file references
nhmall [Fri, 4 Feb 2022 20:43:21 +0000 (15:43 -0500)]
remove some obsolete file references

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Fri, 4 Feb 2022 20:24:08 +0000 (15:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agoinadvertent space typo
nhmall [Fri, 4 Feb 2022 20:23:23 +0000 (15:23 -0500)]
inadvertent space typo

3 years agoprevent ..files value from being pull from ..
nhkeni [Fri, 4 Feb 2022 20:11:04 +0000 (15:11 -0500)]
prevent ..files value from being pull from ..
    This was creating extra nethack.ico entries in Files.

3 years agoCI update for mingw
nhmall [Fri, 4 Feb 2022 20:07:32 +0000 (15:07 -0500)]
CI update for mingw

Add GIT=1 to the make-mingw32 command

3 years agosupport use of git submodules with the Makefiles
nhmall [Fri, 4 Feb 2022 19:48:29 +0000 (14:48 -0500)]
support use of git submodules with the Makefiles

git=1 when invoking make will use the submodule submodules/lua.

On windows, it will also use the submodule submodules/pdcurses.

3 years agoupdate a couple of lagging 3.6 references
nhmall [Fri, 4 Feb 2022 17:47:05 +0000 (12:47 -0500)]
update a couple of lagging 3.6 references

3 years agoThis is cron-daily v1-Feb-3-2022. 005guidebook updated: doc/Guidebook.txt
nhw_cron [Fri, 4 Feb 2022 17:24:10 +0000 (12:24 -0500)]
This is cron-daily v1-Feb-3-2022.  005guidebook updated: doc/Guidebook.txt

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Fri, 4 Feb 2022 16:24:08 +0000 (11:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agoupdate OS terminology used in some text references
nhmall [Fri, 4 Feb 2022 16:26:14 +0000 (11:26 -0500)]
update OS terminology used in some text references

3 years agomore .gitattributes updates
nhmall [Fri, 4 Feb 2022 16:01:20 +0000 (11:01 -0500)]
more .gitattributes updates

3 years agoupdated Files
nhmall [Fri, 4 Feb 2022 15:43:43 +0000 (10:43 -0500)]
updated Files

3 years agoThis is cron-daily v1-Feb-3-2022. 000files updated: Files
nhw_cron [Fri, 4 Feb 2022 15:24:08 +0000 (10:24 -0500)]
This is cron-daily v1-Feb-3-2022.  000files updated: Files

3 years agotake 2 on src/.gitattributes
nhmall [Fri, 4 Feb 2022 14:41:30 +0000 (09:41 -0500)]
take 2 on src/.gitattributes

3 years agoRevert "revert today's src/.gitattributes changes"
nhmall [Fri, 4 Feb 2022 14:40:31 +0000 (09:40 -0500)]
Revert "revert today's src/.gitattributes changes"

This reverts commit 5204eef9c0fae383385cf7b755a09f3c4764b3dc.

3 years agoRevert "This is cron-daily v1-Jan-26-2022. 000files updated: Files"
nhmall [Fri, 4 Feb 2022 14:39:23 +0000 (09:39 -0500)]
Revert "This is cron-daily v1-Jan-26-2022.  000files updated: Files"

This reverts commit 6d513efc1ed07669fcd48d62536a5aed0cb7b97e.

3 years agoFix mention_walls distinguishing unseen walls from solid stone
Pasi Kallinen [Fri, 4 Feb 2022 12:02:15 +0000 (14:02 +0200)]
Fix mention_walls distinguishing unseen walls from solid stone

Bumping into an unseen wall reported "a wall" instead of "solid stone",
even though you could not know it was a wall when looking at it.

Use the same method when looking at glyphs on the map instead of
the map location type.

Fixes #318

3 years agorevert today's src/.gitattributes changes
nhmall [Thu, 3 Feb 2022 17:31:21 +0000 (12:31 -0500)]
revert today's src/.gitattributes changes

For now. They appear to have broken some automation.

3 years agoyet even more src/.gitattributes (final?)
nhmall [Thu, 3 Feb 2022 16:26:49 +0000 (11:26 -0500)]
yet even more src/.gitattributes (final?)

3 years agoeven more src/.gitattributes
nhmall [Thu, 3 Feb 2022 16:24:07 +0000 (11:24 -0500)]
even more src/.gitattributes

3 years agomore src/.gitattributes
nhmall [Thu, 3 Feb 2022 16:22:29 +0000 (11:22 -0500)]
more src/.gitattributes

3 years agoupdate src/.gitattributes for cron-job purposes
nhmall [Thu, 3 Feb 2022 16:19:54 +0000 (11:19 -0500)]
update src/.gitattributes for cron-job purposes

3 years agoThis is cron-daily v1-Jan-26-2022. 000files updated: Files
nhw_cron [Thu, 3 Feb 2022 12:24:08 +0000 (07:24 -0500)]
This is cron-daily v1-Jan-26-2022.  000files updated: Files

3 years agorubber hose attacks
PatR [Thu, 3 Feb 2022 12:42:19 +0000 (04:42 -0800)]
rubber hose attacks

Give similar feedback for attacking with a rubber hose as for bullwhip:
the wielder "lashes" rather than "swings".

3 years agoQt: add tool tips to to extended command selector
PatR [Thu, 3 Feb 2022 12:17:30 +0000 (04:17 -0800)]
Qt: add tool tips to to extended command selector

For the grid of extended commands used to pick one after typing "#",
show a command's description if the mouse hovers over its button.
For once something with Qt was actually easy.

3 years agoFiles update
PatR [Thu, 3 Feb 2022 11:29:14 +0000 (03:29 -0800)]
Files update

3 years agoupdate .gitignore
PatR [Thu, 3 Feb 2022 08:27:43 +0000 (00:27 -0800)]
update .gitignore

Ignore the new timestamp files src/moc.qt5 and src/moc.qt6.  They
probably ought to be renamed Qt*.moc-t but I haven't done that.

Also put back vis_tab.* in case someone checks out 3.6 and builds
that, then checks out 3.7 without doing 'make spotless' first.

3 years agoremove some duplicated code in monst.c
nhmall [Thu, 3 Feb 2022 02:26:01 +0000 (21:26 -0500)]
remove some duplicated code in monst.c

3 years agostatic keyword on prototype, but function missing it
nhmall [Wed, 2 Feb 2022 20:33:49 +0000 (15:33 -0500)]
static keyword on prototype, but function missing it

error 28 in line 4090 of "invent.c": redeclaration of var <adjust_ok> with new storage-class
error 28 in line 4100 of "invent.c": redeclaration of var <adjust_gold_ok> with new storage-class
error 28 in line 610 of "mdlib.c": redeclaration of var <count_and_validate_winopts> with new storage-class
error 28 in line 3846 of "options.c": redeclaration of var <pfxfn_cond_> with new storage-class
error 28 in line 3886 of "options.c": redeclaration of var <pfxfn_font> with new storage-class
error 28 in line 5307 of "options.c": redeclaration of var <determine_ambiguities> with new storage-class
error 28 in line 5343 of "options.c": redeclaration of var <length_without_val> with new storage-class
error 28 in line 6853 of "options.c": redeclaration of var <illegal_menu_cmd_key> with new storage-class
error 28 in line 7708 of "options.c": redeclaration of var <count_apes> with new storage-class
error 28 in line 2686 of "pickup.c": redeclaration of var <stash_ok> with new storage-class
error 28 in line 1008 of "read.c": redeclaration of var <can_center_cloud> with new storage-class
error 28 in line 31 of "rnd.c": redeclaration of var <whichrng> with new storage-class

3 years agofixes entry for pull request #665 - mplayer chat
PatR [Wed, 2 Feb 2022 19:58:12 +0000 (11:58 -0800)]
fixes entry for pull request #665 - mplayer chat

From entrez:  Have fake players respond to #chat via verbalize() rather
than pline() since those responses are spoken.

Closes #665

3 years agoUse verbalize for player monster speech
Michael Meyer [Wed, 2 Feb 2022 18:56:49 +0000 (13:56 -0500)]
Use verbalize for player monster speech

Attempting to chat with a player monster would inspire a witty retort,
but it was presented without quotation marks and so differed from other
types of monster speech.

3 years agoremove unintentional repeat code in outdated file
nhmall [Wed, 2 Feb 2022 15:25:40 +0000 (10:25 -0500)]
remove unintentional repeat code in outdated file

3 years agofix #K3455 - rocks vs xorns
PatR [Wed, 2 Feb 2022 13:26:03 +0000 (05:26 -0800)]
fix #K3455 - rocks vs xorns

Implement the suggestion that falling rock traps and rolling boulder
traps be harmless to xorns.  I've extended that to all missiles made
of stone (rocks, gems, boulders, a handful of other things that will
only matter if poly'd hero throws in '<' direction or is hit by stuff
scattered by an explosion).

I excluded ghosts because they would become even harder to kill and
the missile handling would need extra checks to test for blessed objs.

3 years agoThis is cron-daily v1-Jan-26-2022. 000files updated: Files
nhw_cron [Tue, 1 Feb 2022 22:24:08 +0000 (17:24 -0500)]
This is cron-daily v1-Jan-26-2022.  000files updated: Files

3 years agofollow-up to tilemap.c change
nhmall [Tue, 1 Feb 2022 22:18:44 +0000 (17:18 -0500)]
follow-up to tilemap.c change