Home | History | Annotate | Line # | Download | only in hack
def.wseg.h revision 1.4
      1  1.4  christos /*	$NetBSD: def.wseg.h,v 1.4 1997/10/19 16:57:25 christos Exp $	*/
      2  1.4  christos 
      3  1.2   mycroft /*
      4  1.2   mycroft  * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
      5  1.2   mycroft  */
      6  1.4  christos #ifndef _DEF_WSEG_H_
      7  1.4  christos #define _DEF_WSEG_H_
      8  1.1       cgd #ifndef NOWORM
      9  1.1       cgd /* worm structure */
     10  1.1       cgd struct wseg {
     11  1.1       cgd 	struct wseg *nseg;
     12  1.1       cgd 	xchar wx,wy;
     13  1.1       cgd 	unsigned wdispl:1;
     14  1.1       cgd };
     15  1.1       cgd 
     16  1.1       cgd #define newseg()	(struct wseg *) alloc(sizeof(struct wseg))
     17  1.4  christos #endif /* NOWORM */
     18  1.4  christos #endif /* _DEF_WSEG_H_ */
     19