X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=f77b368abb0cebf74dc7373d9cee8ae55a38d523;hp=5ae75655658fc69276391a6aafcf4b5d02453c45;hb=1ac2f501452ebd9249437b338c98ec398776b71a;hpb=af59cb1d63234fe5c711f4a0dc28d56fe79d1274;ds=sidebyside diff --git a/src/position.h b/src/position.h index 5ae75655..f77b368a 100644 --- a/src/position.h +++ b/src/position.h @@ -197,8 +197,6 @@ public: // Bitboards for pinned pieces and discovered check candidates Bitboard discovered_check_candidates(Color c) const; Bitboard pinned_pieces(Color c) const; - template - Bitboard pinned_pieces(Color c, Square ksq) const; // Checking pieces Bitboard checkers() const; @@ -307,6 +305,9 @@ private: void undo_ep_move(Move m); void find_checkers(); + template + Bitboard hidden_checks(Color c, Square ksq) const; + // Computing hash keys from scratch (for initialization and debugging) Key compute_key() const; Key compute_pawn_key() const;