X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fbitboard.h;h=142c4c5a397f85b5b9092b4692c374cd1c6a2f01;hb=818e0b2d2b0e2b2eaa8279c8f6684770dc4550e9;hp=2c51b073de3042ec1e7f1cf455b9d247ac927cd9;hpb=9a1d5f0f1d8a12a85b198688d4f1d636a146eb7a;p=stockfish diff --git a/src/bitboard.h b/src/bitboard.h index 2c51b073..142c4c5a 100644 --- a/src/bitboard.h +++ b/src/bitboard.h @@ -63,6 +63,8 @@ extern Bitboard PassedPawnMask[COLOR_NB][SQUARE_NB]; extern Bitboard AttackSpanMask[COLOR_NB][SQUARE_NB]; extern Bitboard PseudoAttacks[PIECE_TYPE_NB][SQUARE_NB]; +const Bitboard WhiteSquares = 0x55AA55AA55AA55AAULL; +const Bitboard BlackSquares = 0xAA55AA55AA55AA55ULL; /// Overloads of bitwise operators between a Bitboard and a Square for testing /// whether a given bit is set in a bitboard, and for setting and clearing bits.