Wikihack
Advertisement

Below is the full text to rect.h from the source code of NetHack 3.4.0. To link to a particular line, write [[NetHack 3.4.0/rect.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: @(#)rect.h	3.4	1990/02/22	*/
2.    /* Copyright (c) 1990 by Jean-Christophe Collet			  */
3.    /* NetHack may be freely redistributed.  See license for details. */
4.    
5.    #ifndef RECT_H
6.    #define RECT_H
7.    
8.    typedef struct nhrect {
9.    	xchar lx, ly;
10.   	xchar hx, hy;
11.   } NhRect;
12.   
13.   #endif /* RECT_H */
Advertisement