xref: /openbsd/games/hack/def.wseg.h (revision 78b63d65)
1 /*	$OpenBSD: def.wseg.h,v 1.3 2001/08/06 22:59:13 pjanzen Exp $*/
2 
3 /*
4  * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
5  *
6  *	$NetBSD: def.wseg.h,v 1.3 1995/03/23 08:29:42 cgd Exp $
7  */
8 
9 #ifndef NOWORM
10 /* worm structure */
11 struct wseg {
12 	struct wseg *nseg;
13 	xchar wx,wy;
14 	unsigned wdispl:1;
15 };
16 
17 #define newseg()	(struct wseg *) alloc(sizeof(struct wseg))
18 #endif /* NOWORM */
19