NetBSD/games/hack/def.wseg.h

19 lines
397 B
C
Raw Normal View History

1997-10-19 20:56:41 +04:00
/* $NetBSD: def.wseg.h,v 1.4 1997/10/19 16:57:25 christos Exp $ */
1993-08-02 21:16:36 +04:00
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
1997-10-19 20:56:41 +04:00
#ifndef _DEF_WSEG_H_
#define _DEF_WSEG_H_
1993-03-21 12:45:37 +03:00
#ifndef NOWORM
/* worm structure */
struct wseg {
struct wseg *nseg;
xchar wx,wy;
unsigned wdispl:1;
};
#define newseg() (struct wseg *) alloc(sizeof(struct wseg))
1997-10-19 20:56:41 +04:00
#endif /* NOWORM */
#endif /* _DEF_WSEG_H_ */