Fandom

Wikihack

Source:Tile2x11.h

2,034pages on
this wiki
Add New Page
Talk0

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Below is the full text to include/tile2x11.h from NetHack 3.4.3. To link to a particular line, write [[tile2x11.h#line123]], for example.

1.    /*	SCCS Id: @(#)tile2x11.h 3.4	1995/01/25	*/
2.    /* NetHack may be freely redistributed.  See license for details. */
The NetHack General Public License applies to screenshots, source code and other content from NetHack.
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.       unsigned long per_row;
17.   } x11_header;
18.   
19.   /* how wide each row in the tile file is, in tiles */
20.   #define TILES_PER_ROW (40)
21.   
22.   #endif	/* TILE2X11_H */

Also on Fandom

Random Wiki