]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Tablebases root ranking
[stockfish] / src / position.h
index 18c783f0836ecd6b0d92157ae731472d5040f6ea..0c8f7972d7f599b614de8336a3847b152faaa20c 100644 (file)
@@ -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;