Source:SLASH'EM 0.0.7E7F2/emin.h

From NetHackWiki
Revision as of 17:45, 7 March 2008 by Kernigh bot (talk | contribs) (SLASH'EM 0.0.7E7F2/emin.h moved to Source:SLASH'EM 0.0.7E7F2/emin.h: Robot: moved page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Below is the full text to emin.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/emin.h#line123]], for example.

The latest source code for vanilla NetHack is at Source code.


The NetHack General Public License applies to screenshots, source code and other content from NetHack.

This content was modified from the original NetHack source code distribution (by splitting up NetHack content between wiki pages, and possibly further editing). See the page history for a list of who changed it, and on what dates.

1.    /*	SCCS Id: @(#)emin.h	3.4	1997/05/01	*/
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.    struct emin {
9.    	aligntyp	min_align;	/* alignment of minion */
10.   };
11.   
12.   #define EMIN(mon)	((struct emin *)&(mon)->mextra[0])
13.   
14.   #endif /* EMIN_H */