aboutsummaryrefslogtreecommitdiff
path: root/src/moves.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-03 21:56:36 +0200
committerAdam <adammegarules1@gmail.com>2026-08-03 21:56:36 +0200
commit27e879c62ecc019591201b1b1068b0c41870cfab (patch)
treec012f4f9991af93ed6b0c1b73dabf72815696707 /src/moves.hpp
parent9acc4d8b4fb616e8a0b0d2fed85a752c3a86ccc6 (diff)
a big hell of a commit
Diffstat (limited to 'src/moves.hpp')
-rw-r--r--src/moves.hpp2
1 files changed, 1 insertions, 1 deletions
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<Move> &moves,
bool GenerateQuietMoves);
void GeneratePawnMoves(Game *b, int from, std::vector<Move> &moves,
bool GenerateQuietMoves);
+bool IsSquareAttacked(Game *g, Position square, bool byColor);
void GenerateCastlingMoves(int from, Game *g, std::vector<Move> &moves);
-bool IsSquareAttacked(Game *g, Position square, bool byWhite);
GameState GetNewGameState(Game *g);
#endif /* SRC_MOVES_H_ */