home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d0xx / d008 / hack.lha / src / def.eshk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1986-01-18  |  652 b   |  22 lines

  1. /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
  2.  
  3. #define   BILLSZ   200
  4. struct bill_x {
  5.    unsigned bo_id;
  6.    Bitfield(useup,1);
  7.    Bitfield(bquan,7);
  8.    unsigned price;      /* price per unit */
  9. };
  10.  
  11. struct eshk {
  12.    long int robbed;   /* amount stolen by most recent customer */
  13.    schar shoproom;      /* index in rooms; set by inshop() */
  14.    coord shk;      /* usual position shopkeeper */
  15.    coord shd;      /* position shop door */
  16.    int billct;
  17.    struct bill_x bill[BILLSZ];
  18.    int visitct;      /* nr of visits by most recent customer */
  19.    char customer[PL_NSIZ];   /* most recent customer */
  20.    char shknam[PL_NSIZ];
  21. };
  22.