OSDN Git Service

upgrade to 3.6.1
[jnethack/source.git] / include / tile2x11.h
1 /* NetHack 3.6  tile2x11.h      $NHDT-Date: 1524689515 2018/04/25 20:51:55 $  $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.10 $ */
2 /*      Copyright (c) 2002 by David Cohrs              */
3 /* NetHack may be freely redistributed.  See license for details. */
4
5 #ifndef TILE2X11_H
6 #define TILE2X11_H
7
8 /*
9  * Header for the x11 tile map.
10  */
11 typedef struct {
12     unsigned long version;
13     unsigned long ncolors;
14     unsigned long tile_width;
15     unsigned long tile_height;
16     unsigned long ntiles;
17     unsigned long per_row;
18 } x11_header;
19
20 /* how wide each row in the tile file is, in tiles */
21 #define TILES_PER_ROW (40)
22
23 #endif /* TILE2X11_H */