X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=0c8f7972d7f599b614de8336a3847b152faaa20c;hp=18c783f0836ecd6b0d92157ae731472d5040f6ea;hb=108f0da4d7f993732aa2e854b8f3fa8ca6d3b46c;hpb=ad2a0e356e395038a08324f9ff0afee7fc98b8e9 diff --git a/src/position.h b/src/position.h index 18c783f0..0c8f7972 100644 --- a/src/position.h +++ b/src/position.h @@ -52,7 +52,7 @@ struct StateInfo { Piece capturedPiece; StateInfo* previous; Bitboard blockersForKing[COLOR_NB]; - Bitboard pinnersForKing[COLOR_NB]; + Bitboard pinners[COLOR_NB]; Bitboard checkSquares[PIECE_TYPE_NB]; }; @@ -152,6 +152,7 @@ public: bool is_chess960() const; Thread* this_thread() const; bool is_draw(int ply) const; + bool has_repeated() const; int rule50_count() const; Score psq_score() const; Value non_pawn_material(Color c) const;