added pinned and checker bitboard | bench 1812688
This commit is contained in:
1 parent
0f748da56c
commit
1fb235fb3f
2 files changed
+69
No files matched your search
@@ -21,6 +21,9 @@ public:
|
||||
|
||||
Bitboard occupied;
|
||||
|
||||
std::array<Bitboard, 2> pinned;
|
||||
Bitboard checkers;
|
||||
|
||||
ACC::AccumulatorPair accPair;
|
||||
|
||||
std::array<Bitboard, 6> pieceThreats;
|
||||
@@ -72,4 +75,7 @@ public:
|
||||
Bitboard AttacksTo(int square, Bitboard occupancy);
|
||||
|
||||
bool IsSquareThreatened(bool side, int square);
|
||||
|
||||
Bitboard CalcCheckers();
|
||||
Bitboard CalcPinned(bool color);
|
||||
};
|
||||
Reference in new issue
Block a user