mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
554eb505f8
of the x11 based games. I'm not going to tag the originals with bsd_44_lite and do this in two stages since it's just not worth it for this collection, and I've got directory renames to deal with that way. Bleah. Submitted by: jkh
25 lines
756 B
C
25 lines
756 B
C
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
|
|
/* def.eshk.h - version 1.0.2 : added 'following' */
|
|
|
|
#define BILLSZ 200
|
|
struct bill_x {
|
|
unsigned bo_id;
|
|
unsigned useup:1;
|
|
unsigned bquan:7;
|
|
unsigned price; /* price per unit */
|
|
};
|
|
|
|
struct eshk {
|
|
long int robbed; /* amount stolen by most recent customer */
|
|
boolean following; /* following customer since he owes us sth */
|
|
schar shoproom; /* index in rooms; set by inshop() */
|
|
coord shk; /* usual position shopkeeper */
|
|
coord shd; /* position shop door */
|
|
int shoplevel; /* level of his shop */
|
|
int billct;
|
|
struct bill_x bill[BILLSZ];
|
|
int visitct; /* nr of visits by most recent customer */
|
|
char customer[PL_NSIZ]; /* most recent customer */
|
|
char shknam[PL_NSIZ];
|
|
};
|