summaryrefslogtreecommitdiffstats
path: root/games/hack/def.edog.h
blob: a5c2b4616e01d9a5ec8685290c9815fe7adcb4a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* def.edog.h - version 1.0.2 */

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])))
OpenPOWER on IntegriCloud