new mousehandler to correct for premove and promotion popup
[xboard.git] / backend.h
index 7b6c08e..0d6b3a4 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -114,7 +114,7 @@ void SetWhiteToPlayEvent P((void));
 void SetBlackToPlayEvent P((void));
 void InitBackEnd1 P((void));
 void InitBackEnd2 P((void));
-int IsPromotion P((int fromX, int fromY, int toX, int toY));
+int HasPromotionChoice P((int fromX, int fromY, int toX, int toY, char *choice));
 int InPalace P((int row, int column));
 int PieceForSquare P((int x, int y));
 int OKToStartUserMove P((int x, int y));