Rev 178 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 178 | Rev 193 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | // evaluate new check and stalemate status |
46 | // evaluate new check and stalemate status |
47 | currentmove->is_check = Move_IsCheck (currentmove, 1 - currentmove->color); // save whether opponent is in check or not |
47 | currentmove->is_check = Move_IsCheck (currentmove, 1 - currentmove->color); // save whether opponent is in check or not |
48 | currentmove->is_stalemate = Move_IsStaleMate (currentmove, 1 - currentmove->color); // save whether opponent is stalemate |
48 | currentmove->is_stalemate = Move_IsStaleMate (currentmove, 1 - currentmove->color); // save whether opponent is stalemate |
49 | 49 | ||
50 | // re-describe our move in Standard Abbreviated Notation and describe the resulting table in Forsyth-Edwards Notation |
50 | // re-describe our move in Standard Abbreviated Notation and describe the resulting table in Forsyth-Edwards Notation |
51 | Move_DescribeInSAN (currentmove, &the_board.moves[the_board.move_count - 2]) |
51 | Move_DescribeInSAN (currentmove, &the_board.moves[the_board.move_count - 2], currentmove->pgntext, WCHAR_SIZEOF (currentmove->pgntext), false); // don't use the localized part abbreviations); |
52 | Move_DescribeInFEN (currentmove); |
52 | Move_DescribeInFEN (currentmove); |
53 | 53 | ||
54 | // forget the hovered and selected positions |
54 | // forget the hovered and selected positions |
55 | Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); |
55 | Board_SetSelectedAndHovered (&the_board, -1, -1, -1, -1); |
56 | 56 |