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

+2 -2
View File
@@ -111,7 +111,7 @@ int parseSquare(std::string_view str) {
}
Move parseMove(Board &board, std::string_view str) {
MOVEGEN::GenerateMoves<All>(board);
MOVEGEN::GenerateMoves<All>(board, true);
int from = parseSquare(str.substr(0, 2));
int to = parseSquare(str.substr(2, 2));
@@ -202,4 +202,4 @@ int ConvertToWhiteRelative(Board &board, int score) {
return board.sideToMove == White ? score : -score;
}
}
}