2 * WARNING: GLOBAL (EXTERNAL) declarations for adventure */
4 #ifndef EXTERN /* #define as '' to define the variables */
8 EXTERN boolean gaveup
; /* TRUE if he quits early */
9 EXTERN
FILE *fd1
, *fd2
, *fd3
, *fd4
;
14 EXTERN
char *vtxt
[MAXWORDS
], *iotxt
[MAXITEMS
], *otxt
[MAXITEMS
];
15 EXTERN
int verbs
[MAXWORDS
], objs
[MAXITEMS
], iobjs
[MAXITEMS
];
16 EXTERN
int vrbx
, objx
, iobx
;
17 EXTERN
int verb
, object
, motion
, iobj
, prep
;
18 EXTERN boolean newtravel
, is_wiz
;
23 extern int plac
[MAXOBJ
]; /* initial location */
24 extern int fixd
[MAXOBJ
];
27 int loc
, oldloc
, oldloc2
, newloc
; /* location variables */
28 long loc_attrib
[MAXLOC
+1]; /* location status */
29 int place
[MAXOBJ
]; /* object location */
30 int fixed
[MAXOBJ
]; /* second object loc */
36 int visited
[MAXLOC
+1]; /* >0 if has been here */
37 int prop
[MAXOBJ
]; /* status of object */
38 long obj_state
[MAXOBJ
];
41 int hints
[HNTMAX
+1][5];
43 int tally
, tally2
; /* item counts */
44 int limit
; /* time limit */
45 int lmwarn
; /* lamp warning flag */
46 int wzdark
, closing
, closed
; /* game state flags */
47 int holding
; /* count of held items */
48 int detail
; /* LOOK count */
49 int knfloc
; /* knife location */
50 int clock
, clock2
, panic
; /* timing variables */
51 int dloc
[DWARFMAX
+1]; /* dwarf locations */
52 int dflag
; /* dwarf flag */
53 int dseen
[DWARFMAX
+1]; /* dwarf seen flag */
54 int odloc
[DWARFMAX
+1]; /* dwarf old locations */
55 int daltloc
; /* alternate appearance */
56 int dkill
; /* dwarves killed */
57 int chloc
, chloc2
; /* chest locations */
58 int bonus
; /* to pass to end */
59 int numdie
; /* number of deaths */
60 int foobar
; /* fee fie foe foo... */
61 int combo
; /* combination for safe */
69 int lastglob
; /* to get space req. */
71 extern struct playinfo g
;