X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=5ba95fe098a5fef94ae7b7418da376fd82d0f619;hp=5e17b82928b60435fba05cff072d59fac72dc639;hb=bf6bc1b37b8391dcd266f525344653f8c5dbcdd8;hpb=926f215061311392bc26c7bc4bde5b719dbab4e5 diff --git a/src/search.h b/src/search.h index 5e17b829..5ba95fe0 100644 --- a/src/search.h +++ b/src/search.h @@ -47,6 +47,7 @@ struct Stack { Depth reduction; Value staticEval; bool skipEarlyPruning; + int moveCount; }; /// RootMove struct is used for moves at the root of the tree. For each root move @@ -106,6 +107,7 @@ extern StateStackPtr SetupStates; void init(); void think(); +void reset(); template uint64_t perft(Position& pos, Depth depth); } // namespace Search