summaryrefslogtreecommitdiff
path: root/games/hack/def.wseg.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.wseg.h
initial import of NetBSD tree
Diffstat (limited to 'games/hack/def.wseg.h')
-rw-r--r--games/hack/def.wseg.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/games/hack/def.wseg.h b/games/hack/def.wseg.h
new file mode 100644
index 00000000000..35812db3752
--- /dev/null
+++ b/games/hack/def.wseg.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
+ *
+ * $NetBSD: def.wseg.h,v 1.3 1995/03/23 08:29:42 cgd Exp $
+ */
+
+#ifndef NOWORM
+/* worm structure */
+struct wseg {
+ struct wseg *nseg;
+ xchar wx,wy;
+ unsigned wdispl:1;
+};
+
+#define newseg() (struct wseg *) alloc(sizeof(struct wseg))
+#endif NOWORM