diff -r 663676cfef6e -r 9962f5d98764 src/chess/bishop.h --- a/src/chess/bishop.h Sun Aug 02 15:19:47 2026 +0200 +++ b/src/chess/bishop.h Thu Aug 06 14:45:55 2026 +0200 @@ -39,6 +39,11 @@ bool bishop_chkrules(const Move *move); bool bishop_isblocked(const GameState *gamestate, const Move *move); +#define BISHOP_MOVES_MAX 13 +size_t bishop_moves(GameState *gamestate, Color c, Row r, File f, Move *moves); +#define bishop_moves_allowed(gamestate, color, row, file, moves) \ + filter_moves_allowed(gamestate, color, row, file, moves, bishop_moves) + #ifdef __cplusplus } #endif