X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=26ec6f01c37903ecc1e7e6fe9d0a503a3805d412;hp=671e1277d7346de0b7578eb9e8d594088eb5f059;hb=2af2c67650c4ac2531e6ab2753830f91c0999876;hpb=a03e98dcd33c91c47e4a06282bfb582e582671b7 diff --git a/src/search.h b/src/search.h index 671e1277..26ec6f01 100644 --- a/src/search.h +++ b/src/search.h @@ -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 {