/
config.h
76 lines (63 loc) · 2.47 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
/* Person to bother if something goes wrong */
/* recompile files.c and misc2.c if these change */
#define WIZARD "Ed Vopata"
/* Wizard password */
#define PASSWD1 "xxxx"
/* God password, for debugging */
#define PASSWD2 "yyyy"
/* Wizard/God user id */
#define UID 283
/* files used by moria, set these to valid pathnames */
/* if you change these, you only have to recompile death.c and files.c */
/* #define MORIA_HOU "/usrb/vopata/mm/Moria_hours" */
#define MORIA_HOU "Moria_hours"
/* #define MORIA_MOR "/usrb/vopata/mm/Moria_news" */
#define MORIA_MOR "Moria_news"
/* #define MORIA_MAS "/usrb/vopata/mm/Character" */
#define MORIA_MAS "Character"
/* #define MORIA_TOP "/usrb/vopata/mm/Highscores" */
#define MORIA_TOP "Highscores"
/* #define MORIA_HLP "/usrb/vopata/mm/Helpfile" */
#define MORIA_HLP "Helpfile"
/* this sets the default user interface, ONE of the two must be defined */
/* use the original key bindings, keypad for movement */
/* if you change this, you only need to recompile main.c */
/* #define KEY_BINDINGS ORIGINAL */
/* this uses a rogue-like key bindings, vi style movement */
#define KEY_BINDINGS ROGUE_LIKE
/* no system definitions are needed for 4.3BSD or SUN OS */
/* if you are compiling on an ultrix/4.2BSD/Dynix/etc. version of UNIX,
define this, not needed for SUNs */
/* #define ultrix */
/* if you are compiling on a SYS V version of UNIX, define this */
#define SYS_V
/* if you are compiling on a SYS III version of UNIX, define this */
/* #define SYS_III */
/* if the screen does not look right (it will be obvious) then you have a buggy
version of curses, and you must define this */
/* this must be defined for Ultrix systems, and for most 4.2BSD systems
it is not needed for Dynix */
/* only need to recompile io.c */
/* #define BUGGY_CURSES */
/* define this is your machine does not have signed characters:
this is needed for IBM PC-RT, 3B1, 3B2, 3B20, and perhaps others */
/* #define NO_SIGNED_CHARS
/* this will slow down the game a bit, and therefore make it use up a little
less cpu time, this enables sleep() code for the resting commands,
and for character rerolling */
/* only need to recompile dungeon.c and create.c
/* #define SLOW */
/* system dependent defines follow, you should not need to change anything
below */
/* substitute strchr for index on USG versions of UNIX */
#ifdef SYS_V
#define index strchr
#endif
#ifdef SYS_III
char *index();
#endif
#if defined(SYS_III) || defined(SYS_V)
#ifndef USG
#define USG
#endif
#endif