Wikihack
Advertisement

Below is the full text to tile2x11.h from the source code of NetHack 3.3.0. To link to a particular line, write [[NetHack 3.3.0/tile2x11.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: @(#)tile2x11.h 3.3	95/01/25	*/
2.    /* NetHack may be freely redistributed.  See license for details. */
3.    
4.    #ifndef TILE2X11_H
5.    #define TILE2X11_H
6.    
7.    /*
8.     * Header for the x11 tile map.
9.     */
10.   typedef struct {
11.       unsigned long version;
12.       unsigned long ncolors;
13.       unsigned long tile_width;
14.       unsigned long tile_height;
15.       unsigned long ntiles;
16.   } x11_header;
17.   
18.   #endif	/* TILE2X11_H */
Advertisement