X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/77e3814f0c0e3dea4d0032e25666f77e6f83bfff..120435aad09adf6d14bb4cf91b1bb3caf3567aa8:/hack/def.permonst.h diff --git a/hack/def.permonst.h b/hack/def.permonst.h index b19efc6a..2e3aca61 100644 --- a/hack/def.permonst.h +++ b/hack/def.permonst.h @@ -1,13 +1,19 @@ -/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ -/* def.permonst.h - version 1.0.2 */ +/* $NetBSD: def.permonst.h,v 1.5 2001/03/25 20:43:58 jsm Exp $ */ +/* + * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. + * + */ +#ifndef _DEF_PERMONST_H_ +#define _DEF_PERMONST_H_ struct permonst { - char *mname,mlet; + const char *mname; + char mlet; schar mlevel,mmove,ac,damn,damd; unsigned pxlth; }; -extern struct permonst mons[]; +extern const struct permonst mons[]; #define PM_ACID_BLOB &mons[7] #define PM_ZOMBIE &mons[13] #define PM_PIERCER &mons[17] @@ -23,3 +29,5 @@ extern struct permonst mons[]; #define PM_EEL &pm_eel #define PM_WIZARD &pm_wizard #define CMNUM 55 /* number of common monsters */ + +#endif /* _DEF_PERMONST_H_ */