]> granicus.if.org Git - nethack/log
nethack
6 years agoadd prototype
nhmall [Mon, 30 Apr 2018 02:50:07 +0000 (22:50 -0400)]
add prototype

(cherry picked from commit 438cfd3815420aab1b7a8bbaf06f3ba2c9b3fe59)

6 years agointegrate aklys feature introduced in 3.6.1 into display
nhmall [Sun, 29 Apr 2018 14:40:11 +0000 (10:40 -0400)]
integrate aklys feature introduced in 3.6.1 into display

(cherry picked from commit 3fe8325f14481f450058c0b7b4abba0bbe25a6ef)

6 years agoMerge branch 'win-minor' into NetHack-3.6.0
nhmall [Tue, 15 May 2018 05:30:31 +0000 (01:30 -0400)]
Merge branch 'win-minor' into NetHack-3.6.0

6 years agoboundary bit
nhmall [Tue, 15 May 2018 05:29:36 +0000 (01:29 -0400)]
boundary bit

6 years agocatch up on fixes36.2 updates
nhmall [Tue, 15 May 2018 05:10:32 +0000 (01:10 -0400)]
catch up on fixes36.2 updates

6 years agoMerge branch 'win-minor' into NetHack-3.6.0
nhmall [Tue, 15 May 2018 04:27:11 +0000 (00:27 -0400)]
Merge branch 'win-minor' into NetHack-3.6.0

6 years agoMerge branch 'win-tty-status' into win-minor
nhmall [Tue, 15 May 2018 04:26:26 +0000 (00:26 -0400)]
Merge branch 'win-tty-status' into win-minor

6 years agoa few cut-and-paste errors
nhmall [Tue, 15 May 2018 02:25:25 +0000 (22:25 -0400)]
a few cut-and-paste errors

6 years agosome tty per field rendering and optimization
nhmall [Tue, 15 May 2018 01:13:37 +0000 (21:13 -0400)]
some tty per field rendering and optimization

6 years agoput back the functionality of commandline --debug:immediateflips overwritten recently
nhmall [Tue, 15 May 2018 01:09:01 +0000 (21:09 -0400)]
put back the functionality of commandline --debug:immediateflips overwritten recently

6 years agoAdditional changes to xputc_core() and early_raw_print() to manage
Bart House [Mon, 14 May 2018 03:46:43 +0000 (20:46 -0700)]
Additional changes to xputc_core() and early_raw_print() to manage
the cursor position correctly.  This is needed to handle raw printing
correctly.  Added check for when we might be running off the bottom
of the screen when handling msmsg().  Added runtime checks to keep
cursor always within bounds.

6 years agoChanges to xputc_core to handle cursor correctly.
Bart House [Mon, 14 May 2018 01:54:20 +0000 (18:54 -0700)]
Changes to xputc_core to handle cursor correctly.

6 years agotesting build with STATUS_HILITES
nhmall [Mon, 14 May 2018 01:24:14 +0000 (21:24 -0400)]
testing build with STATUS_HILITES

6 years agomissing stubs for NetHackW.exe
nhmall [Sun, 13 May 2018 20:42:11 +0000 (16:42 -0400)]
missing stubs for NetHackW.exe

6 years agoRemoving temporary debugging code and fixing compiler warnings.
Bart House [Sun, 13 May 2018 20:29:13 +0000 (13:29 -0700)]
Removing temporary debugging code and fixing compiler warnings.

6 years agoFixing typo.
Bart House [Sun, 13 May 2018 19:49:52 +0000 (12:49 -0700)]
Fixing typo.

6 years agoMerge branch 'tty-status' into win-tty-status
nhmall [Sun, 13 May 2018 19:21:46 +0000 (15:21 -0400)]
Merge branch 'tty-status' into win-tty-status

6 years agomore status updates
nhmall [Sun, 13 May 2018 19:19:39 +0000 (15:19 -0400)]
more status updates

- prevent an overflow
- add make_things_fit()

6 years agoFix memory leak. See bug 1169.
Bart House [Sun, 13 May 2018 02:45:16 +0000 (19:45 -0700)]
Fix memory leak.  See bug 1169.

6 years agofix #H7140 - list MSGTYPE values shows empty strings
PatR [Sat, 12 May 2018 08:05:29 +0000 (01:05 -0700)]
fix #H7140 - list MSGTYPE values shows empty strings

The 'O' menu's 'list' for MSGTYPE settings showed truncated versions
of really long message strings but didn't show anything except the
hide/stop/norep setting for ordinary length ones.  3.6.0 showed the
latter correctly but suffered buffer overflow for the former; the
fix for that had a typo/thinko in it.

6 years agofix "a Vlad the Impaler"
PatR [Sat, 12 May 2018 13:41:57 +0000 (06:41 -0700)]
fix "a Vlad the Impaler"

Killing Vlad while he was in bat/fog cloud/wolf form gave poorly
worded feedback when he reverted to vampire form.

6 years agoFix for bug 324 (aka H4216). We now will use nhraykey by default if the
Bart House [Sun, 13 May 2018 01:06:23 +0000 (18:06 -0700)]
Fix for bug 324 (aka H4216).  We now will use nhraykey by default if the
players keyboard layout is non-english.  nhraykey properly handles
non-english input.  We also now support changing altkeyhandler in game.

6 years agoSome nttty.c clean-up.
Bart House [Sat, 12 May 2018 22:58:44 +0000 (15:58 -0700)]
Some nttty.c clean-up.

6 years agoAdded ntassert() mechanism for Windows based port use.
Bart House [Sat, 12 May 2018 20:59:06 +0000 (13:59 -0700)]
Added ntassert() mechanism for Windows based port use.

6 years agoMerge branch 'tty-status' into win-tty-status
nhmall [Sat, 12 May 2018 18:44:12 +0000 (14:44 -0400)]
Merge branch 'tty-status' into win-tty-status

6 years agoempty field suppression caught condition values unintentionally
nhmall [Sat, 12 May 2018 18:42:19 +0000 (14:42 -0400)]
empty field suppression caught condition values unintentionally

6 years agomore status handling updates
nhmall [Sat, 12 May 2018 18:10:52 +0000 (14:10 -0400)]
more status handling updates

Suppress unneeded spaces from a couple of fields
BL_LEVELDESC - trailing spaces.
BL_CAP - it only contains a space

6 years agosome build fixes for compile issues reported
nhmall [Sat, 12 May 2018 10:57:34 +0000 (06:57 -0400)]
some build fixes for compile issues reported

6 years agocondition shrinkage when required
nhmall [Sat, 12 May 2018 06:18:42 +0000 (02:18 -0400)]
condition shrinkage when required

6 years agoremove some debug code
nhmall [Sat, 12 May 2018 05:10:43 +0000 (01:10 -0400)]
remove some debug code

6 years agomissing return value
nhmall [Sat, 12 May 2018 05:07:54 +0000 (01:07 -0400)]
missing return value

6 years agomore tty-status updates
nhmall [Sat, 12 May 2018 05:04:57 +0000 (01:04 -0400)]
more tty-status updates

6 years agoupdate files.c with testinglog
nhmall [Thu, 10 May 2018 22:54:58 +0000 (18:54 -0400)]
update files.c with testinglog

6 years agoadd some logging to debug
nhmall [Thu, 10 May 2018 22:48:02 +0000 (18:48 -0400)]
add some logging to debug

6 years agoprovide some debug developer controls - part 1
nhmall [Thu, 10 May 2018 14:05:29 +0000 (10:05 -0400)]
provide some debug developer controls - part 1

6 years agoRevert "some cross platform testing"
nhmall [Wed, 9 May 2018 22:51:49 +0000 (18:51 -0400)]
Revert "some cross platform testing"

This reverts commit 3d1e086648fa5657ee6181c8ae169af769d0e2c5.

6 years agocross platform testing
nhmall [Wed, 9 May 2018 22:47:19 +0000 (18:47 -0400)]
cross platform testing

6 years agosome cross platform testing
nhmall [Wed, 9 May 2018 22:31:18 +0000 (18:31 -0400)]
some cross platform testing

6 years agoMerge branch 'barthouse-bugH7132' into NetHack-3.6.0
nhmall [Wed, 9 May 2018 22:07:52 +0000 (18:07 -0400)]
Merge branch 'barthouse-bugH7132' into NetHack-3.6.0

6 years agoremove a commented out code line
nhmall [Wed, 9 May 2018 17:25:46 +0000 (13:25 -0400)]
remove a commented out code line

6 years agotty status updates
nhmall [Wed, 9 May 2018 17:12:11 +0000 (13:12 -0400)]
tty status updates

some status code cleanup

It should be ready to merge tty-status changes into NetHack-3.6.0.

6 years agoFix for bug H7132.
Bart House [Tue, 8 May 2018 14:25:24 +0000 (07:25 -0700)]
Fix for bug H7132.
In nethackw, there can be conflicts between menu accelerators and an extra
choice accelerator.  For example, when engraving the using fingers options
conflicts with the unselect all menu accelerator.  The extra choice
accelerator should take precedence.

6 years agooptimization of output was ruining display effects
nhmall [Tue, 8 May 2018 00:20:36 +0000 (20:20 -0400)]
optimization of output was ruining display effects

6 years agointermediate update to wintty.c as work continues
nhmall [Mon, 7 May 2018 22:52:50 +0000 (18:52 -0400)]
intermediate update to wintty.c as work continues

6 years agosome status data corrections
nhmall [Mon, 7 May 2018 12:41:54 +0000 (08:41 -0400)]
some status data corrections

6 years agoMerge branch 'barhouse-lagFix' into tty-status
nhmall [Sun, 6 May 2018 22:23:21 +0000 (18:23 -0400)]
Merge branch 'barhouse-lagFix' into tty-status

6 years agoImplemented a fix to the lag problems that are occuring with the Win32
Bart House [Sun, 6 May 2018 08:13:30 +0000 (01:13 -0700)]
Implemented a fix to the lag problems that are occuring with the Win32
console port.  The fix implements a console back buffer which
significantly reduces the number of calls made to WriteConsoleOutputXXX
and eliminates the lag users have been experiencing.

6 years agomerge glitch cleanup
nhmall [Sun, 6 May 2018 21:52:29 +0000 (17:52 -0400)]
merge glitch cleanup

6 years agoMerge branch 'lagfix' of https://github.com/barthouse/NetHackPublic into tty-status
nhmall [Sun, 6 May 2018 20:52:11 +0000 (16:52 -0400)]
Merge branch 'lagfix' of https://github.com/barthouse/NetHackPublic into tty-status

6 years agoUpdated console back buffer support to correctly size the buffers as
Bart House [Sun, 6 May 2018 20:22:36 +0000 (13:22 -0700)]
Updated console back buffer support to correctly size the buffers as
appropriate.

6 years agomore performance fixes for the port code portion
nhmall [Sun, 6 May 2018 10:04:33 +0000 (06:04 -0400)]
more performance fixes for the port code portion

6 years agoConsole buffer support for variable size console windows.
Bart House [Sun, 6 May 2018 09:47:17 +0000 (02:47 -0700)]
Console buffer support for variable size console windows.

6 years agoMerge branch 'ghpr91' into tty-status
nhmall [Sun, 6 May 2018 09:23:03 +0000 (05:23 -0400)]
Merge branch 'ghpr91' into tty-status

6 years agoQuick fix to buffer height. Will need to determine why we needed a
Bart House [Sun, 6 May 2018 08:40:13 +0000 (01:40 -0700)]
Quick fix to buffer height.  Will need to determine why we needed a
buffer height of 26.

6 years agoImplemented a fix to the lag problems that are occuring with the Win32
Bart House [Sun, 6 May 2018 08:13:30 +0000 (01:13 -0700)]
Implemented a fix to the lag problems that are occuring with the Win32
console port.  The fix implements a console back buffer which
significantly reduces the number of calls made to WriteConsoleOutputXXX
and eliminates the lag users have been experiencing.

6 years agouncomment BETA for fix-test binary
nhmall [Sun, 6 May 2018 00:42:55 +0000 (20:42 -0400)]
uncomment BETA for fix-test binary

6 years agodo some performance optimizations on highlighting of tty status
nhmall [Sat, 5 May 2018 23:43:10 +0000 (19:43 -0400)]
do some performance optimizations on highlighting of tty status

7 years agolast line of config file wasn't heeded if newline was missing
nhmall [Sat, 28 Apr 2018 21:22:21 +0000 (17:22 -0400)]
last line of config file wasn't heeded if newline was missing

7 years agoSpecify both width and height when creating font for width testing
nhmall [Sat, 28 Apr 2018 16:11:19 +0000 (12:11 -0400)]
Specify both width and height when creating font for width testing

From Bart...

When we are creating the console font for testing character widths,
we were not specifying width. Because of this, the created font's
average width might be larger then what we expect and we might
falsely detect that the font was inappropriate for playing Nethack.
Fix provides the width that we are expecting when creating the font.

7 years agodefault to using latest SDK available on build machine NetHack-3.6.1_RC01 NetHack-3.6.1_Release
nhmall [Fri, 27 Apr 2018 03:02:17 +0000 (23:02 -0400)]
default to using latest SDK available on build machine

From Bart...
Modified build configuration to use latest SDK available by default.
This change will eliminate the need for us to hard code an SDK
version into our configuration file and will eliminate the need
for developers to set the SDK version when they do not have the
matching SDK version installed. Updated the Install.nt file removing
the mention of having to set the SDK version.

7 years agodisplay glitch: warning vs remembered,unseen
PatR [Thu, 26 Apr 2018 22:07:00 +0000 (15:07 -0700)]
display glitch: warning vs remembered,unseen

Noticed while testing the fix for the recently reported clairvoyance
bug.  I saw a '1' move onto an 'I', then when it moved again the 'I'
reappeared.  The remembered unseen monster couldn't be there anymore
if the warned-of monster was able to walk through that spot, so
remove any 'I' when showing a warning (digit) to stop remembering an
unseen monster at the warning spot.

Nobody has ever reported this so fixing it isn't urgent, but fixing
it is trivial so I'm doing it in now (without the clairvoyance fix).

7 years agowindows-only bit
nhmall [Thu, 26 Apr 2018 22:00:32 +0000 (18:00 -0400)]
windows-only bit

7 years agowin32-gui: fix message window text display
Alex Kompel [Thu, 26 Apr 2018 15:19:32 +0000 (08:19 -0700)]
win32-gui: fix message window text display

text dimension calculations were inconsistent across multiple functions.
this resulted in occassional text display oddities.

7 years agonew Guidebook.txt
nhmall [Wed, 25 Apr 2018 23:56:39 +0000 (19:56 -0400)]
new Guidebook.txt

7 years agotext bit in sys/unix/Makefile.dat
nhmall [Wed, 25 Apr 2018 23:26:35 +0000 (19:26 -0400)]
text bit in sys/unix/Makefile.dat

7 years agodon't include fixes to post-3.6.0 code in count estimate
nhmall [Wed, 25 Apr 2018 22:59:58 +0000 (18:59 -0400)]
don't include fixes to post-3.6.0 code in count estimate

7 years agosuppress version branch info if not BETA
nhmall [Wed, 25 Apr 2018 21:56:14 +0000 (17:56 -0400)]
suppress version branch info if not BETA

I think this is needed to avoid inevitable questions/confusion.

Having the git hash in the version string of official binaries
is a very good thing, however.

7 years agoGuidebook.tex bit spotted in test pdf generation
nhmall [Wed, 25 Apr 2018 21:36:29 +0000 (17:36 -0400)]
Guidebook.tex bit spotted in test pdf generation

7 years agoUpdate some dates and comment out BETA
nhmall [Wed, 25 Apr 2018 21:11:28 +0000 (17:11 -0400)]
Update some dates and comment out BETA

7 years agoMerge branch 'NetHack-3.6.0' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Wed, 25 Apr 2018 20:58:59 +0000 (16:58 -0400)]
Merge branch 'NetHack-3.6.0' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6.0

7 years agofixes36.1 multi-line entries require leading tab after first line
nhmall [Wed, 25 Apr 2018 20:55:42 +0000 (16:55 -0400)]
fixes36.1 multi-line entries require leading tab after first line

7 years agoadd missing copyright info
keni [Wed, 25 Apr 2018 20:54:50 +0000 (16:54 -0400)]
add missing copyright info

7 years agoforce expand unexpanded substitution variables
keni [Wed, 25 Apr 2018 19:36:11 +0000 (15:36 -0400)]
force expand unexpanded substitution variables

7 years agoAdd updated copyright lines, part 1.
keni [Wed, 25 Apr 2018 19:00:13 +0000 (15:00 -0400)]
Add updated copyright lines, part 1.

7 years agoupdate .gitattributes files for substitution and copyright headers
keni [Wed, 25 Apr 2018 18:52:43 +0000 (14:52 -0400)]
update .gitattributes files for substitution and copyright headers

7 years agoAllow defining file creation mask in hints file
Pasi Kallinen [Tue, 24 Apr 2018 16:04:42 +0000 (19:04 +0300)]
Allow defining file creation mask in hints file

7 years agonethackw clear after getlin
nhmall [Tue, 24 Apr 2018 12:15:36 +0000 (08:15 -0400)]
nethackw clear after getlin

Alex wrote: in nethackw, getlin clears message
window, so any unread messages are scrolled off the screen without
"--more--" prompt. If vary_msgcount is set to 1 and "potion shatters", it
is not easy to see the effect to name the potion correctly.

7 years agoInstall.nt bit
nhmall [Tue, 24 Apr 2018 01:47:46 +0000 (21:47 -0400)]
Install.nt bit

7 years agoUpdate Guidebook.txt
nhmall [Tue, 24 Apr 2018 01:38:36 +0000 (21:38 -0400)]
Update Guidebook.txt

7 years agoApr23 Guidebook date bump
nhmall [Tue, 24 Apr 2018 01:31:28 +0000 (21:31 -0400)]
Apr23 Guidebook date bump

7 years agoGuidebook...
PatR [Mon, 23 Apr 2018 23:08:57 +0000 (16:08 -0700)]
Guidebook...

Refine the recently added short description about how monsters are
displayed on the map.

7 years agoMention boulder blocking path when traveling
Pasi Kallinen [Mon, 23 Apr 2018 16:49:30 +0000 (19:49 +0300)]
Mention boulder blocking path when traveling

...if mention_walls is on

7 years agofix #H7079 - take two...
PatR [Mon, 23 Apr 2018 07:57:31 +0000 (00:57 -0700)]
fix #H7079 - take two...

Instead of replacing the check for DRAWBRIDGE_UP with one for
DRAWBRIDGE_DOWN, the correct fix is to check for both because
replacing either one with water breaks the two-square dbridge.

7 years agofix #H7079 - melting ice destroys lowered dbridge
PatR [Mon, 23 Apr 2018 07:39:57 +0000 (00:39 -0700)]
fix #H7079 - melting ice destroys lowered dbridge

melt_ice() attempted to handle this but checked for raised drawbridge
instead of lowered one.

7 years agoGuidebook update: map display of mons and objs
PatR [Mon, 23 Apr 2018 03:01:14 +0000 (20:01 -0700)]
Guidebook update: map display of mons and objs

Mostly add a paragraph clarifying the classification of WONTFIX for
a reported bug ('I' unseen monster clobbers remembered object at the
location).  It felt like it needed a parallel paragraph for monsters.

7 years agowindows record file diagnostic info
nhmall [Sun, 22 Apr 2018 16:15:30 +0000 (12:15 -0400)]
windows record file diagnostic info

7 years agoupdate some old version references
nhmall [Sat, 21 Apr 2018 22:05:46 +0000 (18:05 -0400)]
update some old version references

7 years agoGuidebook.txt update
nhmall [Sat, 21 Apr 2018 21:27:36 +0000 (17:27 -0400)]
Guidebook.txt update

7 years agofix --version:paste for NetHackW
nhmall [Sat, 21 Apr 2018 14:37:10 +0000 (10:37 -0400)]
fix --version:paste for NetHackW

Adjust port_insert_pastebuf() for Windows so that it
works on the console and GUI variations.

7 years agoWindows instructions update
nhmall [Sat, 21 Apr 2018 13:33:47 +0000 (09:33 -0400)]
Windows instructions update

7 years agomore adjacent pit
nhmall [Sat, 21 Apr 2018 12:00:57 +0000 (08:00 -0400)]
more adjacent pit

7 years agoMerge branch 'NetHack-3.6.0' of https://rodney.nethack.org:20040/git/NHsource into...
nhmall [Sat, 21 Apr 2018 11:01:27 +0000 (07:01 -0400)]
Merge branch 'NetHack-3.6.0' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6.0

7 years agoclean up some code pasted from other function
nhmall [Sat, 21 Apr 2018 10:57:52 +0000 (06:57 -0400)]
clean up some code pasted from other function

7 years agoRedraw screen after #wizintrinsics
Pasi Kallinen [Sat, 21 Apr 2018 10:28:24 +0000 (13:28 +0300)]
Redraw screen after #wizintrinsics

Gaining monster detection requires redraw, possibly some others.

7 years agoVS debugger couldn't handle a naming collision appropriately
nhmall [Sat, 21 Apr 2018 05:07:20 +0000 (01:07 -0400)]
VS debugger couldn't handle a naming collision appropriately

7 years agoadjacent pit movement isn't a fall
nhmall [Sat, 21 Apr 2018 04:47:59 +0000 (00:47 -0400)]
adjacent pit movement isn't a fall

H7074 1311

> When moving from a pit into an adjacent pit, you "fall into" the pit and take
> damage. This happens even when you are walking back and forth between two pits,
> repeatedly, where you should have no way to fall.
>
> The intent seems to be that you can move into the adjacent pit without having
> to climb out of the first one, and this works properly - the only problem is
> that the pit gets triggered when you ought to have no distance to fall.

This is really just stumbling over uncleared clutter, not a pit fall.
There was already a way to clear the clutter between adjacent pits.

7 years agoGuidebook.tex bit
nhmall [Fri, 20 Apr 2018 23:00:35 +0000 (19:00 -0400)]
Guidebook.tex bit

also date bump

7 years agoPrevent hp-full or pw-full interrupt when running
Pasi Kallinen [Fri, 20 Apr 2018 20:35:56 +0000 (23:35 +0300)]
Prevent hp-full or pw-full interrupt when running

The "You are in full health" and "You feel full of energy"
should only happen when repeating a command, not when running.

7 years agoyet another Guidebook update
PatR [Fri, 20 Apr 2018 07:20:31 +0000 (00:20 -0700)]
yet another Guidebook update

A couple of \e to \\ changes, a whole bunch of ^ to \(ha changes
(similar character but bigger so easier to see), ~ to \(ti (ditto),
and - to \- (first is a hyphen, second is a minus sign which is
bigger; see the difference for "- and | The walls of a room...").

As well as horizontal walls, open doors, top and bottom of swallow
and explode octagons, I changed command line switches -s, -X, and -D
to use minus sign.  I was unsure whether the umpteen M-C should be
changed too.  Since it was less work to leave them as-is, that's
what I did.  I also left ^C with smaller circumflex punctation
instead of changing to bigger circumflex character for same reason.

The [much smaller] Guidebook.tex changes need testing.

Not fixed:
I think the sentence "you can type 'nethack -s all' on most versions"
is very misleading.  Using 'versions' to refer to the various ports
rather than different releases is iffy, but my complaint is that
"typing something" sounds like an action you would perform while in
the game.  Access to a command line and figuring out how to invoke
nethack from there is probably not something where "most versions"
applies any more.  But I don't know how to rephrase that succinctly.
If I did, I would have just changed it....

7 years agohistory paragraph sync with Guidebook
nhmall [Fri, 20 Apr 2018 02:43:21 +0000 (22:43 -0400)]
history paragraph sync with Guidebook