Annotation of early-roguelike/arogue7/mach_dep.h, Revision 1.1.1.1
1.1 rubenllo 1: /*
2: * mach_dep.h - machine dependicies
3: *
4: * Advanced Rogue
5: * Copyright (C) 1984, 1985, 1986 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: /* Set these options, if not using config.h */
16: #ifndef HAVE_CONFIG_H
17: /*
18: * define that the wizard commands exist
19: */
20: #undef WIZARD /* 0 */
21:
22: /*
23: * define if you want to limit scores to one per class per userid
24: */
25: #undef LIMITSCORE /* 1 */
26:
27: #endif
28:
29: /*
30: * define that rogue should "nice()" itself
31: */
32: #undef NICE /* 1 */
33:
34: #ifdef NICE
35: #define FUDGE_TIME 70 /* fudge factor allowed in time for saved game*/
36: #else
37: #define FUDGE_TIME 50 /* fudge factor allowed in time for saved game*/
38: #endif
39:
40: #undef DUMP /* 1 */ /* dump core rather than catch the signal */
41: #undef NOCHECKACCESS /* 1 */ /* If set, then don't check time on save file */
42:
43:
44: /*
45: * where scorefile should live
46: */
47: /* File locations can be defined here, if necessary. */
48: #if 0
49: #define SCOREFILE "arogue7.scr"
50: #define LOGFILE "arogue7.log"
51: #endif
52:
53:
54: /*
55: * Variables for checking to make sure the system isn't too loaded
56: * for people to play
57: */
58:
59: #if u370
60: # define MAXUSERS 40 /* max number of users for this game */
61: # define MAXPROCESSES 140 /* number processes including system */
62: /* processes but not including gettys*/
63: #endif
64: #if uts
65: # define MAXUSERS 45 /* max number of users for this game */
66: # define MAXPROCESSES 150 /* number processes including system */
67: /* processes but not including gettys*/
68: #endif
69: #if vax
70: # define MAXUSERS 17 /* max number of users for this game */
71: # define MAXPROCESSES 85 /* number processes including system */
72: /* processes but not including gettys*/
73: #endif
74: #if u3b
75: # define MAXUSERS 14 /* max number of users for this game */
76: # define MAXPROCESSES 75 /* number processes including system */
77: /* processes but not including gettys*/
78: #endif
79:
80: #undef MAXUSERS
81: #undef MAXPROCESSES
82:
83: #undef CHECKTIME /* 15 *//* number of minutes between load checks */
84: /* if not defined checks are only on startup */
85: #define UTMP "/etc/utmp" /* where utmp file lives */
86: /*
87: * define the current author user id of the program for "special handling"
88: */
89: #ifndef AUTHOR
90: #define AUTHOR 0
91: #endif
CVSweb