Merge remote-tracking branch 'origin/NetHack-3.6.0'
This commit is contained in:
@@ -426,6 +426,15 @@ E const char *ARGV0;
|
||||
E void NDECL((*dropleveltempsfn));
|
||||
#endif
|
||||
|
||||
enum earlyarg {ARG_DEBUG, ARG_VERSION};
|
||||
|
||||
struct early_opt {
|
||||
enum earlyarg e;
|
||||
const char *name;
|
||||
int minlength;
|
||||
boolean valallowed;
|
||||
};
|
||||
|
||||
#undef E
|
||||
|
||||
#endif /* DECL_H */
|
||||
|
||||
@@ -26,6 +26,7 @@ E void NDECL(display_gamewindows);
|
||||
E void NDECL(newgame);
|
||||
E void FDECL(welcome, (BOOLEAN_P));
|
||||
E time_t NDECL(get_realtime);
|
||||
E boolean FDECL(argcheck, (int, char **, enum earlyarg));
|
||||
|
||||
/* ### apply.c ### */
|
||||
|
||||
@@ -1919,6 +1920,7 @@ E const char *NDECL(bottlename);
|
||||
/* ### pray.c ### */
|
||||
|
||||
E boolean FDECL(critically_low_hp, (BOOLEAN_P));
|
||||
E boolean NDECL(stuck_in_wall);
|
||||
#ifdef USE_TRAMPOLI
|
||||
E int NDECL(prayer_done);
|
||||
#endif
|
||||
@@ -2570,10 +2572,14 @@ E void FDECL(store_version, (int));
|
||||
E unsigned long FDECL(get_feature_notice_ver, (char *));
|
||||
E unsigned long NDECL(get_current_feature_ver);
|
||||
E const char *FDECL(copyright_banner_line, (int));
|
||||
E void FDECL(early_version_info, (BOOLEAN_P));
|
||||
|
||||
#ifdef RUNTIME_PORT_ID
|
||||
E char *FDECL(get_port_id, (char *));
|
||||
#endif
|
||||
#ifdef RUNTIME_PASTEBUF_SUPPORT
|
||||
E void FDECL(port_insert_pastebuf, (char *));
|
||||
#endif
|
||||
|
||||
/* ### video.c ### */
|
||||
|
||||
|
||||
@@ -69,6 +69,12 @@
|
||||
#define PORT_DEBUG /* include ability to debug international keyboard issues \
|
||||
*/
|
||||
|
||||
#define RUNTIME_PORT_ID /* trigger run-time port identification for \
|
||||
* identification of exe CPU architecture \
|
||||
*/
|
||||
#define RUNTIME_PASTEBUF_SUPPORT
|
||||
|
||||
|
||||
#define SAFERHANGUP /* Define SAFERHANGUP to delay hangup processing \
|
||||
* until the main command loop. 'safer' because it \
|
||||
* avoids certain cheats and also avoids losing \
|
||||
@@ -117,11 +123,6 @@ extern void FDECL(interject, (int));
|
||||
#endif
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
|
||||
#define RUNTIME_PORT_ID /* trigger run-time port identification for \
|
||||
* identification of exe CPU architecture \
|
||||
*/
|
||||
|
||||
/* The following is needed for prototypes of certain functions */
|
||||
#if defined(_MSC_VER)
|
||||
#include <process.h> /* Provides prototypes of exit(), spawn() */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* NetHack 3.6 unixconf.h $NHDT-Date: 1451342112 2015/12/28 22:35:12 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.25 $ */
|
||||
/* NetHack 3.6 unixconf.h $NHDT-Date: 1520099325 2018/03/03 17:48:45 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.30 $ */
|
||||
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
@@ -136,6 +136,8 @@
|
||||
#define TIMED_DELAY
|
||||
#endif
|
||||
|
||||
/* #define AVOID_WIN_IOCTL */ /* ensure USE_WIN_IOCTL remains undefined */
|
||||
|
||||
/*
|
||||
* If you define MAIL, then the player will be notified of new mail
|
||||
* when it arrives. If you also define DEF_MAILREADER then this will
|
||||
@@ -387,5 +389,9 @@
|
||||
#endif /* LINUX */
|
||||
#endif /* GNOME_GRAPHICS */
|
||||
|
||||
#ifdef __APPLE__
|
||||
# define RUNTIME_PASTEBUF_SUPPORT
|
||||
#endif
|
||||
|
||||
#endif /* UNIXCONF_H */
|
||||
#endif /* UNIX */
|
||||
|
||||
@@ -359,7 +359,7 @@ struct chain_procs {
|
||||
void FDECL((*win_status_finish), (CARGS));
|
||||
void FDECL((*win_status_enablefield),
|
||||
(CARGS, int, const char *, const char *, BOOLEAN_P));
|
||||
void FDECL((*win_status_update), (CARGS, int, genericptr_t, int, int, int, unsigned long));
|
||||
void FDECL((*win_status_update), (CARGS, int, genericptr_t, int, int, int, unsigned long *));
|
||||
boolean FDECL((*win_can_suspend), (CARGS));
|
||||
};
|
||||
#endif /* WINCHAIN */
|
||||
|
||||
Reference in New Issue
Block a user