X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmovepick.h;h=9e81e218247a165269a8d4ed44392352501d0886;hb=14dbeb22dd04f0954322a58c26833506fb4532a9;hp=69cf6ff67404ea740850aa169e9f8f8dcb90f542;hpb=c7866a4215c31d7d0af8e8550fbf8c13f6ea1d1a;p=stockfish 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;