00001 /* SCCS Id: @(#)tile2x11.h 3.4 1995/01/25 */ 00002 /* NetHack may be freely redistributed. See license for details. */ 00003 00004 #ifndef TILE2X11_H 00005 #define TILE2X11_H 00006 00007 /* 00008 * Header for the x11 tile map. 00009 */ 00010 typedef struct { 00011 unsigned long version; 00012 unsigned long ncolors; 00013 unsigned long tile_width; 00014 unsigned long tile_height; 00015 unsigned long ntiles; 00016 unsigned long per_row; 00017 } x11_header; 00018 00019 /* how wide each row in the tile file is, in tiles */ 00020 #define TILES_PER_ROW (40) 00021 00022 #endif /* TILE2X11_H */