NetBSD/games/hack/def.edog.h

20 lines
564 B
C
Raw Normal View History

1997-10-19 20:56:41 +04:00
/* $NetBSD: def.edog.h,v 1.4 1997/10/19 16:56:51 christos Exp $ */
1993-08-02 21:16:36 +04:00
/*
* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985.
*/
1993-03-21 12:45:37 +03:00
1997-10-19 20:56:41 +04:00
#ifndef _DEF_EDOG_H_
#define _DEF_EDOG_H_
1993-03-21 12:45:37 +03:00
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])))
1997-10-19 20:56:41 +04:00
#endif /* _DEF_EDOG_H_ */