]> git.sesse.net Git - stockfish/blobdiff - src/bitboard.cpp
Retire SquaresByColorBB[] and enum SquareColor
[stockfish] / src / bitboard.cpp
index 0e035b15f37b6867d1601431eae1f5c98298e90c..d9a9daba8b854d4ebdcdb2c3701ff2e38cdb386d 100644 (file)
@@ -38,7 +38,6 @@ int BShifts[64];
 Bitboard SetMaskBB[65];
 Bitboard ClearMaskBB[65];
 
-Bitboard SquaresByColorBB[2];
 Bitboard FileBB[8];
 Bitboard RankBB[8];
 Bitboard NeighboringFilesBB[8];
@@ -157,9 +156,6 @@ void bitboards_init() {
   for (Bitboard b = 0; b < 256; b++)
       BitCount8Bit[b] = (uint8_t)count_1s<CNT32_MAX15>(b);
 
-  SquaresByColorBB[DARK]  =  0xAA55AA55AA55AA55ULL;
-  SquaresByColorBB[LIGHT] = ~SquaresByColorBB[DARK];
-
   for (Square s = SQ_A1; s <= SQ_H8; s++)
   {
       SetMaskBB[s] = 1ULL << s;