If a neighbor solictation or neighbor advertisement isn't from the
[dragonfly.git] / games / hack / def.eshk.h
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 };