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.
This commit is contained in:
parent
cfe8f3c281
commit
ec3e34544a
2 changed files with 17 additions and 8 deletions
|
|
@ -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
|
||||
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -19,7 +19,9 @@
|
|||
/*
|
||||
* define/undefine that the wizard commands exist
|
||||
*/
|
||||
#ifndef HAVE_CONFIG_H
|
||||
#undef WIZARD
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define fstat _fstat
|
||||
|
|
@ -49,8 +51,10 @@ extern char *xcrypt();
|
|||
* define if you want to limit scores to one per class per userid
|
||||
*/
|
||||
|
||||
#ifndef HAVE_CONFIG_H
|
||||
/* #define LIMITSCORE 1*/
|
||||
#undef LIMITSCORE
|
||||
#endif
|
||||
|
||||
/*
|
||||
* fudge factor allowed in time for saved game
|
||||
|
|
@ -59,6 +63,7 @@ extern char *xcrypt();
|
|||
#define FUDGE_TIME 200
|
||||
|
||||
/* file locations */
|
||||
/* uncomment if not using config.h */
|
||||
/*#define SCOREFILE "xrogue.scr"*/
|
||||
/*#define LOGFILE "xrogue.log"*/
|
||||
#ifndef HAVE_CONFIG_H
|
||||
#define SCOREFILE "xrogue.scr"
|
||||
#define LOGFILE "xrogue.log"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue