MFC: Make apps using '#define _POSIX_C_SOURCE' compile.
[dragonfly.git] / games / hack / def.edog.h
bloba5c2b4616e01d9a5ec8685290c9815fe7adcb4a6
1 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
2 /* def.edog.h - version 1.0.2 */
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 */
12 #define EDOG(mp) ((struct edog *)(&(mp->mextra[0])))