]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Refactor pawns shelter and storm
[stockfish] / src / search.h
index a4cba6bf700ed7e716b8a8aaf2fdd1c723290b42..c957c34bf6259b1107ddd860209454ffffed9351 100644 (file)
@@ -39,7 +39,6 @@ struct Stack {
   int ply;
   Move currentMove;
   Move excludedMove;
-  Move bestMove;
   Move killers[2];
   Depth reduction;
   Value eval;
@@ -78,9 +77,9 @@ struct RootMove {
 struct LimitsType {
 
   LimitsType() { memset(this, 0, sizeof(LimitsType)); }
-  bool use_time_management() const { return !(maxTime | maxDepth | maxNodes | infinite); }
+  bool use_time_management() const { return !(movetime | depth | nodes | infinite); }
 
-  int time, increment, movesToGo, maxTime, maxDepth, maxNodes, infinite, ponder;
+  int times[2], incs[2], movestogo, depth, nodes, movetime, infinite, ponder;
 };