]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Verified SEE pruning for capturing and checking moves.
[stockfish] / src / position.h
index cc606a5ab00af8dcb0d7a6dbed9ec326997b7222..670b621ce7452b8b7491da4ce8ed065307eb95d7 100644 (file)
@@ -144,7 +144,7 @@ public:
   void undo_null_move();
 
   // Static Exchange Evaluation
-  bool see_ge(Move m, Value threshold = VALUE_ZERO) const;
+  bool see_ge(Move m, Bitboard& occupied, Value threshold = VALUE_ZERO) const;
 
   // Accessing hash keys
   Key key() const;
@@ -179,8 +179,8 @@ public:
 private:
   // Initialization helpers (used while setting up a position)
   void set_castling_right(Color c, Square rfrom);
-  void set_state(StateInfo* si) const;
-  void set_check_info(StateInfo* si) const;
+  void set_state() const;
+  void set_check_info() const;
 
   // Other helpers
   void move_piece(Square from, Square to);