Commit Graph
100 Commits
Author SHA1 Message Date
Bart House 6ae5931a63 Updateda PDCurses Visual Studio project to latest PDCurses content. 2018-12-15 19:52:58 -08:00
Bart House 3af29b4f26 Merge branch 'win-minor' of https://rodney.nethack.org:20040/git/NHsource into win-minor 2018-12-15 17:35:43 -08:00
Bart House 6cec6a88a5 Added PDCurses project to VS 2017 build. 2018-12-15 17:35:27 -08:00
Bart House d77545128b Merge branch 'win-minor' of https://rodney.nethack.org:20040/git/NHsource into win-minor 2018-12-15 14:50:14 -08:00
Bart House 266b5e3891 Small improvements to fuzzer for NetHackW.
Can toggle fuzzer on/off using "Pause" key if attached to debugger.
Extended command selected randomly.
2018-12-15 14:49:59 -08:00
Bart House 67037f18b5 Remove parameter names in declaration. 2018-12-13 21:23:43 -08:00
Bart House 106cc8acde Merge branch 'win-minor' of https://rodney.nethack.org:20040/git/NHsource into win-minor 2018-12-12 21:46:32 -08:00
Bart House 0cd50847fb Changes to get fuzzer working in NetHackW. 2018-12-12 21:46:14 -08:00
Bart House ce7c9d5077 Terminal font when not fitting to screen. Consolas for fit to screen. 2018-12-11 20:52:07 -08:00
Bart House 04d3be930b Changes to font size and vary_msgcount options for Windows nethack ports. 2018-12-09 14:37:07 -08:00
Bart House 1aec267c09 NetHackW default font changed from "Terminal" to "Courier New" 2018-12-09 14:06:25 -08:00
Bart House a8d5f49837 Merge branch 'win-minor' into win-fontmap
# Conflicts:
#	win/win32/mhmap.c
2018-12-09 14:02:57 -08:00
Bart House 88bbf781d1 Three fixes to NetHackW font handling.
Check that player level is valid before checking if it is rogue.
Prevent attempting to pick a font that is too small.
Don't leak fonts when trying to find a font that fits.
2018-12-09 11:57:50 -08:00
Bart House fccc3cbee6 Render the two block glyphs using FillRect instead of DrawText. 2018-12-09 11:30:29 -08:00
Bart House 06fba14091 Merge branch 'win-minor' of https://rodney.nethack.org:20040/git/NHsource into win-minor 2018-12-02 20:23:03 -08:00
Bart House f081e53876 Fix for NetHackW.exe menu icon rendering. 2018-12-02 20:22:47 -08:00
Bart House 92612b8f0c Added some missing header files to VS2017 NetHackW project. 2018-12-02 18:15:02 -08:00
Bart House f3dcdc7fda Splash dialog and main window handle dpi change notifications. 2018-12-02 18:09:34 -08:00
Bart House 796bdce828 Update comment within mswin_status_string. 2018-12-02 13:35:48 -08:00
Bart House 6ee48481b1 Respect BL_FLUSH and BL_RESET indications to mswin_status_update. 2018-12-02 13:33:07 -08:00
Bart House 0f679b3109 NetHackW status hilite support improved to include support for attributes. 2018-12-02 13:25:03 -08:00
Bart House 22af9a3bbf Adding manifest to NetHackW.exe in nmake build. 2018-11-28 21:06:39 -08:00
Bart House f38dc942c0 Macosx post install script fix to avoid changing save games owner to root. 2018-11-26 22:47:51 -08:00
Bart House 7d3103ad9d Merge branch 'NetHack-3.6.2-beta01' into macosx-minor 2018-11-26 22:45:22 -08:00
Bart House c44c0d3e01 Added support for color condition hilites to tile mode.
Code is complete but might take another pass over the code to simplify
where we can.
2018-11-25 21:04:30 -08:00
Bart House 95e701cd01 Fix map clearing when in tile mode and tile is set to NO_GLYPH. 2018-11-25 20:31:50 -08:00
Bart House 26d03b5017 Removing prototype for decl_globals_init(). 2018-11-23 15:47:18 -08:00
Bart House 52736f367f Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-23 15:23:06 -08:00
Bart House c3eefefc99 Modified objects initialization to support re-entry. 2018-11-23 15:22:55 -08:00
Bart House 041e55467a objnam.c globals moved to instance globals. 2018-11-23 15:22:55 -08:00
Bart House 01596f1660 Moved pickup globals to instance_globals. 2018-11-23 15:22:55 -08:00
Bart House ad725c0f0f Fix g.restoring comments. 2018-11-23 15:22:54 -08:00
Bart House b384223e1b topl.c globals moved to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House ee22210a68 Moved sex_change_ok to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House 0d59f1a22b Fix compiler warnings in macos build. 2018-11-23 15:22:54 -08:00
Bart House cff9fb441a define nhassert if not defined by port. 2018-11-23 15:22:54 -08:00
Bart House d3c192e5a8 Moved potion.c globals to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House d37a91a6b8 Moved read.c globals to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House 865c4d5a7d restore.c globals moved to instance_globals. 2018-11-23 15:22:54 -08:00
Bart House cee4933c24 Renamed UNDEFINED to UNDEFINED_VALUE. 2018-11-23 15:22:54 -08:00
Bart House 716c2ceccf rfilter initialized to UNDEFINED. 2018-11-23 15:22:54 -08:00
Bart House 6a78b203e4 rumors.c static globals moved to instance_globals. 2018-11-23 15:22:53 -08:00
Bart House f9a0db6c44 Renamed instance_variables to global_variables and iv to g. 2018-11-23 15:22:53 -08:00
Bart House 14bf74c862 Instance variable work. 2018-11-23 15:22:53 -08:00
Bart House 8e316df117 Instance variable work check-point. 2018-11-23 15:22:53 -08:00
Bart House 244a473a19 Fixed nocreate. 2018-11-23 15:22:52 -08:00
Bart House 7814d9097a check. 2018-11-23 15:22:52 -08:00
Bart House 5bbe3cd6bb Initial check in of icontext. 2018-11-23 15:22:51 -08:00
Bart House 6272c37035 Moved petname_used to decl.c 2018-11-23 15:22:51 -08:00
Bart House 4e774197a6 Previous encumberance state moved to decl.c. 2018-11-23 15:22:51 -08:00
Bart House acbe4d9242 Added decl_early_init() which is called when PLAYAGAIN is supported.
decl_early_init() is called when we are starting a game.  On first
start, it validates that global state is in the expected state.
When called on subsequent starts, it initializes global state to
expected state.
2018-11-23 15:22:51 -08:00
Bart House 31dc1c9233 Added nhassert() support. 2018-11-23 15:22:51 -08:00
Bart House a27fd2d83d Added nhassert() support to tile2bmp. 2018-11-23 15:22:51 -08:00
Bart House 05c9ccc035 Revert "Modified how we initialize save file info."
This reverts commit 250ca464bc.
2018-11-23 15:22:51 -08:00
Bart House ea8cf6613a Added PLAYAGAIN experimental support definition. 2018-11-23 15:22:51 -08:00
Bart House 44b002c9f3 Modified how we initialize save file info.
There should be no net change other then improving code maintenance.
2018-11-23 15:22:50 -08:00
Bart House 74fc1403e3 Removed unnecessary use of static for nocreate values.
If multiple games are played without exiting the process, on the second
new player creation the nocreate values will already be set based
on the first player creation.
2018-11-23 15:22:50 -08:00
Bart House c9f390a9db Modified objects initialization to support re-entry. 2018-11-23 15:13:22 -08:00
Bart House 88fc8b79db objnam.c globals moved to instance globals. 2018-11-23 13:37:30 -08:00
Bart House 72490a9cac Moved pickup globals to instance_globals. 2018-11-23 13:30:51 -08:00
Bart House 3bb5c84bc7 Fix g.restoring comments. 2018-11-23 13:30:32 -08:00
Bart House 3394362f82 topl.c globals moved to instance_globals. 2018-11-23 13:13:28 -08:00
Bart House 97feda46e0 Moved sex_change_ok to instance_globals. 2018-11-23 12:43:38 -08:00
Bart House 302cd789e8 Fix compiler warnings in macos build. 2018-11-23 12:27:55 -08:00
Bart House 5e6e184c82 define nhassert if not defined by port. 2018-11-23 11:27:40 -08:00
Bart House 9177cc642b Moved potion.c globals to instance_globals. 2018-11-23 11:23:03 -08:00
Bart House 43cc162cf9 Moved read.c globals to instance_globals. 2018-11-23 10:47:52 -08:00
Bart House c91d560591 restore.c globals moved to instance_globals. 2018-11-23 10:36:45 -08:00
Bart House 9e40a1dfae Renamed UNDEFINED to UNDEFINED_VALUE. 2018-11-23 10:22:01 -08:00
Bart House 4744eeb765 rfilter initialized to UNDEFINED. 2018-11-23 10:15:22 -08:00
Bart House ee8ce55b7b rumors.c static globals moved to instance_globals. 2018-11-23 10:05:21 -08:00
Bart House dfc8f071f6 Renamed instance_variables to global_variables and iv to g. 2018-11-23 09:27:10 -08:00
Bart House a188bc5d40 Instance variable work. 2018-11-23 05:13:06 -08:00
Bart House 53791ab1de Instance variable work check-point. 2018-11-23 04:49:51 -08:00
Bart House 47b1d71bf3 Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 22:19:47 -08:00
Bart House 8111624d0e Initial check in of icontext work. 2018-11-22 22:17:03 -08:00
Bart House b74330f0aa Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 22:07:22 -08:00
Bart House f305d1ab6c Fixed nocreate. 2018-11-22 22:06:55 -08:00
Bart House f8ab311e3d Fixed nocreate. 2018-11-22 21:55:03 -08:00
Bart House f0f0dea993 check. 2018-11-22 21:40:15 -08:00
Bart House ae9462e7f7 Merge branch 'win-bart' of https://rodney.nethack.org:20040/git/NHsource into win-bart 2018-11-22 21:39:57 -08:00
Bart House 455d2769e0 Initial check-in of icontext work. 2018-11-22 20:53:24 -08:00
Bart House 0ebe905ad1 Initial check in of icontext. 2018-11-22 20:47:22 -08:00
Bart House 48c89acef4 Moved petname_used to decl.c 2018-11-22 15:49:43 -08:00
Bart House 79e0a11c15 Previous encumberance state moved to decl.c. 2018-11-22 15:40:31 -08:00
Bart House 6737fee07d Added decl_early_init() which is called when PLAYAGAIN is supported.
decl_early_init() is called when we are starting a game.  On first
start, it validates that global state is in the expected state.
When called on subsequent starts, it initializes global state to
expected state.
2018-11-22 15:20:17 -08:00
Bart House 3e8d98dee5 Added nhassert() support. 2018-11-22 15:03:26 -08:00
Bart House 95208cff1d Added nhassert() support to tile2bmp. 2018-11-22 15:03:00 -08:00
Bart House d5c792a87c Revert "Modified how we initialize save file info."
This reverts commit 250ca464bc.
2018-11-22 14:21:31 -08:00
Bart House c1dbae9f1f Added PLAYAGAIN experimental support definition. 2018-11-22 13:05:44 -08:00
Bart House 250ca464bc Modified how we initialize save file info.
There should be no net change other then improving code maintenance.
2018-11-22 13:01:58 -08:00
Bart House 247626dfe5 Removed unnecessary use of static for nocreate values.
If multiple games are played without exiting the process, on the second
new player creation the nocreate values will already be set based
on the first player creation.
2018-11-22 12:49:10 -08:00
Bart House 96eae720ce Revert "Removed unnecessary use of static for nocreate values."
This reverts commit ff12c334af.
2018-11-22 12:15:13 -08:00
Bart House ff12c334af Removed unnecessary use of static for nocreate values.
If multiple games are played without exiting the process, on the second
new player creation the nocreate values will already be set based
on the first player creation.
2018-11-22 10:15:43 -08:00
Bart House d7b77d0625 Additional cleanup of macosx10.14. 2018-11-21 22:58:05 -08:00
Bart House e321b6d1d2 Added ability to sign tty package. 2018-11-21 21:23:30 -08:00
Bart House f4fb476e50 Modified the spotless make rule to use double colon syntax. 2018-11-21 21:21:43 -08:00
Bart House 8b1fbd15b6 Improved the wording in XCode.xcconfig 2018-11-21 21:21:07 -08:00
Bart House 1b8f07bc36 Created macosx10.14 from macosx10.10 with no other changes. 2018-11-21 18:19:07 -08:00
Bart House 36be0c0f0c Merge branch 'macosx-curses-fall2018' of https://rodney.nethack.org:20040/git/NHsource into macosx-curses-fall2018 2018-11-20 16:11:42 -08:00