xchar
typedef xchar boolean; /* 0 or 1 */
xchar gx,gy;
xchar gx,gy;
xchar mx,my;
xchar mdx,mdy; /* if mdispl then pos where last displayed */
xchar ox,oy;
xchar odx,ody;
xchar tx,ty;
xchar wx,wy;
xchar dlevel = 1;
xchar xupstair, yupstair, xdnstair, ydnstair;
xchar curx,cury;
xchar seelx, seehx, seely, seehy; /* corners of lit room */
xchar oldx,oldy;
xchar rx = u.ux+2*u.dx, ry = u.uy+2*u.dy;
cansee(xchar x, xchar y)
cansee(xchar x, xchar y)
xchar cnt, chcnt, nix, niy;
xchar gx, gy, gtyp, otyp; /* current goal */
inroom(xchar x, xchar y)
xchar maxdlevel = 1;
wipe_engr_at(xchar x, xchar y, xchar cnt)
xchar type;
xchar engr_x, engr_y;
xchar engr_type;
engr_at(xchar x, xchar y)
sengr_at(char *s, xchar x, xchar y)
xchar ux, uy;
xchar ux0, uy0; /* initial position FF */
xchar udisx, udisy; /* last display pos */
extern xchar curx,cury; /* cursor location on screen */
extern xchar seehx,seelx,seehy,seely; /* where to see*/
extern xchar dlevel, maxdlevel; /* dungeon level */
int cansee(xchar, xchar);
int inroom(xchar, xchar);
struct engr *engr_at(xchar, xchar);
int sengr_at(char *, xchar, xchar);
void wipe_engr_at(xchar, xchar, xchar);
void savelev(int, xchar);
void getlev(int, int, xchar);
coord enexto(xchar, xchar);
void at(xchar, xchar, char);
char news0(xchar, xchar);
void cutworm(struct monst *, xchar, xchar, uchar);
void buzz(int, xchar, xchar, int, int);
xchar x,y;
extern xchar xdnstair, ydnstair, xupstair, yupstair; /* stairs up and down. */
extern xchar dlevel;
xchar allowcnt = 0; /* 0, 1 or 2 */
xchar foox = 0;
xchar allowgold = (u.ugold && !strcmp(word, "drop")) ? 1 : 0; /* BAH */
getlev(int fd, int pid, xchar lev)
xchar dlvl;
extern xchar dlevel;
savelev(int fd, xchar lev)
enexto(xchar xx, xchar yy)
xchar x,y;
xchar dn;
xchar mx,my;
xchar rlx,rly,rhx,rhy;
xchar gx,gy,nix,niy,chcnt;
{ xchar mind = SRCHRADIUS; /* not too far away */
extern xchar dlevel;
static xchar cnt;
at(xchar x, xchar y, char ch)
news0(xchar x, xchar y)
xchar scrlx, scrhx, scrly, scrhy; /* corners of new area on screen */
xchar x,y;
xchar zx,zy;
xchar lx,hx,ly,hy;
xchar gx,gy,omx,omy,nx,ny,nix,niy;
extern xchar curx, cury;
xchar tlx, tly; /* set by pline; used by addtopl */
xchar gdx, gdy; /* goal of guard's walk */
xchar fx,fy,ftyp;
cutworm(struct monst *mtmp, xchar x, xchar y, uchar weptyp)
xchar zx,zy;
buzz(int type, xchar sx, xchar sy, int dx, int dy)
xchar range;