summaryrefslogtreecommitdiffstats
path: root/games/hack/def.wseg.h
blob: 0a2af7791d03de16e06b9d04a96bd5dda9e6d65e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
OpenPOWER on IntegriCloud