1: /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2: /* def.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])))
Defined struct's
edog
defined in line
4; used 12 times
Defined macros
EDOG
defined in line
12; used 9 times
Usage of this include