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