separate attack maps by color and piece type | bench 902872
This commit is contained in:
1 parent
809da11544
commit
120f36ebb6
4 files changed
+23
-32
No files matched your search
+2
-2
@@ -21,7 +21,8 @@ public:
|
||||
|
||||
Bitboard occupied;
|
||||
|
||||
std::array<std::array<U64, 64>, 2> threatMaps;
|
||||
std::array<Bitboard, 6> pieceThreats;
|
||||
std::array<Bitboard, 2> colorThreats;
|
||||
|
||||
std::array<Move, 218> moveList;
|
||||
int currentMoveIndex = 0;
|
||||
@@ -42,7 +43,6 @@ public:
|
||||
void ResetMoves();
|
||||
void ListMoves();
|
||||
|
||||
U64 GetThreatMaps(bool side);
|
||||
int GetPieceType(int square);
|
||||
int GetPieceColor(int square);
|
||||
|
||||
|
||||
Reference in new issue
Block a user