X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=88d64053c4c6dadf6e10c6fedc8e7f8ea3dec2a1;hp=7b7c4e91bb4857094e7a21cb667452e72ad3cb8d;hb=cf486cf229b9877afd8120830bece47d93c7e8d0;hpb=9e4befe3f1ea324bece88aee2e97b38659411c52 diff --git a/src/movegen.h b/src/movegen.h index 7b7c4e91..88d64053 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -34,9 +34,9 @@ extern MoveStack* generate_captures(const Position& pos, MoveStack* mlist); extern MoveStack* generate_noncaptures(const Position& pos, MoveStack* mlist); -extern MoveStack* generate_non_capture_checks(const Position& pos, MoveStack* mlist, Bitboard dc); -extern MoveStack* generate_evasions(const Position& pos, MoveStack* mlist, Bitboard pinned); -extern MoveStack* generate_legal_moves(const Position& pos, MoveStack* mlist); +extern MoveStack* generate_non_capture_checks(const Position& pos, MoveStack* mlist); +extern MoveStack* generate_evasions(const Position& pos, MoveStack* mlist); +extern MoveStack* generate_moves(const Position& pos, MoveStack* mlist, bool pseudoLegal = false); extern bool move_is_legal(const Position& pos, const Move m, Bitboard pinned); extern bool move_is_legal(const Position& pos, const Move m);