X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=bb574e1642f263b7b380ac6be6f618b4faa47bb2;hb=94a67c49b0238200bbd4b167d067f067ff4aad30;hp=cc70bcf815fbd8c58cf3366f9afca5905f5dd6d3;hpb=0da461f23b84990d17e1f1341aeb7c0589ab98e7;p=stockfish diff --git a/src/position.h b/src/position.h index cc70bcf8..bb574e16 100644 --- a/src/position.h +++ b/src/position.h @@ -197,6 +197,7 @@ public: // Information about attacks to or from a given square Bitboard attackers_to(Square s) const; Bitboard attacks_from(Piece p, Square s) const; + static Bitboard attacks_from(Piece p, Square s, Bitboard occ); template Bitboard attacks_from(Square s) const; template Bitboard attacks_from(Square s, Color c) const;