Source:NetHack 3.4.3/include/tile2x11.h

From NetHackWiki
Jump to: navigation, search

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.

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. #ifndef TILE2X11_H
  2. #define TILE2X11_H
  3.  
  4. /*
  5. * Header for the x11 tile map.
  6. */
  7. typedef struct {
  8. unsigned long version;
  9. unsigned long ncolors;
  10. unsigned long tile_width;
  11. unsigned long tile_height;
  12. unsigned long ntiles;
  13. unsigned long per_row;
  14. } x11_header;
  15.  
  16. /* how wide each row in the tile file is, in tiles */
  17. #define TILES_PER_ROW (40)
  18.  
  19. #endif	/* TILE2X11_H */