diff options
Diffstat (limited to 'mbbsd/go.c')
-rw-r--r-- | mbbsd/go.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -475,15 +475,16 @@ static void go_drawline(const ChessInfo* info, int line) { const static char* const BoardPic[] = { - "¢z", "¢s", "¢{", - "¢u", "¢q", "¢t", - "¢|", "¢r", "¢}" + "ùÝ", "ùç", "ùç", "ùß", + "ùò", "¢q", "¢q", "ùô", + "ùò", "¢q", "¡Ï", "ùô", + "ùã", "ùí", "ùí", "ùå", }; const static int BoardPicIndex[] = - { 0, 1, 1, 1, 1, + { 0, 1, 1, 2, 1, + 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, - 1, 1, 1, 1, 1, - 1, 1, 1, 2 }; + 2, 1, 1, 3 }; board_p board = (board_p) info->board; go_tag_t* tag = (go_tag_t*) info->tag; @@ -498,8 +499,7 @@ go_drawline(const ChessInfo* info, int line) } else if (line >= 2 && line <= 20) { const int board_line = line - 2; const char* const* const pics = - board_line == 0 ? &BoardPic[0] : - board_line == BRDSIZ - 1 ? &BoardPic[6] : &BoardPic[3]; + &BoardPic[BoardPicIndex[board_line] * 4]; int i; prints("%2d" ANSI_COLOR(30;43), 21 - line); |