Source:SLASH'EM 0.0.7E7F2/tile2x11.h

From NetHackWiki
Jump to: navigation, search

Below is the full text to tile2x11.h from the source code of SLASH'EM 0.0.7E7F2. To link to a particular line, write [[SLASH'EM 0.0.7E7F2/tile2x11.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: @(#)tile2x11.h 3.4	1995/01/25	*/
2.    /* NetHack may be freely redistributed.  See license for details. */
4.    #ifndef TILE2X11_H
5.    #define TILE2X11_H
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.       unsigned long per_row;
17.   } x11_header;
19.   #endif	/* TILE2X11_H */