]> git.cameronkatri.com Git - bsdgames-darwin.git/blob - hack/def.permonst.h
Make mostly gcc -W clean, and other cleanup:
[bsdgames-darwin.git] / hack / def.permonst.h
1 /* $NetBSD: def.permonst.h,v 1.5 2001/03/25 20:43:58 jsm Exp $ */
2
3 /*
4 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
5 *
6 */
7 #ifndef _DEF_PERMONST_H_
8 #define _DEF_PERMONST_H_
9 struct permonst {
10 const char *mname;
11 char mlet;
12 schar mlevel,mmove,ac,damn,damd;
13 unsigned pxlth;
14 };
15
16 extern const struct permonst mons[];
17 #define PM_ACID_BLOB &mons[7]
18 #define PM_ZOMBIE &mons[13]
19 #define PM_PIERCER &mons[17]
20 #define PM_KILLER_BEE &mons[26]
21 #define PM_WRAITH &mons[33]
22 #define PM_MIMIC &mons[37]
23 #define PM_VAMPIRE &mons[43]
24 #define PM_CHAMELEON &mons[47]
25 #define PM_DEMON &mons[54]
26 #define PM_MINOTAUR &mons[55] /* last in mons array */
27 #define PM_SHK &mons[56] /* very last */
28 #define PM_GHOST &pm_ghost
29 #define PM_EEL &pm_eel
30 #define PM_WIZARD &pm_wizard
31 #define CMNUM 55 /* number of common monsters */
32
33 #endif /* _DEF_PERMONST_H_ */