diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-01 12:15:50 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-01 12:15:50 +0200 |
| commit | 980ac2bc1ccbe1b8bde626a964464bb018baa466 (patch) | |
| tree | 99b195a4eac9d346194bb5abe80f48e1ef2eee1f /src/moves.hpp | |
| parent | 25af8ae92ffd1a4c2dd0007b155ddb3cbd0d6e89 (diff) | |
adding castling
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<Move> &moves, bool GenerateQuietMoves); void GeneratePawnMoves(Game *b, int from, std::vector<Move> &moves, bool GenerateQuietMoves); +void GenerateCastlingMoves(int from, Game *g, std::vector<Move> &moves); bool IsSquareAttacked(Game *g, Position square, bool byWhite); GameState GetNewGameState(Game *g); |
