diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-05-05 17:04:45 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-05-05 17:04:45 +0200 |
commit | e34f3b8018e72cd6b6a6238c5afc6b73a05ddc89 (patch) | |
tree | 523dbe51d4ee5cc1e1c0e239a012d961e0130de8 /FICS | |
parent | 1c3425cd269513944b1ccbe3591644009c3c30b5 (diff) |
Reformatted possible_queen_moves()
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/movecheck.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/FICS/movecheck.c b/FICS/movecheck.c index 66be5d1..001551c 100644 --- a/FICS/movecheck.c +++ b/FICS/movecheck.c @@ -560,12 +560,14 @@ PRIVATE void possible_rook_moves(game_state_t * gs, } } -PRIVATE void possible_queen_moves(game_state_t * gs, - int onf, int onr, - int *posf, int *posr, int *numpos) +PRIVATE void +possible_queen_moves(game_state_t *gs, + int onf, int onr, + int *posf, int *posr, + int *numpos) { - possible_rook_moves(gs, onf, onr, posf, posr, numpos); - possible_bishop_moves(gs, onf, onr, posf, posr, numpos); + possible_rook_moves(gs, onf, onr, posf, posr, numpos); + possible_bishop_moves(gs, onf, onr, posf, posr, numpos); } PRIVATE void |