mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Last touches to movegen.cpp
Of course no functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
769f2fdecb
commit
9d044cf4ee
1 changed files with 4 additions and 4 deletions
|
@ -40,10 +40,10 @@ namespace {
|
|||
QUEEN_SIDE
|
||||
};
|
||||
|
||||
static const bool CAPTURE = true;
|
||||
static const bool NON_CAPTURE = false;
|
||||
const bool CAPTURE = true;
|
||||
const bool NON_CAPTURE = false;
|
||||
|
||||
// Function
|
||||
// Functions
|
||||
bool castling_is_check(const Position&, CastlingSide);
|
||||
|
||||
// Helper templates
|
||||
|
@ -102,7 +102,7 @@ namespace {
|
|||
|
||||
template<>
|
||||
inline MoveStack* generate_piece_blocking_evasions<PAWN>(const Position& p, MoveStack* m, Color us,
|
||||
Bitboard np, Bitboard bs) {
|
||||
Bitboard np, Bitboard bs) {
|
||||
if (us == WHITE)
|
||||
return generate_pawn_blocking_evasions<WHITE, RANK_8, Rank3BB, DELTA_N>(p, np, bs, m);
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue