From 51d27e1ab9058c9e0fafb399e22edf7b38470510 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Jul 2026 20:14:54 +0200 Subject: adding uci --- src/moves.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index a957d3a..4c6716e 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -4,14 +4,14 @@ #include "board.hpp" #include -std::vector GetLegalMoves(Board *b); -std::vector GetPseudoLegalMoves(Board *b); +std::vector GetLegalMoves(Game *b); +std::vector GetPseudoLegalMoves(Game *b); Position IndexToPosition(int i); -void GenerateSlidingMoves(Board *b, int from, +void GenerateSlidingMoves(Game *b, int from, const std::array &directions, std::vector &moves); -void GenerateKingMoves(Board *b, int from, std::vector &moves); -void GenerateKningtMoves(Board *b, int from, std::vector &moves); -void GeneratePawnMoves(Board *b, int from, std::vector &moves); +void GenerateKingMoves(Game *b, int from, std::vector &moves); +void GenerateKningtMoves(Game *b, int from, std::vector &moves); +void GeneratePawnMoves(Game *b, int from, std::vector &moves); #endif /* SRC_MOVES_H_ */ -- cgit v1.2.3