Commit Graph
7030 Commits
Author SHA1 Message Date
Bart House 3dbbd188d9 Fixing typo. 2018-05-13 12:49:52 -07:00
nhmall 0d23e7b44d Merge branch 'tty-status' into win-tty-status 2018-05-13 15:21:46 -04:00
nhmall 3b2f7e86e0 more status updates
- prevent an overflow
- add make_things_fit()
2018-05-13 15:19:39 -04:00
Bart House 650d5230ec Fix memory leak. See bug 1169. 2018-05-12 19:45:16 -07:00
PatR f89968a973 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.
2018-05-12 18:50:51 -07:00
PatR 45c59857f7 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.
2018-05-12 18:47:34 -07:00
Bart House 039687cf5f 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.
2018-05-12 18:06:23 -07:00
Bart House 1d31a49661 Some nttty.c clean-up. 2018-05-12 15:58:44 -07:00
Bart House 3467b9f087 Added ntassert() mechanism for Windows based port use. 2018-05-12 13:59:06 -07:00
nhmall 99474c864f Merge branch 'tty-status' into win-tty-status 2018-05-12 14:44:12 -04:00
nhmall 149fc5a4dd empty field suppression caught condition values unintentionally 2018-05-12 14:42:19 -04:00
nhmall 3598fcc929 more status handling updates
Suppress unneeded spaces from a couple of fields
	BL_LEVELDESC	- trailing spaces.
	BL_CAP		- it only contains a space
2018-05-12 14:10:52 -04:00
nhmall 9a87064cca some build fixes for compile issues reported 2018-05-12 06:57:34 -04:00
nhmall ba057ef3de condition shrinkage when required 2018-05-12 02:18:42 -04:00
nhmall a3ba46d732 remove some debug code 2018-05-12 01:10:43 -04:00
nhmall d0e508241b missing return value 2018-05-12 01:07:54 -04:00
nhmall dd04f5fcb5 more tty-status updates 2018-05-12 01:04:57 -04:00
nhmall 04c85aa59d update files.c with testinglog 2018-05-10 18:54:58 -04:00
nhmall 8c2dc7bb1c add some logging to debug 2018-05-10 18:48:02 -04:00
nhmall 702154529f provide some debug developer controls - part 1 2018-05-10 10:05:29 -04:00
nhmall 1a19e449c7 Revert "some cross platform testing"
This reverts commit 3d1e086648.
2018-05-09 18:51:49 -04:00
nhmall 4dd535cbd2 cross platform testing 2018-05-09 18:47:19 -04:00
nhmall 3d1e086648 some cross platform testing 2018-05-09 18:31:18 -04:00
nhmall 7988bdff1d Merge branch 'barthouse-bugH7132' into NetHack-3.6.0 2018-05-09 18:07:52 -04:00
nhmall 778c8a56ab remove a commented out code line 2018-05-09 13:25:46 -04:00
nhmall 9bca6ecb8e tty status updates
some status code cleanup

It should be ready to merge tty-status changes into NetHack-3.6.0.
2018-05-09 13:12:11 -04:00
Bart House f7e665be98 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.
2018-05-08 07:25:24 -07:00
nhmall e90b20a3a9 optimization of output was ruining display effects 2018-05-07 20:20:36 -04:00
nhmall b524c26da5 intermediate update to wintty.c as work continues 2018-05-07 18:52:50 -04:00
nhmall d2a7c8afa1 some status data corrections 2018-05-07 08:41:54 -04:00
nhmall 97c826ccb0 Merge branch 'barhouse-lagFix' into tty-status 2018-05-06 18:23:21 -04:00
Bart House 4b922f3e8b 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.
2018-05-06 15:09:10 -07:00
nhmall f2e9b8a60a merge glitch cleanup 2018-05-06 17:52:29 -04:00
nhmall 7d1e1a163d Merge branch 'lagfix' of https://github.com/barthouse/NetHackPublic into tty-status 2018-05-06 16:52:11 -04:00
Bart House b7f351fdbb Updated console back buffer support to correctly size the buffers as
appropriate.
2018-05-06 13:22:36 -07:00
nhmall 64cec86abb more performance fixes for the port code portion 2018-05-06 06:04:33 -04:00
Bart House 8db7237cfc Console buffer support for variable size console windows. 2018-05-06 02:47:17 -07:00
nhmall ad642f93e6 Merge branch 'ghpr91' into tty-status 2018-05-06 05:23:03 -04:00
Bart House ea2f2d1aac Quick fix to buffer height. Will need to determine why we needed a
buffer height of 26.
2018-05-06 01:40:13 -07:00
Bart House d6f9790d79 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.
2018-05-06 01:13:30 -07:00
nhmall e9483c7bba uncomment BETA for fix-test binary 2018-05-05 20:42:55 -04:00
nhmall 71bead4e39 do some performance optimizations on highlighting of tty status 2018-05-05 19:43:10 -04:00
nhmall 4e5c41401f last line of config file wasn't heeded if newline was missing 2018-04-28 17:22:21 -04:00
nhmall 331abfe530 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.
2018-04-28 12:11:19 -04:00
nhmall d4ebae12f1 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.
2018-04-26 23:02:17 -04:00
PatR 78fe5fbb05 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).
2018-04-26 15:07:00 -07:00
nhmall 72d38f1f67 windows-only bit 2018-04-26 18:00:32 -04:00
Alex Kompel bcd6b3dbcd win32-gui: fix message window text display
text dimension calculations were inconsistent across multiple functions.
this resulted in occassional text display oddities.
2018-04-26 08:19:32 -07:00
nhmall dcb9657b03 new Guidebook.txt 2018-04-25 19:56:39 -04:00
nhmall 2576ae071f text bit in sys/unix/Makefile.dat 2018-04-25 19:26:35 -04:00