NetBSD/games/hack/def.permonst.h
1993-08-02 17:16:36 +00:00

29 lines
752 B
C

/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*
* $Id: def.permonst.h,v 1.2 1993/08/02 17:16:52 mycroft Exp $
*/
struct permonst {
char *mname,mlet;
schar mlevel,mmove,ac,damn,damd;
unsigned pxlth;
};
extern struct permonst mons[];
#define PM_ACID_BLOB &mons[7]
#define PM_ZOMBIE &mons[13]
#define PM_PIERCER &mons[17]
#define PM_KILLER_BEE &mons[26]
#define PM_WRAITH &mons[33]
#define PM_MIMIC &mons[37]
#define PM_VAMPIRE &mons[43]
#define PM_CHAMELEON &mons[47]
#define PM_DEMON &mons[54]
#define PM_MINOTAUR &mons[55] /* last in mons array */
#define PM_SHK &mons[56] /* very last */
#define PM_GHOST &pm_ghost
#define PM_EEL &pm_eel
#define PM_WIZARD &pm_wizard
#define CMNUM 55 /* number of common monsters */