removed attack maps

This commit is contained in:
rektdie committed 2025-03-24 02:08:26 +01:00
1 parent f0cd9d0ee0
commit d0ba47c956
6 files changed
+14 -38

No files matched your search

+2 -4
View File
@@ -18,8 +18,6 @@ public:
std::array<Bitboard, 6> pieces;
std::array<Bitboard, 2> colors;
std::array<std::array<U64, 64>, 2> attackMaps;
//U64 attackMaps[2][64];
Bitboard occupied;
@@ -44,9 +42,9 @@ public:
int GetPieceType(int square);
int GetPieceColor(int square);
U64 GetAttackMaps(bool side);
bool InCheck();
bool IsLegal(Move &move);
void SetPiece(int piece, int square, bool color);
void RemovePiece(int piece, int square, bool color);