1
0
Fork 0
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:
Marco Costalba 2009-02-10 17:53:19 +01:00
parent 769f2fdecb
commit 9d044cf4ee

View file

@ -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