Bart House
c64ae2d28d
Win32GUI: Clear selection counts for perm invent
2017-10-09 23:32:13 +03:00
Bart House
1ec7bed529
Win32GUI: Use a back buffer for all status rendering
...
This eliminates all flickering when status is updated.
2017-10-09 20:43:36 +03:00
Bart House
7c24b420a9
Win32GUI: Fix bug with specifying no color for status hilite.
...
We were mapping NO_COLOR to white instead of the default foreground color.
2017-10-09 14:57:34 +03:00
Bart House
b1f7bd3791
Win32GUI: Set main window background brush to black.
...
Black is a better choice given that the map background
will always be black. This also creates a better polished
experience when all window backgrounds are set to black.
2017-10-09 14:56:46 +03:00
Bart House
8656807b4d
Windows GUI supports WC2_HILITE_STATUS
...
Avoids raw_print on startup
2017-10-08 01:56:18 +03:00
Bart House
b744e2ce1f
Win32GUI: Fix permanent inventory window going away
...
Fix bug where permanent inventory window would go away after
any operation that used the inventory window to pick items. Since
we were hiding the permanent inventory window, this would also
leave a space filled with white, creating jarring visual if
using dark themed window backgrounds.
2017-10-08 01:26:24 +03:00
Bart House
f8760093cc
Set the local working directory when debugging to $BinDir.
...
This is needed to ensure the defaults.nh is found.
2017-10-07 14:25:21 +03:00
Bart House
78756c9bd6
Addressing bug with the use of static dieroll in uhitm.c.
2017-10-01 14:39:35 +03:00
Bart House
d51f74a507
Fix flashing issue that is seen with STATUS_HILITES in Windows port.
2017-10-01 14:32:43 +03:00
Bart House
70ac8a12af
Improvements to build.bat scripts used to build Windows builds. Remove CRT Secure warnings.
2017-09-05 13:14:13 +03:00
Bart House
51f7cb5e9d
Fix build errors with Visual Studio 2017 using latest SDK. We have yet another global namespace collision between window headers and nethack headers. This time it is the macro Protection that is defined before it is used in a function prototype in the windows headers.
2017-09-04 12:56:20 +03:00
Bart House
1bc3cbac7f
Additional changes needed to support Visual Studio 2017.
2017-09-04 12:56:20 +03:00
Bart House
8a5351c079
Upgrade to VS2017 and newer SDK.
2017-09-04 12:56:20 +03:00
Bart House
3614059379
Fix line endings (CRLF and extra space).
2017-09-04 12:56:20 +03:00
Bart House
5b08481637
Adding vs2015 solution file to starting set of files.
2017-09-04 12:56:19 +03:00
Bart House
ceaf2f6109
Create initial vs2017 files from vs2015 files.
2017-09-04 12:56:19 +03:00
Bart House
be4e0992e6
Fix crash that occurs when closing application window while invetory is displayed.
2017-09-04 12:52:18 +03:00
Bart House
497a0b47c8
Fixed compiler warhing of casting int to pointer.
2017-09-04 12:41:53 +03:00
Bart House
4a4193ab37
Fixed compiler warning using pointer as UINT.
2017-09-04 12:41:53 +03:00
Bart House
c9a82e8ae6
Fix compiler warning where we cast 32bit value to pointer.
2017-09-04 12:41:53 +03:00
Bart House
878a18388c
Fixed coding error. strlen() returns size_t causing a size_t sized value pushed onto stack instead of long. On x64 builds, size_t != long. Caught via compiler warning in x64 build.
2017-09-04 12:41:53 +03:00
Bart House
ee61f1b730
Use %p for formatted output of pointers (needed to support x86 and x64 cleanly).
2017-09-04 12:41:53 +03:00
Bart House
1374d148d7
Removing unused function which also contained coding error (calling putc instead of fputc).
2017-09-04 12:41:53 +03:00
Bart House
78bee88b83
Turning off CRT secure warnings.
2017-09-04 12:41:53 +03:00