OSDN Git Service

upgrade to 3.6.7
[jnethack/source.git] / include / ntconf.h
index bcfe2e9..3da7e9c 100644 (file)
@@ -34,7 +34,9 @@
 
 /*#define CHANGE_COLOR*/ /* allow palette changes */
 #define SELECTSAVED /* Provide menu of saved games to choose from at start */
+
+/* #define QWERTZ_SUPPORT */ /* when swap_yz is True, numpad 7 is 'z' not 'y' */
+
 /*
  * -----------------------------------------------------------------
  *  The remaining code shouldn't need modification.
@@ -43,6 +45,8 @@
 /* #define SHORT_FILENAMES */ /* All NT filesystems support long names now
  */
 
+#define VERSION_IN_DLB_FILENAME     /* Append version digits to nhdat */
+
 #ifdef MICRO
 #undef MICRO /* never define this! */
 #endif
                      * objects being thrown when the hangup occurs.    \
                      */
 
+#if 0 /*JP*/
+#define CONFIG_FILE ".nethackrc"
+#define CONFIG_TEMPLATE ".nethackrc.template"
+#else
+#define CONFIG_FILE ".jnethackrc"
+#define CONFIG_TEMPLATE ".jnethackrc.template"
+#endif
+#define SYSCF_TEMPLATE "sysconf.template"
+#define SYMBOLS_TEMPLATE "symbols.template"
+#define GUIDEBOOK_FILE "Guidebook.txt"
+
 /* Stuff to help the user with some common, yet significant errors */
 #define INTERJECT_PANIC 0
 #define INTERJECTION_TYPES (INTERJECT_PANIC + 1)
@@ -98,7 +113,7 @@ extern void FDECL(interject, (int));
 #ifdef strcasecmp
 #undef strcasecmp
 #endif
-extern void NDECL(getlock);
+/* extern int NDECL(getlock); */
 #endif
  
 #ifdef _MSC_VER
@@ -224,7 +239,7 @@ extern void FDECL(nttty_preference_update, (const char *));
 extern void NDECL(toggle_mouse_support);
 extern void FDECL(map_subkeyvalue, (char *));
 #if defined(WIN32CON)
-extern void FDECL(set_altkeyhandler, (const char *));
+extern void set_altkeyhandling(const char *);
 #endif
 extern void NDECL(raw_clear_screen);
 
@@ -282,4 +297,6 @@ extern void FDECL(nhassert_failed, (const char * exp, const char * file,
 
 #define nethack_enter(argc, argv) nethack_enter_winnt()
 extern void FDECL(nethack_exit, (int)) NORETURN;
+extern boolean FDECL(file_exists, (const char *));
+extern boolean FDECL(file_newer, (const char *, const char *));
 #endif /* NTCONF_H */