Mercurial > hg > early-roguelike
comparison arogue5/mach_dep.h @ 63:0ed67132cf10
Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490)
author | elwin |
---|---|
date | Thu, 09 Aug 2012 22:58:48 +0000 |
parents | |
children | a98834ce7e04 |
comparison
equal
deleted
inserted
replaced
62:0ef99244acb8 | 63:0ed67132cf10 |
---|---|
1 /* | |
2 * machine dependicies | |
3 * | |
4 * Advanced Rogue | |
5 * Copyright (C) 1984, 1985 Michael Morgan, Ken Dalka and AT&T | |
6 * All rights reserved. | |
7 * | |
8 * Based on "Rogue: Exploring the Dungeons of Doom" | |
9 * Copyright (C) 1980, 1981 Michael Toy, Ken Arnold and Glenn Wichman | |
10 * All rights reserved. | |
11 * | |
12 * See the file LICENSE.TXT for full copyright and licensing information. | |
13 */ | |
14 | |
15 /* | |
16 * define that the wizard commands exist | |
17 */ | |
18 #define WIZARD 1 | |
19 | |
20 /* | |
21 * define if you want to limit scores to one per class per userid | |
22 */ | |
23 #undef LIMITSCORE | |
24 | |
25 /* | |
26 * where scorefile should live | |
27 */ | |
28 #define SCOREFILE "/bnr/contrib/lib/rogue/scorefile" | |
29 | |
30 /* | |
31 * Variables for checking to make sure the system isn't too loaded | |
32 * for people to play | |
33 */ | |
34 | |
35 #undef MAXUSERS /*40*/ /* max number of users for this game */ | |
36 #undef MAXLOAD /*40*/ /* 10 * max 15 minute load average */ | |
37 | |
38 #undef CHECKTIME /*15*/ /* number of minutes between load checks */ | |
39 /* if not defined checks are only on startup */ | |
40 | |
41 #ifdef MAXLOAD | |
42 #define LOADAV /* defined if rogue should provide loadav() */ | |
43 | |
44 #ifdef LOADAV | |
45 #define NAMELIST "/unix" /* where the system namelist lives */ | |
46 #endif | |
47 #endif | |
48 | |
49 #ifdef MAXUSERS | |
50 #define UCOUNT /* defined if rogue should provide ucount() */ | |
51 | |
52 #ifdef UCOUNT | |
53 #define UTMP "/etc/utmp" /* where utmp file lives */ | |
54 #endif | |
55 #endif | |
56 | |
57 #undef AUTHOR /*212*/ | |
58 | |
59 /* | |
60 * define the current author of the program for "special handling" | |
61 */ | |
62 #ifndef AUTHOR | |
63 #define AUTHOR 0 /* Default to root if not specified above */ | |
64 #endif |