Commit | Line | Data |
---|---|---|
984263bc MD |
1 | /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ |
2 | /* def.wseg.h - version 1.0.2 */ | |
304d60d9 | 3 | /* $DragonFly: src/games/hack/def.wseg.h,v 1.2 2004/11/06 12:29:17 eirikn Exp $ */ |
984263bc MD |
4 | |
5 | #ifndef NOWORM | |
6 | /* worm structure */ | |
7 | struct wseg { | |
8 | struct wseg *nseg; | |
6693db17 | 9 | xchar wx, wy; |
984263bc MD |
10 | unsigned wdispl:1; |
11 | }; | |
12 | ||
6693db17 | 13 | #define newseg() alloc(sizeof(struct wseg)) |
304d60d9 | 14 | #endif /* NOWORM */ |