X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=477570e3919e3d40c7d0092e44a61630a4357e61;hp=55a1bf6b3e1874754821e778bb85edffc5984673;hb=44236f4ed9844598e1cb065937c3770a938964b2;hpb=ecd3218b6b24bb54509dbe6e9b24517b7df7390d diff --git a/src/search.h b/src/search.h index 55a1bf6b..477570e3 100644 --- a/src/search.h +++ b/src/search.h @@ -21,7 +21,6 @@ #ifndef SEARCH_H_INCLUDED #define SEARCH_H_INCLUDED -#include #include #include "misc.h" @@ -38,7 +37,7 @@ namespace Search { struct Stack { Move* pv; - PieceToHistory* history; + PieceToHistory* contHistory; int ply; Move currentMove; Move excludedMove; @@ -65,6 +64,7 @@ struct RootMove { Value score = -VALUE_INFINITE; Value previousScore = -VALUE_INFINITE; + int selDepth = 0; std::vector pv; }; @@ -92,15 +92,6 @@ struct LimitsType { TimePoint startTime; }; - -/// SignalsType struct stores atomic flags updated during the search, typically -/// in an async fashion e.g. to stop the search by the GUI. - -struct SignalsType { - std::atomic_bool stop, stopOnPonderhit; -}; - -extern SignalsType Signals; extern LimitsType Limits; void init();