|
|
1.1 ! root 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";
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.