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: #include "def.mkroom.h"
  14: struct mkroom rooms[MAXNROFROOMS+1];
  15: coord doors[DOORMAX];
  16: #endif QUEST
  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;
  23: struct flag flags;
  24: struct you u;
  25: struct monst youmonst;  /* dummy; used as return value for boomhit */
  26: 
  27: xchar dlevel = 1;
  28: xchar xupstair, yupstair, xdnstair, ydnstair;
  29: char *save_cm = 0, *killer, *nomovemsg;
  30: 
  31: long moves = 1;
  32: long wailmsg = 0;
  33: 
  34: int multi = 0;
  35: char genocided[60];
  36: char fut_geno[60];
  37: 
  38: xchar curx,cury;
  39: xchar seelx, seehx, seely, seehy;   /* corners of lit room */
  40: 
  41: coord bhitpos;
  42: 
  43: char quitchars[] = " \r\n\033";

Defined variables

curx defined in line 38; never used
cury defined in line 38; never used
dlevel defined in line 27; never used
flags defined in line 23; used 225 times
fut_geno defined in line 36; used 9 times
genocided defined in line 35; used 4 times
in_mklev defined in line 9; never used
levl defined in line 11; used 172 times
lock defined in line 7; used 18 times
nul defined in line 5; used 3 times
restoring defined in line 9; never used
save_cm defined in line 29; used 2 times
seehx defined in line 39; never used
seehy defined in line 39; never used
seelx defined in line 39; never used
seely defined in line 39; never used
u defined in line 24; used 642 times
wailmsg defined in line 32; used 2 times
xdnstair defined in line 28; never used
xupstair defined in line 28; never used
ydnstair defined in line 28; never used
yupstair defined in line 28; never used
Last modified: 1985-12-12
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 3312
Valid CSS Valid XHTML 1.0 Strict