From 7e8d89f357aaf8d8a6148ef051752dd53eb0285f Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 26 Jul 2026 19:16:57 +0200 Subject: adding repl --- src/moves.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index 2cede49..ae26e29 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -4,12 +4,12 @@ #include "board.hpp" #include -std::vector GetLegalMoves(board *b); +std::vector GetLegalMoves(Board *b); Position IndexToPosition(int i); -void GenerateSlidingMoves(board *b, int from, +void GenerateSlidingMoves(Board *b, int from, const std::array &directions, std::vector &moves); -void GenerateKingMoves(board *b, int from, std::vector &moves); -void GeneratePawnMoves(board *b, int from, std::vector &moves); +void GenerateKingMoves(Board *b, int from, std::vector &moves); +void GeneratePawnMoves(Board *b, int from, std::vector &moves); #endif /* SRC_MOVES_H_ */ -- cgit v1.2.3