diff arogue7/mach_dep.h @ 159:44a0fce4b168

arogue7, xrogue: fix configure's wizardmode and limitscore options. WIZARD and LIMITSCORE, when set by options to './configure', are no longer overridden in mach_dep.h.
author John "Elwin" Edwards
date Fri, 05 Jun 2015 13:57:38 -0400
parents 3e1146666ae5
children 4b1999ac91cf
line wrap: on
line diff
--- a/arogue7/mach_dep.h	Thu Jun 04 17:08:40 2015 -0400
+++ b/arogue7/mach_dep.h	Fri Jun 05 13:57:38 2015 -0400
@@ -12,16 +12,20 @@
  * See the file LICENSE.TXT for full copyright and licensing information.
  */
 
+/* Set these options, if not using config.h */
+#ifndef HAVE_CONFIG_H
 /*
  * define that the wizard commands exist
  */
-#define	WIZARD	0
+#undef	WIZARD /* 0 */
 
 /*
  * define if you want to limit scores to one per class per userid
  */
 #undef LIMITSCORE /* 1 */
 
+#endif
+
 /* 
  * define that rogue should "nice()" itself
  */
@@ -40,10 +44,10 @@
 /*
  * where scorefile should live
  */
-/* Uncomment if you are not using config.h */
-/*#define SCOREFILE	"arogue7.scr"*/
-
-/*#define LOGFILE "arogue7.log"*/
+#ifndef HAVE_CONFIG_H
+#define SCOREFILE	"arogue7.scr"
+#define LOGFILE "arogue7.log"
+#endif
 
 
 /*