Reformat .h files.

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.
This commit is contained in:
Sean Hunt
2015-05-25 09:03:10 +09:00
parent 26ee7dc370
commit 8b57d96fd2
156 changed files with 10712 additions and 10701 deletions

View File

@@ -4,25 +4,23 @@
/* NetHack may be freely redistributed. See license for details. */
/* NetHack 3.6.0 */
#define VERSION_MAJOR 3
#define VERSION_MINOR 6
#define VERSION_MAJOR 3
#define VERSION_MINOR 6
/*
* PATCHLEVEL is updated for each release.
*/
#define PATCHLEVEL 0
#define PATCHLEVEL 0
/*
* Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files.
*/
#define EDITLEVEL 0
#define EDITLEVEL 0
#define COPYRIGHT_BANNER_A \
"NetHack, Copyright 1985-2015"
#define COPYRIGHT_BANNER_A "NetHack, Copyright 1985-2015"
#define COPYRIGHT_BANNER_B \
" By Stichting Mathematisch Centrum and M. Stephenson."
/* COPYRIGHT_BANNER_C is generated by makedefs into date.h */
#define COPYRIGHT_BANNER_D \
" See license for details."
" By Stichting Mathematisch Centrum and M. Stephenson."
/* COPYRIGHT_BANNER_C is generated by makedefs into date.h */
#define COPYRIGHT_BANNER_D " See license for details."
/*
* If two or more successive releases have compatible data files, define
@@ -35,7 +33,6 @@
*/
/* #define VERSION_COMPATIBILITY 0x03050000L */
/*****************************************************************************/
/* Version 3.6.x */
@@ -44,7 +41,6 @@
*
*/
/*****************************************************************************/
/* Version 3.4.x */
@@ -89,12 +85,13 @@
/*
* NetHack 3.4.0, March 20, 2002
*
* Hundreds of general bug fixes including some for sliming, zapping, conduct,
* Hundreds of general bug fixes including some for sliming, zapping,
*conduct,
* and several more for riding
* Eliminated a few potentially fatal bugs including one for stone-to-flesh,
* trouble-fixing during prayer, riding down stairs while punished,
* polyd player demon summoning, throwing digging tools into shops, and
* a couple from having the vision system enabled at inappropriate times
* a couple from having the vision system enabled at inappropriate times
* Corrected some incorrect calculations in final scoring
* Enhanced config file processing and alert to duplication of entries
* Player selection prompt enhancements for TTY and X11
@@ -352,7 +349,8 @@
* Patch 5, October 15, 1989
* add support for Macintosh OS (courtesy Johnny Lee)
* fix annoying dependency loop via new color.h file
* allow interruption while eating -- general handling of partially eaten food
* allow interruption while eating -- general handling of partially eaten
* food
* smarter treatment of iron balls (courtesy Kevin Darcy)
* a handful of other bug fixes
*/