diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 20:45:14 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-23 20:45:14 +0100 |
commit | d92bf07689558caa008c47128a7b3e4205a92121 (patch) | |
tree | 6ea2b3d852eae4e4f808ca1d9316c074af08ba1d | |
parent | 2c6f05d61299138dbffd3696654c1d7851baff46 (diff) |
Reformatted style7()
-rw-r--r-- | FICS/board.c | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/FICS/board.c b/FICS/board.c index 633e524..412a4b1 100644 --- a/FICS/board.c +++ b/FICS/board.c @@ -450,21 +450,25 @@ PUBLIC int style6(game_state_t *b, move_t *ml) return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel); } -/* Miniature board */ -PUBLIC int style7(game_state_t *b, move_t *ml) +/* + * Miniature board + */ +PUBLIC int +style7(game_state_t *b, move_t *ml) { - static char *wp[] = {" ", " P", " N", " B", " R", " Q", " K"}; - static char *bp[] = {" -", " p", " n", " b", " r", " q", " k"}; - static char *wsqr = ""; - static char *bsqr = ""; - static char *top = "\t:::::::::::::::::::::\n"; - static char *mid = ""; - 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); + static char *wp[] = {" ", " P", " N", " B", " R", " Q", " K"}; + static char *bp[] = {" -", " p", " n", " b", " r", " q", " k"}; + static char *wsqr = ""; + static char *bsqr = ""; + static char *top = "\t:::::::::::::::::::::\n"; + static char *mid = ""; + 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); } /* |