X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=94a0e5f9548afb864361ae826f2cef914703a302;hp=56efb321aedf238a7d8b1ae52ca1e1e26f037f58;hb=c1b60269a26b2ba1c8882b8f382f0e3e435c1962;hpb=e1ed67aacbe7fb4b462b9141d3137bed0a3ea70b diff --git a/src/movepick.h b/src/movepick.h index 56efb321..94a0e5f9 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -26,6 +26,7 @@ //// #include "depth.h" +#include "history.h" #include "lock.h" #include "position.h" @@ -64,7 +65,7 @@ public: PH_STOP }; - MovePicker(const Position& p, bool pvnode, Move ttm, Depth d, SearchStack* ss = NULL); + MovePicker(const Position& p, bool pvnode, Move ttm, Depth d, const History& h, SearchStack* ss = NULL); Move get_next_move(); Move get_next_move(Lock& lock); int number_of_moves() const; @@ -80,6 +81,7 @@ private: Move pick_move_from_list(); const Position& pos; + const History& H; Move ttMove, mateKiller, killer1, killer2; Bitboard pinned, dc; MoveStack moves[256], badCaptures[64];