X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=670b621ce7452b8b7491da4ce8ed065307eb95d7;hb=24b37e4586ba610d331048446bd036bec5544c4f;hp=cc606a5ab00af8dcb0d7a6dbed9ec326997b7222;hpb=7077fbdd1481829a0a20b6975c4245609118b938;p=stockfish diff --git a/src/position.h b/src/position.h index cc606a5a..670b621c 100644 --- a/src/position.h +++ b/src/position.h @@ -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);