|
| Position () |
|
void | Clear () |
|
void | StdStart () |
|
bool | IsStdStart () const |
|
errorT | AddPiece (pieceT p, squareT sq) |
|
byte | PieceCount (pieceT p) |
|
const byte * | GetMaterial () const |
|
void | SetEPTarget (squareT s) |
|
squareT | GetEPTarget () const |
|
void | SetToMove (colorT c) |
|
colorT | GetToMove () const |
|
void | SetPlyCounter (ushort x) |
|
ushort | GetPlyCounter () const |
|
ushort | GetFullMoveCount () const |
|
const squareT * | GetList (colorT c) const |
|
squareT * | GetList (colorT c) |
|
uint | GetCount (colorT c) const |
|
uint | TotalMaterial () |
|
uint | NumNonPawns (colorT c) |
|
bool | InPawnEnding () |
|
uint | MaterialValue (colorT c) |
|
uint | FyleCount (pieceT p, fyleT f) const |
|
uint | RankCount (pieceT p, rankT r) const |
|
uint | LeftDiagCount (pieceT p, leftDiagT diag) |
|
uint | RightDiagCount (pieceT p, rightDiagT diag) |
|
uint | SquareColorCount (pieceT p, colorT sqColor) |
|
uint | GetSquares (pieceT p, SquareList *sqlist) |
|
const pieceT * | GetBoard () const |
|
pieceT | GetPiece (squareT sq) const |
|
squareT | GetKingSquare (colorT c) |
|
squareT | GetKingSquare () |
|
squareT | GetEnemyKingSquare () |
|
void | SetCastling (colorT c, castleDirT dir, bool flag) |
|
bool | GetCastling (colorT c, castleDirT dir) const |
|
bool | CastlingPossible () |
|
byte | GetCastlingFlags () |
|
void | SetCastlingFlags (byte b) |
|
uint | HashValue (void) |
|
uint | PawnHashValue (void) |
|
uint | GetHPSig () |
|
void | CalcPins () |
|
void | GenPieceMoves (MoveList *mlist, squareT sq, SquareSet *sqset, bool capturesOnly) |
|
void | GenerateMoves (MoveList *mlist, pieceT mask, genMovesT genType, bool maybeInCheck) |
|
void | GenerateMoves (MoveList *mlist) |
|
void | GenerateMoves (MoveList *mlist, genMovesT genType) |
|
void | GenerateCaptures (MoveList *mlist) |
|
bool | IsLegalMove (simpleMoveT *sm) |
|
uint | CalcAttacks (colorT toMove, squareT kingSq, SquareList *squares) |
|
int | TreeCalcAttacks (colorT toMove, squareT target) |
|
uint | CalcNumChecks () |
|
uint | CalcNumChecks (squareT kingSq) |
|
uint | CalcNumChecks (squareT kingSq, SquareList *checkSquares) |
|
uint | Mobility (pieceT p, colorT color, squareT from) |
|
bool | IsKingInCheck () |
|
bool | IsKingInCheckDir (directionT dir) |
|
bool | IsKingInCheck (simpleMoveT *sm) |
|
bool | IsKingInMate () |
|
bool | IsLegal () |
|
bool | IsPromoMove (squareT from, squareT to) |
|
void | DoSimpleMove (simpleMoveT *sm) |
|
void | UndoSimpleMove (simpleMoveT *sm) |
|
errorT | RelocatePiece (squareT fromSq, squareT toSq) |
|
void | MakeSANString (simpleMoveT *sm, char *s, sanFlagT flag) |
|
void | MakeUCIString (simpleMoveT *sm, char *s) |
|
void | CalcSANStrings (sanListT *sanList, sanFlagT flag) |
|
errorT | ReadCoordMove (simpleMoveT *m, const char *s, int slen, bool reverse) |
|
errorT | ParseMove (simpleMoveT *sm, const char *str) |
|
errorT | ParseMove (simpleMoveT *sm, const char *begin, const char *end) |
|
void | MakeLongStr (char *str) |
|
errorT | ReadFromLongStr (const char *str) |
|
errorT | ReadFromCompactStr (const byte *str) |
|
errorT | ReadFromFEN (const char *s) |
|
void | PrintCompactStr (char *cboard) |
|
void | PrintCompactStrFlipped (char *cboard) |
|
byte | CompactStrFirstByte () |
|
void | PrintFEN (char *str, uint flags) const |
|
void | DumpLatexBoard (DString *dstr, bool flip) |
|
void | DumpLatexBoard (DString *dstr) |
|
void | DumpHtmlBoard (DString *dstr, uint style, const char *dir, bool flip) |
|
void | DumpHtmlBoard (DString *dstr, uint style, const char *dir) |
|
int | Compare (Position *p) |
|
void | CopyFrom (Position *src) |
|
errorT | Random (const char *material) |
|