diff options
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
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 <vector> -std::vector<Move> GetLegalMoves(board *b); +std::vector<Move> GetLegalMoves(Board *b); Position IndexToPosition(int i); -void GenerateSlidingMoves(board *b, int from, +void GenerateSlidingMoves(Board *b, int from, const std::array<int, 4> &directions, std::vector<Move> &moves); -void GenerateKingMoves(board *b, int from, std::vector<Move> &moves); -void GeneratePawnMoves(board *b, int from, std::vector<Move> &moves); +void GenerateKingMoves(Board *b, int from, std::vector<Move> &moves); +void GeneratePawnMoves(Board *b, int from, std::vector<Move> &moves); #endif /* SRC_MOVES_H_ */ |
