added new movegen type: quiets | bench 5105878

This commit is contained in:
rektdie committed 2025-10-12 23:40:18 +02:00
1 parent 17a0a97896
commit e8aec47b71
8 files changed
+100 -158

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ void Board::SetByFen(std::string_view fen) {
occupied = colors[White] | colors[Black];
hashKey = UTILS::GetHashKey(*this);
MOVEGEN::GenThreatMaps(*this);
MOVEGEN::GenerateMoves<All>(*this);
MOVEGEN::GenerateMoves<All>(*this, true);
int whiteKingFile = (pieces[King] & colors[White]).getLS1BIndex() % 8;
int blackKingFile = (pieces[King] & colors[Black]).getLS1BIndex() % 8;