aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-26 17:00:49 +0200
committerAdam <adammegarules1@gmail.com>2026-07-26 17:00:49 +0200
commit60637ce41b3f033561343c5735eb16227ef240cf (patch)
tree8a09fcedb007442890b484ccb8877123dcfaf4f5 /src/moves.hpp
parenta2d5bfa42379b2d8087f0910ef9b672fcf5a79f5 (diff)
adding king and formating
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp2
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_ */