summaryrefslogtreecommitdiff
path: root/games/hack/def.gen.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.gen.h
initial import of NetBSD tree
Diffstat (limited to 'games/hack/def.gen.h')
-rw-r--r--games/hack/def.gen.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/games/hack/def.gen.h b/games/hack/def.gen.h
new file mode 100644
index 00000000000..56e4832bac9
--- /dev/null
+++ b/games/hack/def.gen.h
@@ -0,0 +1,18 @@
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ *
+ * $NetBSD: def.gen.h,v 1.3 1995/03/23 08:29:25 cgd Exp $
+ */
+
+struct gen {
+ struct gen *ngen;
+ xchar gx,gy;
+ unsigned gflag; /* 037: trap type; 040: SEEN flag */
+ /* 0100: ONCE only */
+#define TRAPTYPE 037
+#define SEEN 040
+#define ONCE 0100
+};
+extern struct gen *fgold, *ftrap;
+struct gen *g_at();
+#define newgen() (struct gen *) alloc(sizeof(struct gen))