made some optimizations in PopBit and other parts
This commit is contained in:
1 parent
119a87f227
commit
986b49b503
8 files changed
+32
-37
No files matched your search
+3
-2
@@ -17,7 +17,8 @@ public:
|
||||
|
||||
Bitboard occupied;
|
||||
|
||||
std::vector<Move> moveList;
|
||||
std::array<Move, 218> moveList;
|
||||
int currentMoveIndex = 0;
|
||||
|
||||
bool sideToMove = White;
|
||||
int halfMoves = 0;
|
||||
@@ -46,4 +47,4 @@ public:
|
||||
|
||||
void Promote(int square, int pieceType, int color, bool isCapture);
|
||||
void MakeMove(Move move);
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user