From 1d6a6717ba088c3b89d50021f2bf6656eb564533 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 29 Jul 2026 16:18:52 +0200 Subject: implementing castling --- src/moves.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/moves.cpp') diff --git a/src/moves.cpp b/src/moves.cpp index edf6c1e..008020d 100644 --- a/src/moves.cpp +++ b/src/moves.cpp @@ -1,13 +1,14 @@ #include #include #include +#include #include #include #include "board.hpp" #include "moves.hpp" -void GenerateKnightMoves(Game *b, int from, std::vector &moves) { +void GenerateKnightMoves(Game *b, int from, std::vector &moves) { Piece knight = b->pieces[from]; if (knight.type != KNIGHT) { assert(false && "Calling generate knight moves on non knight"); -- cgit v1.2.3