diff urogue/rogue.h @ 272:1db299e868b8

UltraRogue: add the autosave feature. UltraRogue now automatically saves the game when SIGHUP or SIGTERM is received.
author John "Elwin" Edwards
date Sun, 03 Sep 2017 19:58:22 -0400
parents 4ab49e42dd6a
children
line wrap: on
line diff
--- a/urogue/rogue.h	Sun Mar 05 20:14:11 2017 -0500
+++ b/urogue/rogue.h	Sun Sep 03 19:58:22 2017 -0400
@@ -1813,6 +1813,8 @@
 int md_readchar(WINDOW *win);
 int md_getuid(void);
 void md_normaluser(void);
+void md_onsignal_autosave(void);
+void md_ignore_signals(void);
 
 #define NOOP(x) (x += 0)
 #define CCHAR(x) ( (char) (x & A_CHARTEXT) )