]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.h
Broader condition for dangerous pawn moves
[stockfish] / src / bitboard.h
index 8154f574c6d7baedde7ccea8d50e94005db7fdfb..ceac2c24ed5b05f86866e14511347aa8a0ed7caf 100644 (file)
@@ -84,6 +84,8 @@ extern Bitboard PseudoAttacks[PIECE_TYPE_NB][SQUARE_NB];
 extern int SquareDistance[SQUARE_NB][SQUARE_NB];
 
 const Bitboard DarkSquares = 0xAA55AA55AA55AA55ULL;
+const Bitboard TheirHalf[COLOR_NB] = { Rank5BB | Rank6BB | Rank7BB | Rank8BB,
+                                       Rank1BB | Rank2BB | Rank3BB | Rank4BB };
 
 /// 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.