diff options
Diffstat (limited to 'hack/def.edog.h')
-rw-r--r-- | hack/def.edog.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hack/def.edog.h b/hack/def.edog.h new file mode 100644 index 0000000..a5c2b46 --- /dev/null +++ b/hack/def.edog.h @@ -0,0 +1,12 @@ +/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ +/* def.edog.h - version 1.0.2 */ + +struct edog { + long hungrytime; /* at this time dog gets hungry */ + long eattime; /* dog is eating */ + long droptime; /* moment dog dropped object */ + unsigned dropdist; /* dist of drpped obj from @ */ + unsigned apport; /* amount of training */ + long whistletime; /* last time he whistled */ +}; +#define EDOG(mp) ((struct edog *)(&(mp->mextra[0]))) |