xref: /netbsd-src/games/hack/def.edog.h (revision ae1bfcddc410612bc8c58b807e1830becb69a24c)
1 /*
2  * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
3  *
4  *	$Id: def.edog.h,v 1.2 1993/08/02 17:16:39 mycroft Exp $
5  */
6 
7 struct edog {
8 	long hungrytime;	/* at this time dog gets hungry */
9 	long eattime;		/* dog is eating */
10 	long droptime;		/* moment dog dropped object */
11 	unsigned dropdist;		/* dist of drpped obj from @ */
12 	unsigned apport;		/* amount of training */
13 	long whistletime;		/* last time he whistled */
14 };
15 #define	EDOG(mp)	((struct edog *)(&(mp->mextra[0])))
16