nhmall
a36792162c
Merge branch 'NetHack-3.6'
2019-08-30 22:11:44 -04:00
nhmall
8a328ff7eb
quite some Xcode warnings
2019-08-17 12:55:48 -04: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
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
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
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
1c5b28e7f9
Revert "Re-worked tty_putmsgistory and tty_getmsghistory."
...
This reverts commit 1d0b8b4680 .
2019-07-14 21:12:21 -07:00
Bart House
454419e6c1
Revert "Removed the older version of tty_putmsghistory and tty_getmsghistory."
...
This reverts commit aa95e20ca7 .
2019-07-14 21:10:51 -07:00
Bart House
4c1c247028
Revert "Fuzzer improvements."
...
This reverts commit 435f1c4626 .
2019-07-14 21:10:39 -07:00
Bart House
0f0b6c5aab
Revert "Tweaks to fuzzer scripts."
...
This reverts commit cd375064dd .
2019-07-14 21:10:07 -07:00
Bart House
340ec01caf
Revert "Remove dead code."
...
This reverts commit 5428d73287 .
2019-07-14 21:09:16 -07:00
nhmall
bd9709ad77
remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR
2019-07-14 18:15:49 -04:00
Bart House
ed5450a1a9
Merge branch 'master' into NetHack-3.7
2019-07-14 14:41:52 -07:00
Bart House
883745a3c4
Merge branch 'NetHack-3.6'
...
# Conflicts:
# include/extern.h
# src/allmain.c
# win/tty/topl.c
2019-07-14 14:41:11 -07:00
nhmall
6688053802
remove STATIC_DCL, STATIC_OVL, STATIC_VAR, STATIC_PTR from win/tty
2019-07-14 17:33:44 -04:00
Bart House
5428d73287
Remove dead code.
2019-07-14 14:31:00 -07:00
Bart House
b5b2f6fc74
Tweaks to fuzzer batch scripts.
2019-07-14 13:39:58 -07:00
Bart House
e3b5e7f95a
Merge branch 'master' into NetHack-3.7
2019-07-14 12:25:08 -07:00
Bart House
ca683201f6
Merge branch 'NetHack-3.6'
2019-07-14 12:24:24 -07:00
Bart House
cd375064dd
Tweaks to fuzzer scripts.
2019-07-14 12:13:19 -07:00
nhmall
1e47fe61b9
stale code
2019-07-14 12:17:47 -04:00
nhmall
041a9ad9c1
Merge branch 'master' into NetHack-3.7
2019-07-14 09:57:32 -04:00
nhmall
ec1b77ff80
Merge branch 'NetHack-3.6'
2019-07-14 09:39:24 -04:00
Bart House
435f1c4626
Fuzzer improvements.
...
phase_of_moon and friday_13th determined using rn2() instead of local
time if fuzzing. Don't reseed using init_random() if fuzzing. Allow
set_random to be called outside of hacklib. rn2_on_display_rng uses
rn2 if fuzzing so that we have a single source of random that we can
ensure is reproducible. Implement rul() that returns a random unsigned
long. Fix bug in fuzzer handling of ntposkey which would cause us to use
unitialized values for x and y. Added command line arguments to allow
auto starting and stopping of fuzzer. Add a logging facility for the
fuzzer to use to record activity. Added some scripts used to automate
fuzzer testing on windows.
2019-07-14 00:20:09 -07:00
Bart House
aa95e20ca7
Removed the older version of tty_putmsghistory and tty_getmsghistory.
2019-07-13 16:23:37 -07:00
Bart House
1d0b8b4680
Re-worked tty_putmsgistory and tty_getmsghistory.
...
When we were saving message history as part of a game save for insurance,
we were calling remember_topl() and thus inappropriately changing topline
state. This would cause us to mis-manage the topline in subsequent calls
to update the topline.
The code has been re-worked to fix the issue, reduce complexity and make
the code clearer.
2019-07-13 16:08:27 -07:00
Bart House
c44ad5645d
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.
2019-07-13 10:53:53 -07:00
nhmall
73bd584940
Merge branch 'master' into NetHack-3.7
2019-07-13 01:02:16 -04:00
nhmall
f3ada84137
merge bit
2019-07-13 01:00:40 -04:00
nhmall
505c1e4b02
Merge branch 'master' into NetHack-3.7
2019-07-13 00:38:40 -04:00
nhmall
77fd719e05
Merge branch 'NetHack-3.6'
2019-07-13 00:38:10 -04:00
nhmall
638d9f9363
if prototype is declared static make function static to match
...
Today, a compiler was encountered that considered it an error
to have the prototype declared static and the function body
not
2019-07-13 00:17:23 -04:00
Bart House
0e8e5aac93
Fixed sign/unsigned comparisions.
2019-07-12 18:37:33 -07:00
Bart House
0ca299acb3
Added nhassert to core.
2019-07-11 22:01:39 -07:00
Bart House
45a9c5eb14
Comment out nhassert() calls.
2019-07-11 21:23:12 -07:00
Bart House
1db45c8016
Added assertions to check toplin state.
2019-07-11 21:18:57 -07:00
Bart House
0f57f0e48c
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.
2019-07-11 21:17:46 -07:00
nhmall
9755a86737
Merge branch 'master' into NetHack-3.7
2019-07-11 08:47:07 -04:00
nhmall
d4693d19bb
Merge branch 'NetHack-3.6'
2019-07-11 08:46:50 -04:00
PatR
188eedc654
curses: #extended command vs erase/kill chars
...
Support erase char and kill char when getting an extended command.
Also, show the cursor so that it's obvious where input focus is.
2019-07-11 01:02:34 -07:00
Bart House
08a1910867
Improved readability of topline state management.
2019-07-10 22:16:08 -07:00
nhmall
394fad32eb
Merge branch 'master' into NetHack-3.7
2019-07-10 22:02:22 -04:00
nhmall
7dfffbb712
Merge branch 'NetHack-3.6'
2019-07-10 21:58:58 -04:00
Bart House
bc65112ce0
Added experimental feature NEW_KEYBOARD_HIT.
2019-07-09 22:30:34 -07:00