summaryrefslogtreecommitdiff
path: root/games/hack/def.wseg.h
blob: aa69b6403d0ab862630bb4f6ed46c1be4f444ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*	$OpenBSD: def.wseg.h,v 1.3 2001/08/06 22:59:13 pjanzen Exp $*/

/*
 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
 *
 *	$NetBSD: def.wseg.h,v 1.3 1995/03/23 08:29:42 cgd Exp $
 */

#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 */