X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=84602552e8d8b5085db22883891b42d2b9a9d097;hb=1c42d153402be9eeed46986a392affee03e1de53;hp=6307f126a4a613652c1f76ebef662f01babad9f7;hpb=fc519ca74a110a0ceea3c710c88da096fa850c65;p=stockfish diff --git a/src/position.h b/src/position.h index 6307f126..84602552 100644 --- a/src/position.h +++ b/src/position.h @@ -41,8 +41,8 @@ struct CheckInfo { explicit CheckInfo(const Position&); Bitboard dcCandidates; + Bitboard pinned; Bitboard checkSq[8]; - Square ksq; }; /// Castle rights, encoded as bit fields @@ -187,7 +187,6 @@ public: // Properties of moves bool pl_move_is_legal(Move m, Bitboard pinned) const; bool move_is_pl(const Move m) const; - bool move_gives_check(Move m) const; bool move_gives_check(Move m, const CheckInfo& ci) const; bool move_is_capture(Move m) const; bool move_is_passed_pawn_push(Move m) const;