Difference between revisions of "Source:NetHack 1.4f/eshk.h"

From NetHackWiki
Jump to navigation Jump to search
m (Automated source code upload)
 
m (NetHack 1.4f/eshk.h moved to Source:NetHack 1.4f/eshk.h: Robot: moved page)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
Below is the full text to '''eshk.h''' from the [[NetHack 1.4f source code|source code]] of [[NetHack 1.4f]]. To link to a particular line, write [[NetHack 1.4f/eshk.h#line123|<nowiki>[[NetHack 1.4f/eshk.h#line123]]</nowiki>]], for example.
+
The source code file '''eshk.h''' in [[NetHack 1.4f source code|NetHack 1.4f]] is unchanged from [[NetHack 1.3d/eshk.h]].
 
+
[[Category:NetHack 1.4f source code]]
'''Warning!''' This is the source code from an old release. For the latest release, see [[Source code]]
 
 
 
{{CWI}}
 
<span id="line1">1.   /* SCCS Id: @(#)eshk.h 1.3 87/07/14</span>
 
<span id="line2">2.    /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */</span>
 
<span id="line3">3.    /* eshk.h - version 1.0.2 : added 'following' */</span>
 
<span id="line4">4.    </span>
 
<span id="line5">5.    #define BILLSZ 200</span>
 
<span id="line6">6.    struct bill_x {</span>
 
<span id="line7">7.    unsigned bo_id;</span>
 
<span id="line8">8.    Bitfield(useup,1);</span>
 
<span id="line9">9.    Bitfield(bquan,7);</span>
 
<span id="line10">10.  unsigned price; /* price per unit */</span>
 
<span id="line11">11.  };</span>
 
<span id="line12">12.  </span>
 
<span id="line13">13.  struct eshk {</span>
 
<span id="line14">14.  long int robbed; /* amount stolen by most recent customer */</span>
 
<span id="line15">15.  boolean following; /* following customer since he owes us sth */</span>
 
<span id="line16">16.  schar shoproom; /* index in rooms; set by inshop() */</span>
 
<span id="line17">17.  coord shk; /* usual position shopkeeper */</span>
 
<span id="line18">18.  coord shd; /* position shop door */</span>
 
<span id="line19">19.  int shoplevel; /* level of his shop */</span>
 
<span id="line20">20.  int billct;</span>
 
<span id="line21">21.  struct bill_x bill[BILLSZ];</span>
 
<span id="line22">22.  int visitct; /* nr of visits by most recent customer */</span>
 
<span id="line23">23.  char customer[PL_NSIZ]; /* most recent customer */</span>
 
<span id="line24">24.  char shknam[PL_NSIZ];</span>
 
<span id="line25">25.   };</span>
 
[[Category:NetHack 1.4f source code|eshk.h]]
 

Latest revision as of 00:57, 4 March 2008

The source code file eshk.h in NetHack 1.4f is unchanged from NetHack 1.3d/eshk.h.