home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / HACKSRC.ZIP / EDOG.H < prev    next >
C/C++ Source or Header  |  1985-10-16  |  464b  |  13 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  2. /* 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])))
  13.