Demangle clang formatted code

This commit is contained in:
Pasi Kallinen
2017-08-06 20:27:48 +03:00
parent 4e05de9bff
commit 1f671b962c
+25 -44
View File
@@ -177,6 +177,7 @@ extern
* Window port preference capability bits. * Window port preference capability bits.
* Some day this might be better in its own wincap.h file. * Some day this might be better in its own wincap.h file.
*/ */
/* clang-format off */
#define WC_COLOR 0x01L /* 01 Port can display things in color */ #define WC_COLOR 0x01L /* 01 Port can display things in color */
#define WC_HILITE_PET 0x02L /* 02 supports hilite pet */ #define WC_HILITE_PET 0x02L /* 02 supports hilite pet */
#define WC_ASCII_MAP 0x04L /* 03 supports an ascii map */ #define WC_ASCII_MAP 0x04L /* 03 supports an ascii map */
@@ -186,61 +187,39 @@ extern
#define WC_TILE_HEIGHT 0x40L /* 07 prefer this height of tile */ #define WC_TILE_HEIGHT 0x40L /* 07 prefer this height of tile */
#define WC_TILE_FILE 0x80L /* 08 alternative tile file name */ #define WC_TILE_FILE 0x80L /* 08 alternative tile file name */
#define WC_INVERSE 0x100L /* 09 Port supports inverse video */ #define WC_INVERSE 0x100L /* 09 Port supports inverse video */
#define WC_ALIGN_MESSAGE \ #define WC_ALIGN_MESSAGE 0x200L /* 10 supports message alignmt top|b|l|r */
0x200L /* 10 supports message alignmt top|b|l|r */
#define WC_ALIGN_STATUS 0x400L /* 11 supports status alignmt top|b|l|r */ #define WC_ALIGN_STATUS 0x400L /* 11 supports status alignmt top|b|l|r */
#define WC_VARY_MSGCOUNT \ #define WC_VARY_MSGCOUNT 0x800L /* 12 supports varying message window */
0x800L /* 12 supports varying message window */
#define WC_FONT_MAP 0x1000L /* 13 supports specification of map win font */ #define WC_FONT_MAP 0x1000L /* 13 supports specification of map win font */
#define WC_FONT_MESSAGE \ #define WC_FONT_MESSAGE 0x2000L /* 14 supports specification of msg win font */
0x2000L /* 14 supports specification of msg win font */ #define WC_FONT_STATUS 0x4000L /* 15 supports specification of sts win font */
#define WC_FONT_STATUS 0x4000L /* 15 supports specification of sts win font \
*/
#define WC_FONT_MENU 0x8000L /* 16 supports specification of mnu win font */ #define WC_FONT_MENU 0x8000L /* 16 supports specification of mnu win font */
#define WC_FONT_TEXT 0x10000L /* 17 supports specification of txt win font \ #define WC_FONT_TEXT 0x10000L /* 17 supports specification of txt win font */
*/ #define WC_FONTSIZ_MAP 0x20000L /* 18 supports specification of map win font */
#define WC_FONTSIZ_MAP \ #define WC_FONTSIZ_MESSAGE 0x40000L /* 19 supports specification of msg win font */
0x20000L /* 18 supports specification of map win font */ #define WC_FONTSIZ_STATUS 0x80000L /* 20 supports specification of sts win font */
#define WC_FONTSIZ_MESSAGE \ #define WC_FONTSIZ_MENU 0x100000L /* 21 supports specification of mnu win font */
0x40000L /* 19 supports specification of msg win font */ #define WC_FONTSIZ_TEXT 0x200000L /* 22 supports specification of txt win font */
#define WC_FONTSIZ_STATUS \ #define WC_SCROLL_MARGIN 0x400000L /* 23 supports setting scroll margin for map */
0x80000L /* 20 supports specification of sts win font */ #define WC_SPLASH_SCREEN 0x800000L /* 24 supports display of splash screen */
#define WC_FONTSIZ_MENU \ #define WC_POPUP_DIALOG 0x1000000L /* 25 supports queries in pop dialogs */
0x100000L /* 21 supports specification of mnu win font */ #define WC_SCROLL_AMOUNT 0x2000000L /* 26 scroll this amount at scroll margin */
#define WC_FONTSIZ_TEXT \ #define WC_EIGHT_BIT_IN 0x4000000L /* 27 8-bit character input */
0x200000L /* 22 supports specification of txt win font */ #define WC_PERM_INVENT 0x8000000L /* 28 8-bit character input */
#define WC_SCROLL_MARGIN \ #define WC_MAP_MODE 0x10000000L /* 29 map_mode option */
0x400000L /* 23 supports setting scroll margin for map */ #define WC_WINDOWCOLORS 0x20000000L /* 30 background color for message window */
#define WC_SPLASH_SCREEN \ #define WC_PLAYER_SELECTION 0x40000000L /* 31 background color for message window */
0x800000L /* 24 supports display of splash screen */
#define WC_POPUP_DIALOG \
0x1000000L /* 25 supports queries in pop dialogs */
#define WC_SCROLL_AMOUNT \
0x2000000L /* 26 scroll this amount at scroll margin */
#define WC_EIGHT_BIT_IN \
0x4000000L /* 27 8-bit character input */
#define WC_PERM_INVENT \
0x8000000L /* 28 8-bit character input */
#define WC_MAP_MODE \
0x10000000L /* 29 map_mode option */
#define WC_WINDOWCOLORS \
0x20000000L /* 30 background color for message window */
#define WC_PLAYER_SELECTION \
0x40000000L /* 31 background color for message window */
#ifdef NHSTDC #ifdef NHSTDC
#define WC_MOUSE_SUPPORT \ #define WC_MOUSE_SUPPORT 0x80000000UL /* 32 mouse support */
0x80000000UL /* 32 mouse support */
#else #else
#define WC_MOUSE_SUPPORT \ #define WC_MOUSE_SUPPORT 0x80000000L /* 32 mouse support */
0x80000000L /* 32 mouse support */
#endif #endif
/* no free bits */ /* no free bits */
#define WC2_FULLSCREEN 0x01L /* 01 display full screen */ #define WC2_FULLSCREEN 0x01L /* 01 display full screen */
#define WC2_SOFTKEYBOARD 0x02L /* 02 software keyboard */ #define WC2_SOFTKEYBOARD 0x02L /* 02 software keyboard */
#define WC2_WRAPTEXT 0x04L /* 03 wrap long lines of text */ #define WC2_WRAPTEXT 0x04L /* 03 wrap long lines of text */
#define WC2_HILITE_STATUS \ #define WC2_HILITE_STATUS 0x08L /* 04 hilite fields in status */
0x08L /* 04 hilite fields in status */
#define WC2_SELECTSAVED 0x10L /* 05 saved game selection menu */ #define WC2_SELECTSAVED 0x10L /* 05 saved game selection menu */
#define WC2_DARKGRAY 0x20L /* 06 use bold black for black glyphs */ #define WC2_DARKGRAY 0x20L /* 06 use bold black for black glyphs */
/* 26 free bits */ /* 26 free bits */
@@ -312,6 +291,8 @@ struct wc_Opt {
#define WINCHAIN_ALLOC 0 #define WINCHAIN_ALLOC 0
#define WINCHAIN_INIT 1 #define WINCHAIN_INIT 1
/* clang-format on */
#define CARGS void * #define CARGS void *
extern FILE *wc_tracelogf; /* Expose log file for additional debugging. */ extern FILE *wc_tracelogf; /* Expose log file for additional debugging. */