Source:NetHack 2.2a/eshk.h

Below is the full text to eshk.h from the source code of NetHack 2.2a. To link to a particular line, write [[NetHack 2.2a/eshk.h#line123 ]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

1.   /*	SCCS Id: @(#)eshk.h	2.1	87/09/28 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.     4.    #define	BILLSZ	200 5.    6.    struct bill_x { 7.   	unsigned bo_id; 8.   	unsigned price;		/* price per unit */ 9.   	Bitfield(useup,1); 10.  	Bitfield(bquan,7); 11.  };  12.    13.   struct eshk { 14.  	long int robbed;	/* amount stolen by most recent customer */ 15.  	boolean following;	/* following customer since he owes us sth */ 16.  	schar shoproom;		/* index in rooms; set by inshop */ 17.  	coord shk;		/* usual position shopkeeper */ 18.  	coord shd;		/* position shop door */ 19.  	int shoplevel;		/* level of his shop */ 20.  	int billct; 21.  	struct bill_x bill[BILLSZ]; 22.  	int visitct;		/* nr of visits by most recent customer */ 23.  	char customer[PL_NSIZ];	/* most recent customer */ 24.  	char shknam[PL_NSIZ]; 25.  };