diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-26 17:00:49 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-26 17:00:49 +0200 |
| commit | 60637ce41b3f033561343c5735eb16227ef240cf (patch) | |
| tree | 8a09fcedb007442890b484ccb8877123dcfaf4f5 /src/moves.hpp | |
| parent | a2d5bfa42379b2d8087f0910ef9b672fcf5a79f5 (diff) | |
adding king and formating
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/moves.hpp b/src/moves.hpp index d99fc68..2cede49 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -9,5 +9,7 @@ Position IndexToPosition(int i); 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); #endif /* SRC_MOVES_H_ */ |
