X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=9e81e218247a165269a8d4ed44392352501d0886;hp=69cf6ff67404ea740850aa169e9f8f8dcb90f542;hb=14dbeb22dd04f0954322a58c26833506fb4532a9;hpb=68eb7e77f16e96642d90eeec0abe7312631ae2ac diff --git a/src/movepick.h b/src/movepick.h index 69cf6ff6..9e81e218 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -49,7 +49,7 @@ class MovePicker { MovePicker& operator=(const MovePicker&); // silence a warning under MSVC public: - MovePicker(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss = NULL); + MovePicker(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss = NULL, Value beta = -VALUE_INFINITE); Move get_next_move(); int number_of_evasions() const; @@ -62,7 +62,7 @@ private: const Position& pos; const History& H; MoveStack ttMoves[2], killers[2]; - int phase; + int badCaptureThreshold, phase; const uint8_t* phasePtr; MoveStack *curMove, *lastMove, *lastGoodNonCapture, *lastBadCapture; Bitboard pinned;