1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* hack.Decl.c - version 1.0.3 */
3 /* $DragonFly: src/games/hack/hack.Decl.c,v 1.4 2006/08/21 19:45:32 pavalos Exp $ */
6 char nul
[40]; /* contains zeros */
7 char plname
[PL_NSIZ
]; /* player name */
8 char lock
[PL_NSIZ
+4] = "1lock"; /* long enough for login name .99 */
10 boolean in_mklev
, restoring
;
12 struct rm levl
[COLNO
][ROWNO
]; /* level map */
14 struct mkroom rooms
[MAXNROFROOMS
+1];
17 struct monst
*fmon
= 0;
18 struct trap
*ftrap
= 0;
19 struct gold
*fgold
= 0;
20 struct obj
*fobj
= 0, *fcobj
= 0, *invent
= 0, *uwep
= 0, *uarm
= 0,
21 *uarm2
= 0, *uarmh
= 0, *uarms
= 0, *uarmg
= 0, *uright
= 0,
22 *uleft
= 0, *uchain
= 0, *uball
= 0;
25 struct monst youmonst
; /* dummy; used as return value for boomhit */
28 xchar xupstair
, yupstair
, xdnstair
, ydnstair
;
29 const char *save_cm
, *killer
, *nomovemsg
;
39 xchar seelx
, seehx
, seely
, seehy
; /* corners of lit room */
43 char quitchars
[] = " \r\n\033";