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