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.
24 lines
608 B
C
24 lines
608 B
C
/* NetHack 3.6 micro.h $NHDT-Date$ $NHDT-Branch$:$NHDT-Revision$ */
|
|
/* NetHack 3.6 micro.h $Date: 2009/05/06 10:44:53 $ $Revision: 1.5 $ */
|
|
/* SCCS Id: @(#)micro.h 3.5 1990/02/22 */
|
|
/* micro.h - function declarations for various microcomputers */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef MICRO_H
|
|
#define MICRO_H
|
|
|
|
extern const char *alllevels, *allbones;
|
|
extern char levels[], bones[], permbones[], hackdir[];
|
|
|
|
extern int ramdisk;
|
|
|
|
#ifndef C
|
|
#define C(c) (0x1f & (c))
|
|
#endif
|
|
#ifndef M
|
|
#define M(c) (((char) 0x80) | (c))
|
|
#endif
|
|
#define ABORT C('a')
|
|
|
|
#endif /* MICRO_H */
|