src/chess/pawn.h

changeset 195
27d02ccb0cef
parent 194
619f07c95894
--- a/src/chess/pawn.h	Tue Aug 25 18:59:18 2026 +0200
+++ b/src/chess/pawn.h	Tue Aug 25 19:42:15 2026 +0200
@@ -41,9 +41,9 @@
 
 #define PAWN_MOVES_MAX 4
 size_t pawn_moves(const GameState *gamestate,
-        Color c, Rank r, File f, Move *moves);
-#define pawn_moves_allowed(gamestate, color, rank, file, moves) \
-        filter_moves_allowed(gamestate, color, rank, file, moves, pawn_moves)
+        Color c, File f, Rank r, Move *moves);
+#define pawn_moves_allowed(gamestate, color, file, rank, moves) \
+        filter_moves_allowed(gamestate, color, file, rank, moves, pawn_moves)
 
 #ifdef	__cplusplus
 }

mercurial