Wikihack
Advertisement

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

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

The NetHack General Public License applies to screenshots, source code and other content from NetHack.
1.    /*	SCCS Id: @(#)emin.h	3.2	90/12/15	*/
2.    /* Copyright (c) David Cohrs, 1990.				  */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef EMIN_H
6.    #define EMIN_H
7.    
8.    #ifndef ALIGN_H
9.    #include "align.h"
10.   #endif
11.   
12.   struct emin {
13.   	aligntyp	min_align;	/* alignment of minion */
14.   };
15.   
16.   #define EMIN(mon)	((struct emin *)&(mon)->mextra[0])
17.   
18.   #endif /* EMIN_H */
Advertisement