# 2.11BSD#431 - /usr/src/games/hack/def.eshk.h

##### Macros

    BILLSZ            X

##### struct's

    bill_x            X
    eshk              X

       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

- in /usr/src/games/hack/hack.monst.c line 69(2)
- in /usr/src/games/hack/hack.shk.c line 74(2)

#### Defined macros

BILLSZ defined in line 4; used 4 times

- in line 20
- in /usr/src/games/hack/hack.shk.c line 516, 547, 594

#### Usage of this include

def.eshk.h used 3 times

- in /usr/src/games/hack/hack.mkshop.c line 7
- in /usr/src/games/hack/hack.monst.c line 5
- in /usr/src/games/hack/hack.shk.c line 28

Last modified: 1985-10-01 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 399 |