X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=b124be69449d78155c4563ef6bd828049597ea6c;hb=59a4f18b662ddb7174efd46e4c76fff3e5caa796;hp=704847e94f677c7c4d9a77d45dd40e4e44e7dde4;hpb=f766634577a899f7aa7dbcdddc90700538ab9cde;p=xboard.git diff --git a/backend.c b/backend.c index 704847e..b124be6 100644 --- a/backend.c +++ b/backend.c @@ -4575,6 +4575,10 @@ SendMoveToICS(moveType, fromX, fromY, toX, toY) /* POP Fabien */ sprintf(user_move, "o-o-o\n"); break; + case WhiteNonPromotion: + case BlackNonPromotion: + sprintf(user_move, "%c%c%c%c=\n", AAA + fromX, ONE + fromY, AAA + toX, ONE + toY); + break; case WhitePromotionQueen: case BlackPromotionQueen: case WhitePromotionRook: @@ -4803,6 +4807,8 @@ ParseOneMove(move, moveNum, moveType, fromX, fromY, toX, toY, promoChar) case BlackPromotionKnight: case WhitePromotionKing: case BlackPromotionKing: + case WhiteNonPromotion: + case BlackNonPromotion: case NormalMove: case WhiteCapturesEnPassant: case BlackCapturesEnPassant: @@ -8170,6 +8176,8 @@ ParseGameHistory(game) case BlackPromotionKnight: case WhitePromotionKing: case BlackPromotionKing: + case WhiteNonPromotion: + case BlackNonPromotion: case NormalMove: case WhiteCapturesEnPassant: case BlackCapturesEnPassant: @@ -9646,6 +9654,8 @@ LoadGameOneMove(readAhead) case BlackPromotionKnight: case WhitePromotionKing: case BlackPromotionKing: + case WhiteNonPromotion: + case BlackNonPromotion: case NormalMove: case WhiteKingSideCastle: case WhiteQueenSideCastle: