mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Retire Position::set_castling_rights()
Is called in just one place. And rename set_castle() in the now free to use and more appropiate set_castle_right(). No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -214,8 +214,7 @@ private:
|
||||
// Initialization helper functions (used while setting up a position)
|
||||
void clear();
|
||||
void put_piece(Piece p, Square s);
|
||||
void set_castle(int f, Square ksq, Square rsq);
|
||||
void set_castling_rights(char token);
|
||||
void set_castle_right(Square ksq, Square rsq);
|
||||
bool move_is_legal(const Move m) const;
|
||||
|
||||
// Helper functions for doing and undoing moves
|
||||
|
||||
Reference in New Issue
Block a user