win32: Save and load map colors from registry

This commit is contained in:
Pasi Kallinen
2016-10-06 21:00:15 +03:00
parent 580c18bb7e
commit f95747e3ef
4 changed files with 47 additions and 36 deletions
+3
View File
@@ -25,6 +25,7 @@
#include <commctrl.h>
#include <tchar.h>
#include "hack.h"
#include "color.h"
/* Create an array to keep track of the various windows */
@@ -94,6 +95,8 @@ typedef struct mswin_nhwindow_app {
regNetHackMode; /* NetHack mode means no Windows keys in some places
*/
COLORREF regMapColors[CLR_MAX];
LONG regMainMinX;
LONG regMainMinY;
LONG regMainMaxX;