X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=03fa5c640373f73affd8a41818ade11606da5845;hp=63b9b3264a7fb1f138bbe7e6705e119602069251;hb=70b1b79264b2a160f72dd2aa92c2f80045e4cd83;hpb=3df2c01b5769c7ae996fb5b992c06e4a5428ad35 diff --git a/src/search.h b/src/search.h index 63b9b326..03fa5c64 100644 --- a/src/search.h +++ b/src/search.h @@ -44,7 +44,7 @@ struct Stack { Move excludedMove; Move killers[2]; Depth reduction; - Value eval; + Value staticEval; Value evalMargin; int skipNullMove; }; @@ -82,7 +82,7 @@ struct LimitsType { LimitsType() { memset(this, 0, sizeof(LimitsType)); } bool use_time_management() const { return !(movetime | depth | nodes | infinite); } - int time[2], inc[2], movestogo, depth, nodes, movetime, infinite, ponder; + int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, infinite, ponder; }; @@ -99,7 +99,8 @@ extern volatile SignalsType Signals; extern LimitsType Limits; extern std::vector RootMoves; extern Position RootPosition; -extern Time SearchTime; +extern Color RootColor; +extern Time::point SearchTime; extern StateStackPtr SetupStates; extern void init();