X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.h;h=7a5d5bdf47844de595fbdc1bf38def8bacfead8d;hb=b82d93ece484f833c994b40d9eddd959ba20ef92;hp=5e51c18e043398fe44e5cee7e3125a39114e1b9d;hpb=0f3f5d85fb5c9f75199f27fbf7a725ff3e8bb4dc;p=stockfish diff --git a/src/search.h b/src/search.h index 5e51c18e..7a5d5bdf 100644 --- a/src/search.h +++ b/src/search.h @@ -25,6 +25,8 @@ #include "movepick.h" #include "types.h" +namespace Stockfish { + class Position; namespace Search { @@ -45,12 +47,13 @@ struct Stack { Move excludedMove; Move killers[2]; Value staticEval; + Depth depth; int statScore; int moveCount; - int distanceFromPv; bool inCheck; bool ttPv; bool ttHit; + int doubleExtensions; }; @@ -70,6 +73,7 @@ struct RootMove { Value score = -VALUE_INFINITE; Value previousScore = -VALUE_INFINITE; + Value averageScore = -VALUE_INFINITE; int selDepth = 0; int tbRank = 0; Value tbScore; @@ -107,4 +111,6 @@ void clear(); } // namespace Search +} // namespace Stockfish + #endif // #ifndef SEARCH_H_INCLUDED