Source:Hack 1.0/def.eshk.h

2,035pages on
this wiki
Add New Page

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

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

Screenshots and source code from Hack are used under the CWI license.
1.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1984. */
3.    #define	BILLSZ	200
4.    struct bill_x {
5.    	unsigned bo_id;
6.    	unsigned useup:1;
7.    	unsigned bquan:7;
8.    	unsigned price;		/* price per unit */
9.    };
11.   struct eshk {
12.   	long int robbed;	/* amount stolen by most recent customer */
13.   	schar shoproom;		/* index in rooms; set by inshop() */
14.   	coord shk;		/* usual position shopkeeper */
15.   	coord shd;		/* position shop door */
16.   	int billct;
17.   	struct bill_x bill[BILLSZ];
18.   	int visitct;		/* nr of visits by most recent customer */
19.   	char customer[PL_NSIZ];	/* most recent customer */
20.   	char shknam[PL_NSIZ];
21.   };

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.