Mercurial > hg > early-roguelike
comparison xrogue/mach_dep.h @ 143:7faf4568c295
Advanced Rogue family: overhaul privilege handling.
Advanced Rogue 5 and 7, and XRogue, now open the scorefile and logfile
at startup and then drop any set[ug]id privileges if the savedir is not
being used.
author | John "Elwin" Edwards |
---|---|
date | Sat, 16 May 2015 13:39:26 -0400 |
parents | 0d151573bdb0 |
children | 3e1146666ae5 |
comparison
equal
deleted
inserted
replaced
142:6b5fbd7c3ece | 143:7faf4568c295 |
---|---|
55 /* | 55 /* |
56 * fudge factor allowed in time for saved game | 56 * fudge factor allowed in time for saved game |
57 */ | 57 */ |
58 | 58 |
59 #define FUDGE_TIME 200 | 59 #define FUDGE_TIME 200 |
60 | |
61 /* file locations */ | |
62 #define SCOREFILE "xrogue.scr" | |
63 #define LOGFILE "xrogue.log" | |
64 #define SAVEDIR "." |