X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=moves.h;h=26d0930e0a099b163483361a9eb024281aded2cf;hb=a31d0897123ab90c8d4a8304619834079c3ad5a9;hp=b7837277e62fa97a9698118292f03d54a4862f5c;hpb=5cd55bddca592918f38deff675d05b650a71412e;p=xboard.git diff --git a/moves.h b/moves.h index b783727..26d0930 100644 --- a/moves.h +++ b/moves.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -60,6 +60,7 @@ extern int PieceToNumber P((ChessSquare p)); 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]; typedef void (*MoveCallback) P((Board board, int flags, ChessMove kind, int rf, int ff, int rt, int ft, @@ -157,6 +158,7 @@ typedef struct { int rf, ff, rt, ft; int promoChar; /* 'q' if a promotion and promoCharIn was NULLCHAR */ int count; /* Number of possibilities found */ + int captures; /* [HGM] oneclick: number of matching captures */ } DisambiguateClosure; /* Disambiguate a partially-known move */