diff 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
line wrap: on
line diff
--- a/xrogue/mach_dep.h	Tue May 12 21:39:39 2015 -0400
+++ b/xrogue/mach_dep.h	Sat May 16 13:39:26 2015 -0400
@@ -57,3 +57,8 @@
  */
 
 #define FUDGE_TIME      200
+
+/* file locations */
+#define SCOREFILE "xrogue.scr"
+#define LOGFILE "xrogue.log"
+#define SAVEDIR "."