summaryrefslogtreecommitdiff
path: root/games/hack/def.permonst.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /games/hack/def.permonst.h
initial import of NetBSD tree
Diffstat (limited to 'games/hack/def.permonst.h')
-rw-r--r--games/hack/def.permonst.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/games/hack/def.permonst.h b/games/hack/def.permonst.h
new file mode 100644
index 00000000000..d3c75f47dae
--- /dev/null
+++ b/games/hack/def.permonst.h
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ *
+ * $NetBSD: def.permonst.h,v 1.3 1995/03/23 08:29:37 cgd 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 */