Mercurial > hg > early-roguelike
comparison 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 |
comparison
equal
deleted
inserted
replaced
271:88bd51f231e7 | 272:1db299e868b8 |
---|---|
1811 long md_random(void); | 1811 long md_random(void); |
1812 void md_srandom(long seed); | 1812 void md_srandom(long seed); |
1813 int md_readchar(WINDOW *win); | 1813 int md_readchar(WINDOW *win); |
1814 int md_getuid(void); | 1814 int md_getuid(void); |
1815 void md_normaluser(void); | 1815 void md_normaluser(void); |
1816 void md_onsignal_autosave(void); | |
1817 void md_ignore_signals(void); | |
1816 | 1818 |
1817 #define NOOP(x) (x += 0) | 1819 #define NOOP(x) (x += 0) |
1818 #define CCHAR(x) ( (char) (x & A_CHARTEXT) ) | 1820 #define CCHAR(x) ( (char) (x & A_CHARTEXT) ) |