X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=e3ac5ab6a78edcb111be4df4103989aa98e5f263;hp=671e1277d7346de0b7578eb9e8d594088eb5f059;hb=12e79be91039796299187ba1b2f1559552642ea4;hpb=a03e98dcd33c91c47e4a06282bfb582e582671b7 diff --git a/src/search.h b/src/search.h index 671e1277..e3ac5ab6 100644 --- a/src/search.h +++ b/src/search.h @@ -41,7 +41,7 @@ constexpr int CounterMovePruneThreshold = 0; struct Stack { Move* pv; - PieceToHistory* contHistory; + PieceToHistory* continuationHistory; int ply; Move currentMove; Move excludedMove; @@ -69,6 +69,8 @@ struct RootMove { Value score = -VALUE_INFINITE; Value previousScore = -VALUE_INFINITE; int selDepth = 0; + int tbRank; + Value tbScore; std::vector pv; }; @@ -81,8 +83,9 @@ typedef std::vector RootMoves; struct LimitsType { LimitsType() { // Init explicitly due to broken value-initialization of non POD in MSVC - nodes = time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = - npmsec = movestogo = depth = movetime = mate = perft = infinite = 0; + time[WHITE] = time[BLACK] = inc[WHITE] = inc[BLACK] = npmsec = movetime = TimePoint(0); + movestogo = depth = mate = perft = infinite = 0; + nodes = 0; } bool use_time_management() const {