xref: /original-bsd/games/hack/def.wseg.h (revision e59fb703)
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.wseg.h - version 1.0.2 */
3 
4 #ifndef NOWORM
5 /* worm structure */
6 struct wseg {
7 	struct wseg *nseg;
8 	xchar wx,wy;
9 	unsigned wdispl:1;
10 };
11 
12 #define newseg()	(struct wseg *) alloc(sizeof(struct wseg))
13 #endif NOWORM
14