Files
nethack/include/tile2x11.h
cohrs b6189efe2a X11 wide tilemap support
- support X11 tile files (with or without XPM) that are 40 tiles wide
- rearrange some X11 code to share more code between XPM & non-XPM options
- clean out some deprecated X11/winmap.c #ifdefs
- update Qt code minimally to handle such an XPM file
2002-03-17 20:02:47 +00:00

23 lines
499 B
C

/* SCCS Id: @(#)tile2x11.h 3.4 1995/01/25 */
/* 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 */