I did my best to exempt some of the bigger aligned blocks from the reformatting using the /* clang-format off */ and /* clang-format on */ tags. Probably some that shouldn't have been formatted were anyway; if you encounter them, please fix. The clang-format tags were left in on the basis that it's much easier to prune those out later than to put them back in, and it means that, modulo my custom version of clang-format, I should be able to run clang-format on the source tree again without changing anything, now that Pat has fixed the VA_DECL issues.
25 lines
647 B
C
25 lines
647 B
C
/* NetHack 3.6 tile2x11.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
|
/* NetHack 3.6 tile2x11.h $Date: 2009/05/06 10:45:11 $ $Revision: 1.5 $ */
|
|
/* SCCS Id: @(#)tile2x11.h 3.5 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 */
|