1 /* $NetBSD: def.edog.h,v 1.4 1997/10/19 16:56:51 christos Exp $ */ 2 3 /* 4 * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. 5 */ 6 7 #ifndef _DEF_EDOG_H_ 8 #define _DEF_EDOG_H_ 9 struct edog { 10 long hungrytime; /* at this time dog gets hungry */ 11 long eattime; /* dog is eating */ 12 long droptime; /* moment dog dropped object */ 13 unsigned dropdist; /* dist of drpped obj from @ */ 14 unsigned apport; /* amount of training */ 15 long whistletime; /* last time he whistled */ 16 }; 17 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0]))) 18 19 #endif /* _DEF_EDOG_H_ */ 20