diff -r 619f07c95894 -r 27d02ccb0cef src/chess/king.h --- a/src/chess/king.h Tue Aug 25 18:59:18 2026 +0200 +++ b/src/chess/king.h Tue Aug 25 19:42:15 2026 +0200 @@ -42,9 +42,9 @@ #define KING_MOVES_MAX 8 size_t king_moves(const GameState *gamestate, - Color c, Rank r, File f, Move *moves); -#define king_moves_allowed(gamestate, color, rank, file, moves) \ - filter_moves_allowed(gamestate, color, rank, file, moves, king_moves) + Color c, File f, Rank r, Move *moves); +#define king_moves_allowed(gamestate, color, file, rank, moves) \ + filter_moves_allowed(gamestate, color, file, rank, moves, king_moves) #ifdef __cplusplus }