diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-27 20:14:54 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-27 20:14:54 +0200 |
| commit | 51d27e1ab9058c9e0fafb399e22edf7b38470510 (patch) | |
| tree | f0528298123fcb33eb426a5aa099afd2a8d00a90 /src/moves.hpp | |
| parent | f1ded0290393709d437c6e149861ceb91d241c64 (diff) | |
adding uci
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
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 <vector> -std::vector<Move> GetLegalMoves(Board *b); -std::vector<Move> GetPseudoLegalMoves(Board *b); +std::vector<Move> GetLegalMoves(Game *b); +std::vector<Move> GetPseudoLegalMoves(Game *b); Position IndexToPosition(int i); -void GenerateSlidingMoves(Board *b, int from, +void GenerateSlidingMoves(Game *b, int from, const std::array<int, 4> &directions, std::vector<Move> &moves); -void GenerateKingMoves(Board *b, int from, std::vector<Move> &moves); -void GenerateKningtMoves(Board *b, int from, std::vector<Move> &moves); -void GeneratePawnMoves(Board *b, int from, std::vector<Move> &moves); +void GenerateKingMoves(Game *b, int from, std::vector<Move> &moves); +void GenerateKningtMoves(Game *b, int from, std::vector<Move> &moves); +void GeneratePawnMoves(Game *b, int from, std::vector<Move> &moves); #endif /* SRC_MOVES_H_ */ |
