Commit Graph
7087 Commits
Author SHA1 Message Date
nhmall 2b8ac8af9e missing stubs for NetHackW.exe 2018-05-13 16:42:11 -04:00
Bart House 0afd2570cb Removing temporary debugging code and fixing compiler warnings. 2018-05-13 13:29:13 -07:00
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 473dffac63 Revert "fix #H7140 - list MSGTYPE values shows empty strings"
This reverts commit 39057ec754.

To be checked in to NetHack-3.6.0 first and subsequently merged back
here.
2018-05-12 18:53:21 -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 a1f78732c5 Revert "fix "a Vlad the Impaler""
This reverts commit 6a056bbe77.

To be committed to NetHack-3.6.0 first and subsequently merged
back here.
2018-05-12 18:48:32 -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
PatR 6a056bbe77 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 06:41:57 -07:00
nhmall 9a87064cca some build fixes for compile issues reported 2018-05-12 06:57:34 -04:00
PatR 39057ec754 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 01:05:29 -07: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 2dbb7c70c9 Merge branch 'NetHack-3.6.0' 2018-05-10 20:30:43 -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 438cfd3815 add prototype 2018-04-29 22:50:07 -04:00