- 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
23 lines
499 B
C
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 */
|