X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.h;h=6be529934c072cf2e0b5bc6b9e563476a99d9849;hb=1076a8db0bea5817def7879218b8dd8385df3c9b;hp=b4b9eb35db8a730fa1c2ae74d9aec53ef3381cb9;hpb=e6e38912837a4fe2464356408d10dee950b3121c;p=xboard.git diff --git a/moves.h b/moves.h index b4b9eb3..6be5299 100644 --- a/moves.h +++ b/moves.h @@ -61,6 +61,9 @@ extern void CopyBoard P((Board to, Board from)); extern int CompareBoards P((Board board1, Board board2)); extern char pieceToChar[(int)EmptySquare+1]; extern char pieceNickName[(int)EmptySquare]; +extern char *pieceDesc[(int)EmptySquare]; +extern Board initialPosition; +extern Boolean pieceDefs; typedef void (*MoveCallback) P((Board board, int flags, ChessMove kind, int rf, int ff, int rt, int ft, @@ -81,6 +84,7 @@ typedef void (*MoveCallback) P((Board board, int flags, ChessMove kind, destroying your own king is illegal */ #define F_FRC_TYPE_CASTLING 256 /* generate castlings as captures of own Rook */ #define F_MANDATORY_CAPTURE 0x200 +#define F_NULL_MOVE 0x400 /* Special epfile values. [HGM] positive values are non-reversible moves! */ #define EP_NONE (-6) /* [HGM] Tricky! order matters: */ @@ -174,4 +178,4 @@ ChessMove CoordsToAlgebraic P((Board board, int flags, int rf, int ff, int rt, int ft, int promoChar, char out[MOVE_LEN])); -extern int quickFlag, killX, killY; +extern int quickFlag, killX, killY, legNr;