win32_gui: mimic tty interface when "Nethack mode" is selected (remove window features)

This commit is contained in:
Alex Kompel
2016-01-03 19:52:05 -08:00
parent 44a9f1db17
commit c4bf762ec1
10 changed files with 103 additions and 61 deletions
+2 -2
View File
@@ -210,7 +210,7 @@ mswin_init_nhwindows(int *argc, char **argv)
*/
iflags.toptenwin = 1;
set_option_mod_status("toptenwin", SET_IN_FILE);
set_option_mod_status("perm_invent", SET_IN_FILE);
//set_option_mod_status("perm_invent", SET_IN_FILE);
/* initialize map tiles bitmap */
initMapTiles();
@@ -2279,7 +2279,7 @@ mswin_read_reg()
is
read from the registry, so these defaults apply. */
GetNHApp()->saveRegistrySettings = 1; /* Normally, we always save */
GetNHApp()->regNetHackMode = 0;
GetNHApp()->regNetHackMode = TRUE;
if (RegOpenKeyEx(HKEY_CURRENT_USER, keystring, 0, KEY_READ, &key)
!= ERROR_SUCCESS)