From 27e879c62ecc019591201b1b1068b0c41870cfab Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 3 Aug 2026 21:56:36 +0200 Subject: a big hell of a commit --- src/moves.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index 3764be4..57d1467 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -14,8 +14,8 @@ void GenerateKingMoves(Game *g, int from, std::vector &moves, bool GenerateQuietMoves); void GeneratePawnMoves(Game *b, int from, std::vector &moves, bool GenerateQuietMoves); +bool IsSquareAttacked(Game *g, Position square, bool byColor); void GenerateCastlingMoves(int from, Game *g, std::vector &moves); -bool IsSquareAttacked(Game *g, Position square, bool byWhite); GameState GetNewGameState(Game *g); #endif /* SRC_MOVES_H_ */ -- cgit v1.2.3