summaryrefslogtreecommitdiffstats
path: root/hack/def.edog.h
blob: 1dfb24bb53f936a5cb5ba8dc2130d3b0ce3599c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$NetBSD: def.edog.h,v 1.4 1997/10/19 16:56:51 christos Exp $	*/

/*
 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
 */

#ifndef _DEF_EDOG_H_
#define _DEF_EDOG_H_
struct edog {
	long hungrytime;	/* at this time dog gets hungry */
	long eattime;		/* dog is eating */
	long droptime;		/* moment dog dropped object */
	unsigned dropdist;		/* dist of drpped obj from @ */
	unsigned apport;		/* amount of training */
	long whistletime;		/* last time he whistled */
};
#define	EDOG(mp)	((struct edog *)(&(mp->mextra[0])))

#endif /* _DEF_EDOG_H_ */