comparison arogue7/mach_dep.h @ 125:adfa37e67084

Import Advanced Rogue 7.7 from the Roguelike Restoration Project (r1490)
author John "Elwin" Edwards
date Fri, 08 May 2015 15:24:40 -0400
parents
children 8ae3ffd6c6e7
comparison
equal deleted inserted replaced
124:d10fc4a065ac 125:adfa37e67084
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 /*
16 * define that the wizard commands exist
17 */
18 #define WIZARD 0
19
20 /*
21 * define if you want to limit scores to one per class per userid
22 */
23 #undef LIMITSCORE /* 1 */
24
25 /*
26 * define that rogue should "nice()" itself
27 */
28 #undef NICE /* 1 */
29
30 #ifdef NICE
31 #define FUDGE_TIME 70 /* fudge factor allowed in time for saved game*/
32 #else
33 #define FUDGE_TIME 50 /* fudge factor allowed in time for saved game*/
34 #endif
35
36 #undef DUMP /* 1 */ /* dump core rather than catch the signal */
37 #undef NOCHECKACCESS /* 1 */ /* If set, then don't check time on save file */
38
39
40 /*
41 * where scorefile should live
42 */
43 #ifndef SCOREFILE
44 #define SCOREFILE "/usr/games/lib/rogue_roll"
45 #endif
46
47 /*
48 * Variables for checking to make sure the system isn't too loaded
49 * for people to play
50 */
51
52 #if u370
53 # define MAXUSERS 40 /* max number of users for this game */
54 # define MAXPROCESSES 140 /* number processes including system */
55 /* processes but not including gettys*/
56 #endif
57 #if uts
58 # define MAXUSERS 45 /* max number of users for this game */
59 # define MAXPROCESSES 150 /* number processes including system */
60 /* processes but not including gettys*/
61 #endif
62 #if vax
63 # define MAXUSERS 17 /* max number of users for this game */
64 # define MAXPROCESSES 85 /* number processes including system */
65 /* processes but not including gettys*/
66 #endif
67 #if u3b
68 # define MAXUSERS 14 /* max number of users for this game */
69 # define MAXPROCESSES 75 /* number processes including system */
70 /* processes but not including gettys*/
71 #endif
72
73 #undef MAXUSERS
74 #undef MAXPROCESSES
75
76 #undef CHECKTIME /* 15 *//* number of minutes between load checks */
77 /* if not defined checks are only on startup */
78 #define UTMP "/etc/utmp" /* where utmp file lives */
79 /*
80 * define the current author user id of the program for "special handling"
81 */
82 #ifndef AUTHOR
83 #define AUTHOR 0
84 #endif