|
|
1.1 root 1: /*
2: * machine dependicies
3: *
4: * %G% (Berkeley) %W%
5: */
6: /*
7: * where scorefile should live
8: */
9: #define SCOREFILE "/usr/games/lib/rogue_roll"
10:
11: /*
12: * Variables for checking to make sure the system isn't too loaded
13: * for people to play
14: */
15:
16: #undef MAXUSERS 25 /* max number of users for this game */
17: #undef MAXLOAD 40 /* 10 * max 15 minute load average */
18:
19: #if MAXUSERS|MAXLOAD
20: #define CHECKTIME 15 /* number of minutes between load checks */
21: /* if not defined checks are only on startup */
22: #endif
23:
24: #ifdef MAXLOAD
25: #define LOADAV /* defined if rogue should provide loadav() */
26:
27: #ifdef LOADAV
28: #define NAMELIST "/vmunix" /* where the system namelist lives */
29: #endif
30: #endif
31:
32: #ifdef MAXUSERS
33: #define UCOUNT /* defined if rogue should provide ucount() */
34:
35: #ifdef UCOUNT
36: #define UTMP "/etc/utmp" /* where utmp file lives */
37: #endif
38: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.