diff options
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_ */ |
