Source:NetHack 3.6.0/include/tile2x11.h

From NetHackWiki
Jump to navigation Jump to search

Below is the full text to tile2x11.h from the source code of NetHack 3.6.0. To link to a particular line, write [[Source:NetHack 3.6.0/include/tile2x11.h#line123]], for example.

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.

 /* NetHack 3.6	tile2x11.h	$NHDT-Date: 1432512778 2015/05/25 00:12:58 $  $NHDT-Branch: master $:$NHDT-Revision: 1.9 $ */
 /* NetHack may be freely redistributed.  See license for details. */
 
 #ifndef TILE2X11_H
 #define TILE2X11_H
 
 /*
  * Header for the x11 tile map.
  */
 typedef struct {
     unsigned long version;
     unsigned long ncolors;
     unsigned long tile_width;
     unsigned long tile_height;
     unsigned long ntiles;
     unsigned long per_row;
 } x11_header;
 
 /* how wide each row in the tile file is, in tiles */
 #define TILES_PER_ROW (40)
 
 #endif /* TILE2X11_H */