diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 20:54:57 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 20:54:57 +0100 |
commit | 54626405956b4fb536d961dad56be70e31704d11 (patch) | |
tree | 05ad460c0d8cdfed7bf2658aa991a719f93a5ed8 /FICS | |
parent | 485c3040d8fbf8481454d9f35721294246f9dbac (diff) |
Reformatted style5()
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/board.c | 43 |
1 files changed, 31 insertions, 12 deletions
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:", " <B>", " |R|", " {Q}", " =K="}; - static char *bp[] = {" ", " p ", " :n:", " <b>", " |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:", + " <B>", + " |R|", + " {Q}", + " =K=" + }; + static char *bp[] = { + " ", + " p ", + " :n:", + " <b>", + " |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); } /* |