From 9b832f57cec775312cf25c9cba18f19aabc96169 Mon Sep 17 00:00:00 2001 From: jwalz Date: Sat, 5 Jan 2002 21:05:48 +0000 Subject: [PATCH] *** empty log message *** --- include/vault.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/vault.h diff --git a/include/vault.h b/include/vault.h new file mode 100644 index 000000000..d6db11663 --- /dev/null +++ b/include/vault.h @@ -0,0 +1,27 @@ +/* SCCS Id: @(#)vault.h 3.3 97/05/01 */ +/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ +/* NetHack may be freely redistributed. See license for details. */ + +#ifndef VAULT_H +#define VAULT_H + +#define FCSIZ (ROWNO+COLNO) +struct fakecorridor { + xchar fx,fy,ftyp; +}; + +struct egd { + int fcbeg, fcend; /* fcend: first unused pos */ + int vroom; /* room number of the vault */ + xchar gdx, gdy; /* goal of guard's walk */ + xchar ogx, ogy; /* guard's last position */ + d_level gdlevel; /* level (& dungeon) guard was created in */ + xchar warncnt; /* number of warnings to follow */ + Bitfield(gddone,1); /* true iff guard has released player */ + Bitfield(unused,7); + struct fakecorridor fakecorr[FCSIZ]; +}; + +#define EGD(mon) ((struct egd *)&(mon)->mextra[0]) + +#endif /* VAULT_H */