DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T e

⟦12d9b05c6⟧ TextFile

    Length: 742 (0x2e6)
    Types: TextFile
    Names: »eshk.h«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Nethack/eshk.h« 

TextFile

/*	SCCS Id: @(#)eshk.h	2.1	87/09/28
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */

#define	BILLSZ	200

struct bill_x {
	unsigned bo_id;
	unsigned price;		/* price per unit */
	Bitfield(useup,1);
	Bitfield(bquan,7);
};

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];
};