diff options
Diffstat (limited to 'hack/def.wseg.h')
-rw-r--r-- | hack/def.wseg.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hack/def.wseg.h b/hack/def.wseg.h new file mode 100644 index 00000000..0a2af779 --- /dev/null +++ b/hack/def.wseg.h @@ -0,0 +1,13 @@ +/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ +/* def.wseg.h - version 1.0.2 */ + +#ifndef NOWORM +/* worm structure */ +struct wseg { + struct wseg *nseg; + xchar wx,wy; + unsigned wdispl:1; +}; + +#define newseg() (struct wseg *) alloc(sizeof(struct wseg)) +#endif NOWORM |