aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/board.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-23 20:49:45 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-23 20:49:45 +0100
commit485c3040d8fbf8481454d9f35721294246f9dbac (patch)
tree3f8b14c455a7a576b6f3fa3b39b5a80bf5288006 /FICS/board.c
parentd92bf07689558caa008c47128a7b3e4205a92121 (diff)
Reformatted style6()
Diffstat (limited to 'FICS/board.c')
-rw-r--r--FICS/board.c45
1 files changed, 32 insertions, 13 deletions
diff --git a/FICS/board.c b/FICS/board.c
index 412a4b1..b27f23e 100644
--- a/FICS/board.c
+++ b/FICS/board.c
@@ -433,21 +433,40 @@ PUBLIC int style5(game_state_t *b, move_t *ml)
return genstyle(b, ml, wp, bp, wsqr, bsqr, top, mid, start, end, label, blabel);
}
-/* Email Board suggested by Thomas Fought (tlf@rsch.oclc.org) */
-PUBLIC int style6(game_state_t *b, move_t *ml)
+/*
+ * Email Board suggested by Thomas Fought (tlf@rsch.oclc.org)
+ */
+PUBLIC int
+style6(game_state_t *b, move_t *ml)
{
- static char *wp[] = {" |", " wp |", " WN |", " WB |", " WR |", " WQ |", " WK |"};
- static char *bp[] = {" |", " bp |", " BN |", " BB |", " BR |", " BQ |", " BK |"};
- static char *wsqr = "";
- static char *bsqr = "";
- static char *top = "\t-----------------------------------------\n";
- static char *mid = "\t-----------------------------------------\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[] = {
+ " |",
+ " wp |",
+ " WN |",
+ " WB |",
+ " WR |",
+ " WQ |",
+ " WK |"
+ };
+ static char *bp[] = {
+ " |",
+ " bp |",
+ " BN |",
+ " BB |",
+ " BR |",
+ " BQ |",
+ " BK |"};
+ static char *wsqr = "";
+ static char *bsqr = "";
+ static char *top = "\t-----------------------------------------\n";
+ static char *mid = "\t-----------------------------------------\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);
}
/*