edog.h (452B)
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 2 /* edog.h - version 1.0.2 */ 3 4 struct edog { 5 long hungrytime; /* at this time dog gets hungry */ 6 long eattime; /* dog is eating */ 7 long droptime; /* moment dog dropped object */ 8 unsigned dropdist; /* dist of drpped obj from @ */ 9 unsigned apport; /* amount of training */ 10 long whistletime; /* last time he whistled */ 11 }; 12 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))