MovePicker: use EvalInfo to skip generating captures

When we know already no captures are possible in a given
position.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-11-15 13:00:56 +01:00
parent f4758ced90
commit 20d7197a9b
5 changed files with 39 additions and 15 deletions

View File

@@ -174,13 +174,13 @@ public:
// Number of pieces of each color and type
int piece_count(Color c, PieceType pt) const;
// The en passant square:
// The en passant square
Square ep_square() const;
// Current king position for each color
Square king_square(Color c) const;
// Castling rights.
// Castling rights
bool can_castle_kingside(Color c) const;
bool can_castle_queenside(Color c) const;
bool can_castle(Color c) const;