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