Bart House
1efae34cc7
Disable warning 4774 for lua source files.
2021-02-04 11:28:41 -08:00
Bart House
a54a8c6854
Remove awful kludges dealing with command counts.
2021-01-30 19:06:27 -08:00
Bart House
9862e19a36
Disable warning for LUA files in Visual Studio builds.
2021-01-29 20:49:37 -08:00
Bart House
a2d76d09b2
Fixing azure pipeline build to use correct project.
2021-01-29 16:56:05 -08:00
Bart House
a124114bce
NetHackW: fix rendering of animations
...
Animations render by changing map state and calling delay. When we delay,
we must ensure map windoow has been updated to show latest state before
we delay.
2021-01-23 12:04:16 -08:00
Bart House
d6b435a1d8
NetHackW: fix focus flashing when using far look
...
Changed when we update the map window back buffer. We now defer all
back buffer renderig until mswin_map_update is called. We update
the window only within the main message loop thus we should only
get fully coherent map state rendered prior to getting input.
2021-01-23 11:44:35 -08:00
Bart House
2b91931207
Fix delayed rendering of cursor with farlook in NetHackW.
2021-01-19 19:09:40 -08:00
Bart House
3a91d65bb6
Added MSDOS build and made improvements to pipeline configuration.
2020-12-16 00:43:59 -08:00
Bart House
a7b47ff071
Modify mingw makefile to allow caller to specify LUA build parameters.
2020-12-15 02:20:11 -08:00
Bart House
b08b47749f
Revert "Switch mingw build to use submodules in default path."
...
This reverts commit e5fb08ae4e .
2020-12-15 01:57:18 -08:00
Bart House
be1432ad74
Revert "Working on getting WinGW building with Azure pipeline."
...
This reverts commit d88749e419 .
2020-12-15 01:55:53 -08:00
Bart House
bc7922908b
Revert "Make compiling the lua interpreter optional."
...
This reverts commit f89005efd7 .
2020-12-15 01:54:27 -08:00
Bart House
bad05e2fb4
Reverting recent changes that hard coded use of submodules.
2020-12-15 01:50:01 -08:00
Bart House
746c313aee
Re-enable mingw pipeline build. Use pdcurses submodule for pipeline
...
mingw build.
2020-12-15 00:53:01 -08:00
Bart House
9db1aff070
Use LUASRC variable when generating nhlua.h.
2020-12-15 00:46:55 -08:00
Bart House
679ffd6719
Disable mingw build while we are still getting it to work.
2020-12-14 20:46:04 -08:00
Bart House
49460dcafb
Final changes needed to enable Windows minGW build.
...
Removed some of the temporary changes necessary due to 4 hour delay.
Added the specification of the working directory to avoid the change
in working directory behavior that occurs when checking out one
repository vs. two.
2020-12-14 10:17:02 -08:00
Bart House
190f9dc488
Modify expectations of where LUA sources are located.
...
We want the build to assume the same basic layout as the lua repository.
The sources are immediately at the top of the repository and not in
a subdirectory called 'src'.
2020-12-14 09:56:59 -08:00
Bart House
fcd74aedf4
Added mingw build.
2020-12-14 00:28:36 -08:00
Bart House
f89005efd7
Make compiling the lua interpreter optional.
2020-12-14 00:24:05 -08:00
Bart House
d88749e419
Working on getting WinGW building with Azure pipeline.
...
Fix typo recently introduced. Allow LUATOP to be specified by pipeline.
2020-12-13 20:38:56 -08:00
Bart House
e5fb08ae4e
Switch mingw build to use submodules in default path.
2020-12-13 20:31:01 -08:00
Bart House
d58a034721
Merge branch 'master' into NetHack-3.7
2020-12-13 20:17:12 -08:00
Bart House
93a49c7845
Adding pdcurses submodule for MinGW build.
2020-12-13 19:44:15 -08:00
Bart House
b18cbdb160
Improvements to azure pipeline.
2020-12-13 18:55:35 -08:00
Bart House
939b1c00dd
Fix azure pipeline build for linux/mac.
2020-12-12 21:41:24 -08:00
Bart House
bbc5cee97f
Fix Azure pipeline introduced by only checking out a single repository.
...
If checking out a single repository, the repository is checked out
to the path $(Agent.BuildDirectory)\s instead of
$(Agent.BuildDirectory)\s\<name of repository>. Modified checkout
to hard code path to avoid this change in behavior.
2020-12-12 11:47:44 -08:00
Bart House
fe874db0b3
Fix Windows build break caused by bump to lua 5.4.2.
...
Modified Windows build to use submodules/lua for lua source.
2020-12-11 18:45:44 -08:00
Bart House
00955f50e5
Update to azure pipeline.
2020-12-08 10:27:30 -08:00
Bart House
5641d72fef
Merge branch 'NetHack-3.7' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.7
2020-12-05 17:32:17 -08:00
Bart House
13aa5e7480
Adding Azure pipeline YAML.
2020-12-05 17:31:59 -08:00
Bart House
1360e63644
Fix build issue when building project for the first time.
2020-12-01 21:32:52 -08:00
Bart House
7e3a739ef9
Add stringization of nhassert expression.
2020-10-20 20:14:27 -07:00
Bart House
b4c4491229
Fix sign/unsigned comparison bug.
...
We are comparing a signed char with unsigned int. The signed char will be
sign exetended when converted to unsigned int causing an unexpected
result.
2020-10-19 16:19:01 -07:00
Bart House
a9deeb69c9
Removing assertion that does not hold under all scenarios.
...
When we save gamestate as part of making an insurance snapshot, we will
save message history which will clear toplines but leaving window state
in tack including the need for more.
2020-10-19 16:03:10 -07:00
Bart House
2c752cce69
Added assertions to check toplin state.
2020-10-19 15:59:46 -07:00
Bart House
aee1509979
Fixed bug with inmore and toplin state management.
...
When fuzzing, we would increment ttyDisplay->inmore but then prematurely
exit more() leaving ttyDisplay->inmore set.
Under various conditions, we can request to remember the topline when
the topline had not yet been acknowledged leaving toplin state in an
inappropriate state.
2020-10-19 15:59:01 -07:00
Bart House
362fd6ffbf
Add stopping in the debugger when nhassert() is hit in the windows port.
...
When stopping in the debugger after having called impossible, the windowing
state will have been modified since the assertion was hit. This made
examining state that caused the nhassert to fire no longer possible.
To avoid this issue, we now detect the debugger and stop in the debugger
prior to impossible.
2020-10-19 15:56:49 -07:00
Bart House
93ce6857d3
Tweaks to nhassert implementation. Change to warnings on MSC build.
2020-10-19 15:55:32 -07:00
Bart House
3842da9dbd
Added nhassert to core.
2020-10-19 15:51:41 -07:00
Bart House
dde11630e8
Modified nhassert_failed to call impossoible.
2020-10-19 15:36:34 -07:00
Bart House
783efd3524
Remove the remapping of snprintf to _snprintf when compiling with MSC.
...
_snprintf and snprintf have one very important semantic difference.
_snprintf does NOT add terminating null character when the buffer limit
is reached while snprintf guarantees a terminating null character. It
was a mistake to make this naming change hiding the fact that the
semantics don't match what the developer might expect.
2020-10-19 15:32:58 -07:00
Bart House
7795d82be6
Improved readability of topline state management.
2020-10-19 15:19:09 -07:00
Bart House
fd6ecbaa17
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2020-01-25 17:07:59 -08:00
Bart House
05455f7baa
Fall back to executable path if we have trouble converting known path.
2020-01-25 17:07:45 -08:00
Bart House
be47c0303d
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-12-21 17:04:49 -08:00
Bart House
7074b1c55f
Prevent crash caused by division by zero in NetHackW.
2019-12-21 15:34:57 -08:00
Bart House
496a81d5b0
Get Visual Studio builds working once again.
2019-12-21 15:34:31 -08:00
Bart House
37a7d624be
Ensure front tile size is non-zero to avoid divide by zero exceptions.
2019-12-21 13:14:14 -08:00
Bart House
fb044c1a9f
Bump in manifest to reflect latest store release.
2019-12-21 13:13:43 -08:00
Bart House
d4ff00cd40
Updated windows directory paths to latest iteration of design.
2019-11-04 19:34:03 -08:00
Bart House
c92544750a
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-11-03 18:46:44 -08:00
Bart House
a5080da898
Dismiss the splash dialog when user hits window close.
2019-11-03 18:46:33 -08:00
Bart House
6b88a19365
Added new map_mode tiles_fit_to_screen for Windows NetHackW.exe
2019-11-03 17:59:39 -08:00
Bart House
2244720133
Built windows store package.
2019-11-03 17:39:18 -08:00
Bart House
7c5a2adfa5
Lock TROUBLEPREFIX after parsing sysconf.
2019-11-03 14:07:11 -08:00
Bart House
da85259782
Fixes to template files .
2019-11-03 14:06:49 -08:00
Bart House
f0707fee6e
More tweaks to how windows deals with directory paths.
2019-11-03 13:31:17 -08:00
Bart House
0b23cac8ab
Formatting changes to .nethackrc discussion for windows.
2019-11-03 08:03:01 -08:00
Bart House
ecc8e7b9b0
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-11-03 07:52:46 -08:00
Bart House
395c970add
Changes to windows based discussion of .nethackrc.
2019-11-03 07:52:33 -08:00
Bart House
11018da6b8
Renamed configuration file for windows to .nethackrc.
...
Also adjusted name of template files populated during windows builds.
2019-11-02 19:11:26 -07:00
Bart House
2b73494296
Updated guidebook to discuss new loc and name of configuration file on win.
2019-11-02 18:18:48 -07:00
Bart House
4ab976d6fd
Renamed defaults.nh to .nethackrc for windows.
2019-11-02 18:18:02 -07:00
Bart House
2b9e6a057b
Removed the redundant #if definded(MSDOS).
2019-11-02 18:17:10 -07:00
Bart House
9e309ab37a
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-11-02 16:57:57 -07:00
Bart House
ee1817f4ec
Updates to fixes36.3 for recent work.
2019-11-02 16:57:43 -07:00
Bart House
3a315a7c76
Make type Win10 and gWin10 local to win10.c module.
2019-11-02 12:10:13 -07:00
Bart House
0bbedb2933
Fix cut and paste error in output string.
2019-11-02 11:51:20 -07:00
Bart House
4e11038871
Merge branch 'NetHack-3.6'
2019-11-02 11:40:19 -07:00
Bart House
33149eed0e
Move is_desktop_bridge() api to win10 wrapper.
2019-11-02 11:39:11 -07:00
Bart House
d9d47c120b
Merge branch 'NetHack-3.6'
2019-10-31 20:46:54 -07:00
Bart House
34cf17c4d0
New package submitted to microsoft store.
2019-10-31 20:37:43 -07:00
Bart House
a57cff45ce
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-10-31 20:18:41 -07:00
Bart House
215815c0b5
Changes to player selection dialog support to respond to per-monitor DPI.
2019-10-31 20:18:27 -07:00
Bart House
ded40818f1
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-10-30 19:17:20 -07:00
Bart House
86473526b8
Save a copy of the symbols file to symbols.save when updating.
2019-10-30 19:17:03 -07:00
Bart House
43ef5ef7fa
Windows Store support for NetHack 3.6.
2019-10-29 21:28:39 -07:00
Bart House
2d7901372e
Change ZIP file layout to be flat.
2019-10-26 20:39:24 -07:00
Bart House
401d6d7f86
Merge branch 'NetHack-3.6' of https://rodney.nethack.org:20040/git/NHsource into NetHack-3.6
2019-10-26 20:12:09 -07:00
Bart House
91f783daf6
Changed travis email to once again send to devteam.
2019-10-26 20:11:21 -07:00
Bart House
eef880214b
Modified travis builds to deploy the x86 windows build to github if tagged.
...
Moved the travis visual studio build bash script to live outside of
the travis YML file. Updated the script to use powershell to generate
ZIP file form the binary results.
Deploy Windows build ZIP file to github releases if build has commit
has been tagged. Build will be marked pre-release.
2019-10-26 20:09:14 -07:00
Bart House
97ca83fd02
Merge branch 'master' into NetHack-3.7
...
# Conflicts:
# src/pline.c
# sys/winnt/windmain.c
# win/tty/topl.c
# win/win32/scripts/fuzzer/longtest.bat
# win/win32/scripts/fuzzer/restore.bat
# win/win32/scripts/fuzzer/runtill.bat
2019-07-14 23:50:54 -07:00
Bart House
cd1b650fb7
Merge branch 'NetHack-3.6'
...
# Conflicts:
# DEVEL/Developer.txt
# include/config.h
# include/decl.h
# include/display.h
# include/extern.h
# include/global.h
# include/hack.h
# include/patchlevel.h
# src/display.c
# src/dothrow.c
# src/makemon.c
# src/monst.c
# src/objnam.c
# src/sp_lev.c
# src/wield.c
# src/zap.c
# sys/share/pmatchregex.c
# sys/winnt/Makefile.msc
2019-07-14 23:36:56 -07:00
Bart House
a607ea2b7f
Revert "When fuzzing, use the number of moves as a proxy for the hour."
...
This reverts commit f75deae0bc .
2019-07-14 21:29:41 -07:00
Bart House
5870cb6a92
Revert "Added experimental feature NEW_KEYBOARD_HIT."
...
This reverts commit bc65112ce0 .
2019-07-14 21:28:55 -07:00
Bart House
e83fcd0353
Revert "Improved readability of topline state management."
...
This reverts commit 08a1910867 .
2019-07-14 21:28:40 -07:00
Bart House
05d77d91b8
Revert "Moved declaration of topline state to wintty.h."
...
This reverts commit 7bb41c797f .
2019-07-14 21:28:03 -07:00
Bart House
733e760638
Revert "Remove the remapping of snprintf to _snprintf when compiling with MSC."
...
This reverts commit 9801635f56 .
2019-07-14 21:18:03 -07:00
Bart House
44d84c3163
Revert "Modified nhassert_failed to call impossoible."
...
This reverts commit 3e4a0759a3 .
2019-07-14 21:17:39 -07:00
Bart House
a598428fc9
Revert "Fixed bug with inmore and toplin state management."
...
This reverts commit 0f57f0e48c .
2019-07-14 21:17:19 -07:00
Bart House
988d474d42
Revert "Added assertions to check toplin state."
...
This reverts commit 1db45c8016 .
2019-07-14 21:16:59 -07:00
Bart House
04f4ac94ca
Revert "Comment out nhassert() calls."
...
This reverts commit 45a9c5eb14 .
2019-07-14 21:16:27 -07:00
Bart House
fe9fc4cac1
Revert "Added nhassert to core."
...
This reverts commit 0ca299acb3 .
2019-07-14 21:15:54 -07:00
Bart House
a90f9d4365
Revert "Fixed sign/unsigned comparisions."
...
This reverts commit 0e8e5aac93 .
2019-07-14 21:15:31 -07:00
Bart House
177bd39646
Revert "Tweaks to nhassert implementation. Change to warnings on MSC build."
...
This reverts commit 2f3da35c68 .
2019-07-14 21:15:01 -07:00
Bart House
ec05e1ec70
Revert "Fix compiler warnings."
...
This reverts commit 90f5aa91b7 .
2019-07-14 21:13:43 -07:00
Bart House
2df1b179ca
Revert "Removing assertion that does not hold under all scenarios."
...
This reverts commit c44ad5645d .
2019-07-14 21:13:18 -07:00
Bart House
f7c956c35a
Revert "Adding ptr_array data structure."
...
This reverts commit e665d3b850 .
2019-07-14 21:12:59 -07:00
Bart House
1c5b28e7f9
Revert "Re-worked tty_putmsgistory and tty_getmsghistory."
...
This reverts commit 1d0b8b4680 .
2019-07-14 21:12:21 -07:00