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