aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
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 4c6716e..592da3f 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -13,5 +13,7 @@ void GenerateSlidingMoves(Game *b, int from,
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);
+bool IsSquareAttacked(Game *board, Position square, bool white);
+bool IsPieceTypeAttacked(Game *board, PieceType type, bool white);
#endif /* SRC_MOVES_H_ */