From 980ac2bc1ccbe1b8bde626a964464bb018baa466 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 1 Aug 2026 12:15:50 +0200 Subject: adding castling --- src/moves.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index 282cff8..e48d7f8 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -16,6 +16,7 @@ void GenerateKnightMoves(Game *b, int from, std::vector &moves, bool GenerateQuietMoves); void GeneratePawnMoves(Game *b, int from, std::vector &moves, bool GenerateQuietMoves); +void GenerateCastlingMoves(int from, Game *g, std::vector &moves); bool IsSquareAttacked(Game *g, Position square, bool byWhite); GameState GetNewGameState(Game *g); -- cgit v1.2.3