]>
git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/hack.Decl.c
2 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
6 static char rcsid
[] = "$NetBSD: hack.Decl.c,v 1.3 1995/03/23 08:29:45 cgd Exp $";
10 char nul
[40]; /* contains zeros */
11 char plname
[PL_NSIZ
]; /* player name */
12 char lock
[PL_NSIZ
+4] = "1lock"; /* long enough for login name .99 */
14 boolean in_mklev
, restoring
;
16 struct rm levl
[COLNO
][ROWNO
]; /* level map */
18 #include "def.mkroom.h"
19 struct mkroom rooms
[MAXNROFROOMS
+1];
22 struct monst
*fmon
= 0;
23 struct trap
*ftrap
= 0;
24 struct gold
*fgold
= 0;
25 struct obj
*fobj
= 0, *fcobj
= 0, *invent
= 0, *uwep
= 0, *uarm
= 0,
26 *uarm2
= 0, *uarmh
= 0, *uarms
= 0, *uarmg
= 0, *uright
= 0,
27 *uleft
= 0, *uchain
= 0, *uball
= 0;
30 struct monst youmonst
; /* dummy; used as return value for boomhit */
33 xchar xupstair
, yupstair
, xdnstair
, ydnstair
;
34 char *save_cm
= 0, *killer
, *nomovemsg
;
44 xchar seelx
, seehx
, seely
, seehy
; /* corners of lit room */
48 char quitchars
[] = " \r\n\033";