gdb - Local mods (compile)
[dragonfly.git] / games / hack / hack.Decl.c
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* hack.Decl.c - version 1.0.3 */
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 */
8
9 boolean in_mklev, restoring;
10
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 */
25
26 xchar dlevel = 1;
27 xchar xupstair, yupstair, xdnstair, ydnstair;
28 const char *save_cm, *killer, *nomovemsg;
29
30 long moves = 1;
31 long wailmsg = 0;
32
33 int multi = 0;
34 char genocided[60];
35 char fut_geno[60];
36
37 xchar curx, cury;
38 xchar seelx, seehx, seely, seehy;       /* corners of lit room */
39
40 coord bhitpos;
41
42 char quitchars[] = " \r\n\033";