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

Defined struct's

bill_x defined in line 5; used 32 times
eshk defined in line 12; used 4 times

Defined macros

BILLSZ defined in line 4; used 4 times

Usage of this include

Last modified: 1985-10-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1596
Valid CSS Valid XHTML 1.0 Strict