mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 06:17:49 +00:00
Add a see() function that take only destination square
In this case firstlocates the least valuable attacker, if any, then proceed as usual. This will be used by next patch. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -253,6 +253,7 @@ public:
|
||||
// Static exchange evaluation
|
||||
int see(Square from, Square to) const;
|
||||
int see(Move m) const;
|
||||
int see(Square to) const;
|
||||
|
||||
// Accessing hash keys
|
||||
Key get_key() const;
|
||||
|
||||
Reference in New Issue
Block a user