SELF_RECOVER for win32
- define SELF_RECOVER for win32 - add code to perform a recover operation from within NetHack itself when SELF_RECOVER is defined
This commit is contained in:
@@ -644,6 +644,9 @@ E void FDECL(paniclog, (const char *, const char *));
|
||||
E int FDECL(validate_prefix_locations, (char *));
|
||||
E char** NDECL(get_saved_games);
|
||||
E void FDECL(free_saved_games, (char**));
|
||||
#ifdef SELF_RECOVER
|
||||
E boolean NDECL(recover_savefile);
|
||||
#endif
|
||||
|
||||
/* ### fountain.c ### */
|
||||
|
||||
@@ -1233,8 +1236,10 @@ E char *FDECL(get_username, (int *));
|
||||
E void FDECL(nt_regularize, (char *));
|
||||
E int NDECL((*nt_kbhit));
|
||||
E void FDECL(Delay, (int));
|
||||
# if !defined(WIN_CE)
|
||||
E boolean FDECL(is_NetHack_process, (int));
|
||||
# endif /* !WIN_CE */
|
||||
# endif /* WIN32 */
|
||||
|
||||
#endif /* MICRO || WIN32 */
|
||||
|
||||
/* ### mthrowu.c ### */
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#define PC_LOCKING /* Prevent overwrites of aborted or in-progress games */
|
||||
/* without first receiving confirmation. */
|
||||
|
||||
#define SELF_RECOVER /* Allow the game itself to recover from an aborted game */
|
||||
|
||||
/*
|
||||
* -----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user