Merge from vendor branch NCURSES:
[dragonfly.git] / games / hack / def.wseg.h
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.wseg.h - version 1.0.2 */
3 /* $DragonFly: src/games/hack/def.wseg.h,v 1.2 2004/11/06 12:29:17 eirikn Exp $ */
4
5 #ifndef NOWORM
6 /* worm structure */
7 struct wseg {
8         struct wseg *nseg;
9         xchar wx,wy;
10         unsigned wdispl:1;
11 };
12
13 #define newseg()        (struct wseg *) alloc(sizeof(struct wseg))
14 #endif /* NOWORM */