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
- in line 20(2)
- in /usr/src/games/hack/hack.shk.c line
40(2),
81(2),
122(2),
245-250(6),
263-264(4),
307(2),
422(2),
487(2),
510(2),
531(2),
563(2),
625(2)
eshk
defined in line
12; used 4 times
Defined macros
BILLSZ
defined in line
4; used 4 times
Usage of this include