From 54626405956b4fb536d961dad56be70e31704d11 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Dec 2023 20:54:57 +0100 Subject: Reformatted style5() --- FICS/board.c | 43 +++++++++++++++++++++++++++++++------------ 1 file changed, 31 insertions(+), 12 deletions(-) (limited to 'FICS/board.c') diff --git a/FICS/board.c b/FICS/board.c index b27f23e..6db8fc4 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -416,21 +416,40 @@ PUBLIC int style4(game_state_t *b, move_t *ml) return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel); } -/* Style suggested by ajpierce@med.unc.edu */ +/* + * Style suggested by ajpierce@med.unc.edu + */ PUBLIC int style5(game_state_t *b, move_t *ml) { - static char *wp[] = {" ", " o ", " :N:", " ", " |R|", " {Q}", " =K="}; - static char *bp[] = {" ", " p ", " :n:", " ", " |r|", " {q}", " =k="}; - static char *wsqr = ""; - static char *bsqr = ""; - static char *top = " . . . . . . . . .\n"; - static char *mid = " . . . . . . . . .\n"; - static char *start = ""; - static char *end = ""; - static char *label = "\t a b c d e f g h\n"; - static char *blabel = "\t h g f e d c b a\n"; + static char *wp[] = { + " ", + " o ", + " :N:", + " ", + " |R|", + " {Q}", + " =K=" + }; + static char *bp[] = { + " ", + " p ", + " :n:", + " ", + " |r|", + " {q}", + " =k=" + }; + static char *wsqr = ""; + static char *bsqr = ""; + static char *top = " . . . . . . . . .\n"; + static char *mid = " . . . . . . . . .\n"; + static char *start = ""; + static char *end = ""; + static char *label = "\t a b c d e f g h\n"; + static char *blabel = "\t h g f e d c b a\n"; - return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel); + return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, + blabel); } /* -- cgit v1.2.3