Mercurial > hg > early-roguelike
comparison xrogue/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 |
comparison
equal
deleted
inserted
replaced
158:2515e03b2f09 | 159:44a0fce4b168 |
---|---|
17 */ | 17 */ |
18 | 18 |
19 /* | 19 /* |
20 * define/undefine that the wizard commands exist | 20 * define/undefine that the wizard commands exist |
21 */ | 21 */ |
22 #ifndef HAVE_CONFIG_H | |
22 #undef WIZARD | 23 #undef WIZARD |
24 #endif | |
23 | 25 |
24 #if defined(_WIN32) | 26 #if defined(_WIN32) |
25 #define fstat _fstat | 27 #define fstat _fstat |
26 #define stat _stat | 28 #define stat _stat |
27 #define open _open | 29 #define open _open |
47 | 49 |
48 /* | 50 /* |
49 * define if you want to limit scores to one per class per userid | 51 * define if you want to limit scores to one per class per userid |
50 */ | 52 */ |
51 | 53 |
54 #ifndef HAVE_CONFIG_H | |
52 /* #define LIMITSCORE 1*/ | 55 /* #define LIMITSCORE 1*/ |
53 #undef LIMITSCORE | 56 #undef LIMITSCORE |
57 #endif | |
54 | 58 |
55 /* | 59 /* |
56 * fudge factor allowed in time for saved game | 60 * fudge factor allowed in time for saved game |
57 */ | 61 */ |
58 | 62 |
59 #define FUDGE_TIME 200 | 63 #define FUDGE_TIME 200 |
60 | 64 |
61 /* file locations */ | 65 /* file locations */ |
62 /* uncomment if not using config.h */ | 66 #ifndef HAVE_CONFIG_H |
63 /*#define SCOREFILE "xrogue.scr"*/ | 67 #define SCOREFILE "xrogue.scr" |
64 /*#define LOGFILE "xrogue.log"*/ | 68 #define LOGFILE "xrogue.log" |
69 #endif |