aboutsummaryrefslogtreecommitdiff
path: root/hack/def.wseg.h
blob: 161ead9a3f76d8423cdafa0d9c4bbb6ef67ba70e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* def.wseg.h - version 1.0.2 */
/* $DragonFly: src/games/hack/def.wseg.h,v 1.2 2004/11/06 12:29:17 eirikn Exp $ */

#ifndef NOWORM
/* worm structure */
struct wseg {
	struct wseg *nseg;
	xchar wx, wy;
	unsigned wdispl:1;
};

#define	newseg()	alloc(sizeof(struct wseg))
#endif /* NOWORM */