nhmall
890d7b86d5
Merge branch 'NetHack-3.6.2'
2018-11-21 18:58:04 -05:00
nhmall
86637bb4ef
fuzzer fixes on windows for testing
2018-11-21 18:50:02 -05:00
nhmall
1ac28dd6de
Merge branch 'NetHack-3.6.2'
2018-11-20 22:50:52 -05:00
Bart House
2a6bd3e8ac
Addressed compiler warnings.
...
Added the initialization of several locals.
In check_fields, validate that we have a valid index (idx) before using.
2018-11-20 10:48:44 -08:00
Bart House
520b130a5c
Added initialization of locals to quite compiler warnings.
2018-11-20 10:47:12 -08:00
Bart House
d177b5e705
Addressed compiler warnings.
...
Fixed declarations of draw_classic, draw_vertical and draw_horizontal.
Moved definitions of locals before code. Added initialization of
locals. Changed comments to c-style.
2018-11-20 10:46:45 -08:00
Bart House
e66a8c4c73
Changed comments to c-style.
2018-11-20 10:45:04 -08:00
Bart House
347c45b420
Addressed compiler warnings.
...
Changed to c-style comments. Placed locals before code. Added
initialization of local value ret in curses_block.
2018-11-20 10:44:44 -08:00
Bart House
fcb28cd2e5
Addressed compiler warnings.
...
Moved local declarations before code. Changed comments to c-style.
2018-11-20 10:43:35 -08:00
Bart House
616e946393
Scoped existing code in a new block to quite compiler warnings.
2018-11-20 10:42:13 -08:00
Bart House
0b1e975b07
Addressed compiler warnings.
...
Moved locals before code. Changed comment type.
2018-11-20 10:35:25 -08:00
nhmall
079782ac55
Merge branch 'NetHack-3.6.2'
2018-11-18 14:21:33 -05:00
nhmall
312f492149
Merge branch 'win-minor' into win-curses
2018-11-18 04:32:28 -05:00
Bart House
6ba270563c
Build curses if PDCurses is available.
...
There are two ways to enable curses in the build. Either set the
environment variable PDCURSES to a folder containing a PDCurses repository
OR place the PDCurses folder alongside the NetHack source repository.
2018-11-17 23:56:31 -08:00
nhmall
816a7dd871
Revert "curses port: accept return on Windows platform"
...
This reverts commit ac367ef4cc .
2018-11-17 21:30:01 -05:00
nhmall
2829e3f780
Revert "more CR on windows"
...
This reverts commit 83fb79b775 .
2018-11-17 21:29:41 -05:00
nhmall
83fb79b775
more CR on windows
2018-11-17 21:17:43 -05:00
nhmall
ac367ef4cc
curses port: accept return on Windows platform
2018-11-17 20:27:21 -05:00
PatR
8f4c2d2a82
formatting: tile.c
...
A while back I changed tilemap.c to clean up the formatting of
generated tile.c. This is a smaller change to revise the layout
of its big array.
2018-11-17 16:31:22 -08:00
Bart House
afe828507a
Getting build working.
2018-11-17 14:48:38 -08:00
nhmall
47d4dc50a5
Merge branch 'NetHack-3.6.2'
2018-11-17 08:32:59 -05:00
Bart House
d2436d9f3c
Map curso blinking controlled by win32_cursorblink.
2018-11-16 21:48:00 -08:00
nhmall
748280d5dc
curses new file additions
2018-11-16 20:53:38 -05:00
nhmall
cb43061076
curses changes to existing files
2018-11-16 20:51:22 -05:00
nhmall
96ec49213f
Add some windows command line option hooks
2018-11-16 19:32:00 -05:00
Bart House
dcac95b4b3
Delete GDI objects when map window is destroyed.
2018-11-16 13:50:12 -08:00
Bart House
90562f23c0
Menu check boxes drawn correctly when scaled.
...
Changed from using pattern brush to strech blt when rendering check box.
2018-11-16 13:29:59 -08:00
Bart House
94c4acc144
Made map cursor blink a compile time option.
2018-11-16 13:00:02 -08:00
Bart House
52cbbdafae
Completed map back buffer work and implemented map cursor blink.
...
Map back buffer work is done eliminating all flickering caused by
clears of the front buffer during partial updates.
Implemented a cursor blink in both ascii and tile modes.
Fixed bug where we would lose fit to screen when entering rogue level.
2018-11-16 12:39:04 -08:00
nhmall
f000bfa76a
Merge branch 'win-minor' into NetHack-3.6.2-beta01
2018-11-15 02:37:04 -05:00
Bart House
1f8c78fb40
Remove commented out line.
2018-11-14 21:08:59 -08:00
Bart House
093dc076ed
Modified RIP dialog to take into account monitor DPI.
2018-11-14 20:44:02 -08:00
PatR
d2affc1ee3
X11 menu searching
...
I was experimenting with some potential changes to menu searching but
have not been satisfied with the result. However, this bit of code
consolidation is worthwhile regardless of that.
2018-11-14 17:26:10 -08:00
PatR
7400d83ef6
X11 NetHack.ad again
...
STATUS_HILITES vs HILITE_STATUS: use the config file option name
rather than source feature name in the "TTY-style status" comment.
2018-11-14 17:23:28 -08:00
PatR
d438bf07c8
X11 resource defaults
...
Some of the items in NetHack.ad were separated from others by "!"
comment line rather than plain blank line and that tended to make it
look like the two items were directly related. For the ones which
aren't, remove '!'.
I also expanded some comments and reordered a couple of resources,
moving 'slow' closer to top and advanced 'translations' farther down.
2018-11-14 17:18:12 -08:00
Bart House
489abb45f5
Added monitor dpi awareness to NetHackW splash dialog.
2018-11-13 20:48:56 -08:00
Bart House
8069659912
Adjust menu item rendering based on monitor dpi.
2018-11-12 22:40:36 -08:00
Bart House
4912149ff2
Implemented back buffer rendering to improve fit to screen rendering
...
quality.
2018-11-12 21:38:32 -08:00
nhmall
93b664874c
Merge branch 'NetHack-3.6.2'
2018-11-12 23:24:23 -05:00
Bart House
0bbc7cb6db
Adjust tile size to bounds of text meterics when in ascii mode.
2018-11-12 19:36:08 -08:00
Bart House
3bb759a9ab
Started work to support per monitor DPI. Using DPI to scale tiles
...
appropriately.
Renamed ntassert to nhassert. (Naming mistake caused by using ntassert
at work).
Re-ordered a few more includes to get window headers included before
nethack headers.
2018-11-12 17:45:22 -08:00
Bart House
f3bc4af242
Removing support for Visual Studio 2015 solution.
2018-11-12 09:13:51 -08:00
Bart House
8944235282
Enforced the inclusion of windows headers before nethack headers.
...
Moved the code page 437 mapping table to winnt.c so that it could be
used in window and console clients.
Added check that fonts support unicode values we use from code page 437.
Use unicode to draw text if font supports it otherwise use ASCII.
2018-11-12 01:58:56 -08:00
nhmall
e87496b897
merge fluff
2018-11-11 10:48:08 -05:00
nhmall
32d32652e6
Merge branch 'NetHack-3.6.2'
2018-11-11 10:35:08 -05:00
nhmall
a0b53ee391
merge
2018-11-11 10:29:52 -05:00
Bart House
20e8482e6e
Fix crash that can occur when panic is called early.
2018-11-10 20:26:20 -05:00
Bart House
0a3f6d17df
Removed the defining of WIN32CONNDEBUG for NethackW.
...
Defined NOTTYGRAPHICS for NethackW.
2018-11-10 20:25:49 -05:00
nhmall
adbe567ba1
Merge branch 'NetHack-3.6.2'
2018-11-10 15:09:41 -05:00
nhmall
9fa71d4976
Merge branch 'NetHack-3.6.2-beta01' into NetHack-3.6.2
2018-11-10 15:09:02 -05:00