comparison arogue5/mach_dep.h @ 99:dfeed24bb616

arogue5: port to autoconf. 'configure' and 'make install' now work. There may be problems with hard-to-test features like MAXLOAD.
author John "Elwin" Edwards
date Sat, 31 Aug 2013 09:18:07 -0700
parents d8e5c5dd9b55
children
comparison
equal deleted inserted replaced
98:ea71ef31d9be 99:dfeed24bb616
11 * 11 *
12 * See the file LICENSE.TXT for full copyright and licensing information. 12 * See the file LICENSE.TXT for full copyright and licensing information.
13 */ 13 */
14 14
15 /* 15 /*
16 * Things that get set in config.h have been #if 0'd out. You should only
17 * need to set them here if you don't use configure and want to enable those
18 * features.
19 */
20
21 /*
16 * define that the wizard commands exist 22 * define that the wizard commands exist
17 */ 23 */
24 #if 0
18 #undef WIZARD /*1*/ 25 #undef WIZARD /*1*/
26 #endif
19 27
20 /* 28 /*
21 * define if you want to limit scores to one per class per userid 29 * define if you want to limit scores to one per class per userid
22 */ 30 */
31 #if 0
23 #undef LIMITSCORE 32 #undef LIMITSCORE
33 #endif
24 34
25 /* 35 /*
26 * where scorefile should live 36 * where scorefile should live
27 */ 37 */
38 #if 0
28 #define SCOREFILE "/var/local/games/roguelike/arogue5.scr" 39 #define SCOREFILE "/var/local/games/roguelike/arogue5.scr"
29 #define LOGFILE "/var/local/games/roguelike/arogue5.log" 40 #define LOGFILE "/var/local/games/roguelike/arogue5.log"
30 #define SAVEDIR "/var/local/games/roguelike/arogue5save/" 41 #define SAVEDIR "/var/local/games/roguelike/arogue5save/"
42 #endif
31 43
32 /* 44 /*
33 * Variables for checking to make sure the system isn't too loaded 45 * Variables for checking to make sure the system isn't too loaded
34 * for people to play 46 * for people to play
35 */ 47 */
36 48
49 #if 0
37 #undef MAXUSERS /*40*/ /* max number of users for this game */ 50 #undef MAXUSERS /*40*/ /* max number of users for this game */
38 #undef MAXLOAD /*40*/ /* 10 * max 15 minute load average */ 51 #undef MAXLOAD /*40*/ /* 10 * max 15 minute load average */
52 #endif
39 53
40 #undef CHECKTIME /*15*/ /* number of minutes between load checks */ 54 #undef CHECKTIME /*15*/ /* number of minutes between load checks */
41 /* if not defined checks are only on startup */ 55 /* if not defined checks are only on startup */
42 56
43 #ifdef MAXLOAD 57 #ifdef MAXLOAD