moves_print() and move_sort_by_sq(): use movelist_t instead of pos_t

This commit is contained in:
2024-03-12 10:42:24 +01:00
parent 6ee4cd1642
commit 08082faed3
2 changed files with 13 additions and 16 deletions

View File

@@ -127,8 +127,8 @@ static inline move_t move_make_promote_capture(square_t from, square_t to,
//int move_print(int movenum, move_t *move, move_flags_t flags);
extern void moves_print(pos_t *pos, int flags);
extern void move_sort_by_sq(pos_t *pos);
extern void moves_print(movelist_t *moves, int flags);
extern void move_sort_by_sq(movelist_t *moves);
//extern int pseudo_moves_castle(pos_t *pos, bool color, bool doit, bool do_king);
//int pseudo_moves_gen(pos_t *pos, piece_list_t *piece, bool doit, bool do_king);