X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=56efb321aedf238a7d8b1ae52ca1e1e26f037f58;hp=3d87b9c3b5c7998121366efb615f58525247d5f5;hb=e1ed67aacbe7fb4b462b9141d3137bed0a3ea70b;hpb=5b1316f7bbb259b87cecc276e4a1ce78b1a0e51b;ds=sidebyside diff --git a/src/movepick.h b/src/movepick.h index 3d87b9c3..56efb321 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -37,8 +37,6 @@ struct EvalInfo; struct SearchStack; -extern SearchStack EmptySearchStack; - /// MovePicker is a class which is used to pick one legal move at a time from /// the current position. It is initialized with a Position object and a few /// moves we have reason to believe are good. The most important method is @@ -66,7 +64,7 @@ public: PH_STOP }; - MovePicker(const Position& p, bool pvnode, Move ttm, const SearchStack& ss, Depth d); + MovePicker(const Position& p, bool pvnode, Move ttm, Depth d, SearchStack* ss = NULL); Move get_next_move(); Move get_next_move(Lock& lock); int number_of_moves() const;