X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.h;h=600d7a75198500dfd4582f48e76c239ebb5b2a50;hb=5f58db8c9971d8709093ca3c97cecdc99c61303e;hp=e4592e27cca2197512b60af3a11d10c3f4da894e;hpb=6b909b2343190f2989d21c8f69f40e9f09c530c0;p=stockfish diff --git a/src/search.h b/src/search.h index e4592e27..600d7a75 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; }; @@ -80,9 +80,9 @@ struct RootMove { struct LimitsType { LimitsType() { memset(this, 0, sizeof(LimitsType)); } - bool use_time_management() const { return !(movetime | depth | nodes | infinite); } + bool use_time_management() const { return !(mate | 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, mate, infinite, ponder; }; @@ -98,7 +98,7 @@ typedef std::auto_ptr > StateStackPtr; extern volatile SignalsType Signals; extern LimitsType Limits; extern std::vector RootMoves; -extern Position RootPosition; +extern Position RootPos; extern Color RootColor; extern Time::point SearchTime; extern StateStackPtr SetupStates;