X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=20c56ad3819b5417c6ae482750334a1e0a475d60;hp=6076a53905251d832d36e3b1868bc7146cec6a8d;hb=e236a0c6521c9d0c07e2fa9b392d2c10e009c86a;hpb=3c05bd70ebf57cebb88d29a88e6c492976a97761 diff --git a/src/position.h b/src/position.h index 6076a539..20c56ad3 100644 --- a/src/position.h +++ b/src/position.h @@ -174,13 +174,13 @@ public: // Number of pieces of each color and type int piece_count(Color c, PieceType pt) const; - // The en passant square: + // The en passant square Square ep_square() const; // Current king position for each color Square king_square(Color c) const; - // Castling rights. + // Castling rights bool can_castle_kingside(Color c) const; bool can_castle_queenside(Color c) const; bool can_castle(Color c) const; @@ -253,6 +253,7 @@ public: // Static exchange evaluation int see(Square from, Square to) const; int see(Move m) const; + int see(Square to) const; // Accessing hash keys Key get_key() const;