Source:NetHack 1.4f/eshk.h

Below is the full text to eshk.h from the source code of NetHack 1.4f. To link to a particular line, write [[NetHack 1.4f/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	1.3	87/07/14 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.    /* eshk.h - version 1.0.2 : added 'following' */ 4.    5.    #define	BILLSZ	200 6.   struct bill_x { 7.   	unsigned bo_id; 8.   	Bitfield(useup,1); 9.   	Bitfield(bquan,7); 10.  	unsigned price;		/* price per unit */ 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.  };