kernel - CAM cleanup 1/N - Remove ancient scsi pccard drivers ncv, nsp, stg
[dragonfly.git] / games / hack / hack.Decl.c
blob15f807e96d0ce1cc6ad1c810bc6c6bdcf475e4a5
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* hack.Decl.c - version 1.0.3 */
4 #include "hack.h"
5 char nul[40]; /* contains zeros */
6 char plname[PL_NSIZ]; /* player name */
7 char lock[PL_NSIZ + 4] = "1lock"; /* long enough for login name .99 */
9 boolean in_mklev, restoring;
11 struct rm levl[COLNO][ROWNO]; /* level map */
12 #ifndef QUEST
13 struct mkroom rooms[MAXNROFROOMS + 1];
14 coord doors[DOORMAX];
15 #endif /* QUEST */
16 struct monst *fmon = NULL;
17 struct trap *ftrap = NULL;
18 struct gold *fgold = NULL;
19 struct obj *fobj = NULL, *fcobj = NULL, *invent = NULL, *uwep = NULL, *uarm = NULL,
20 *uarm2 = NULL, *uarmh = NULL, *uarms = NULL, *uarmg = NULL, *uright = NULL,
21 *uleft = NULL, *uchain = NULL, *uball = NULL;
22 struct flag flags;
23 struct you u;
24 struct monst youmonst; /* dummy; used as return value for boomhit */
26 xchar dlevel = 1;
27 xchar xupstair, yupstair, xdnstair, ydnstair;
28 const char *save_cm, *killer, *nomovemsg;
30 long moves = 1;
31 long wailmsg = 0;
33 int multi = 0;
34 char genocided[60];
35 char fut_geno[60];
37 xchar curx, cury;
38 xchar seelx, seehx, seely, seehy; /* corners of lit room */
40 coord bhitpos;
42 char quitchars[] = " \r\n\033";