0a2af7791d03de16e06b9d04a96bd5dda9e6d65e
[games.git] / games / hack / def.wseg.h
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