- return !(pieces(PAWN, opposite_color(c)) & passed_pawn_mask(c, s));
-}
-
-inline bool Position::square_is_weak(Square s, Color c) const {
- return !(pieces(PAWN, opposite_color(c)) & attack_span_mask(c, s));
-}
-
-inline int Position::see_value(PieceType pt) {
- return seeValues[pt];