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:
Marco Costalba
2008-12-09 11:20:47 +01:00
parent 235df6a887
commit aaad48464b
4 changed files with 52 additions and 20 deletions
+1
View File
@@ -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;