UltraRogue: add the autosave feature.
UltraRogue now automatically saves the game when SIGHUP or SIGTERM is received.
This commit is contained in:
parent
8c77aafa62
commit
6c46840eab
4 changed files with 62 additions and 0 deletions
|
|
@ -1813,6 +1813,8 @@ void md_srandom(long seed);
|
|||
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) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue