From e283de0a5aa0beea8e1a1d29205368c4a10a9aa6 Mon Sep 17 00:00:00 2001 From: jwalz Date: Sat, 5 Jan 2002 21:05:47 +0000 Subject: [PATCH] *** empty log message *** --- include/epri.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 include/epri.h diff --git a/include/epri.h b/include/epri.h new file mode 100644 index 000000000..f09a566a3 --- /dev/null +++ b/include/epri.h @@ -0,0 +1,24 @@ +/* SCCS Id: @(#)epri.h 3.3 97/05/01 */ +/* Copyright (c) Izchak Miller, 1989. */ +/* NetHack may be freely redistributed. See license for details. */ + +#ifndef EPRI_H +#define EPRI_H + +struct epri { + aligntyp shralign; /* alignment of priest's shrine */ + /* leave as first field to match emin */ + schar shroom; /* index in rooms */ + coord shrpos; /* position of shrine */ + d_level shrlevel; /* level (& dungeon) of shrine */ +}; + +#define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) + +/* A priest without ispriest is a roaming priest without a shrine, so + * the fields (except shralign, which becomes only the priest alignment) + * are available for reuse. + */ +#define renegade shroom + +#endif /* EPRI_H */