home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d1xx / d190 / nethack.lha / NetHack / een.zoo / eshk.h < prev    next >
C/C++ Source or Header  |  1988-07-01  |  801b  |  26 lines

  1. /*    SCCS Id: @(#)eshk.h    2.1    87/09/28
  2. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
  3.  
  4. #define    BILLSZ    200
  5.  
  6. struct bill_x {
  7.     unsigned bo_id;
  8.     unsigned price;    /* price per unit */
  9.     Bitfield(useup,1);
  10.     Bitfield(bquan,7);
  11. };
  12.  
  13. struct eshk {
  14.     long int robbed;    /* amount stolen by most recent customer */
  15.     boolean following;    /* following customer since he owes us sth */
  16.     schar shoproom;    /* index in rooms; set by inshop() */
  17.     coord shk;        /* usual position shopkeeper */
  18.     coord shd;        /* position shop door */
  19.     int shoplevel;    /* level of his shop */
  20.     int billct;
  21.     struct bill_x bill[BILLSZ];
  22.     int visitct;    /* nr of visits by most recent customer */
  23.     char customer[PL_NSIZ];    /* most recent customer */
  24.     char shknam[PL_NSIZ];
  25. };
  26.