X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitboard.cpp;h=f014fe1939b6d4da4b13c5eafe1d286b8ae3312a;hp=384831adc8f7061f09797cbeff28d2e166eae574;hb=05c5f08372f2ba6e28eec0c3d66fbb4f27e853b1;hpb=87379c2929c1d7f3a35aae4ed1115e98fcde388a diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 384831ad..f014fe19 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -226,8 +226,9 @@ Bitboard StepAttackBB[16][64]; Bitboard RayBB[64][8]; Bitboard BetweenBB[64][64]; +Bitboard SquaresInFrontMask[2][64]; Bitboard PassedPawnMask[2][64]; -Bitboard OutpostMask[2][64]; +Bitboard AttackSpanMask[2][64]; Bitboard BishopPseudoAttacks[64]; Bitboard RookPseudoAttacks[64]; @@ -427,8 +428,9 @@ namespace { for (Color c = WHITE; c <= BLACK; c++) for (Square s = SQ_A1; s <= SQ_H8; s++) { + SquaresInFrontMask[c][s] = in_front_bb(c, s) & file_bb(s); PassedPawnMask[c][s] = in_front_bb(c, s) & this_and_neighboring_files_bb(s); - OutpostMask[c][s] = in_front_bb(c, s) & neighboring_files_bb(s); + AttackSpanMask[c][s] = in_front_bb(c, s) & neighboring_files_bb(s); } for (Bitboard b = 0ULL; b < 256ULL; b++)