]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Use UCI names in Search::LimitsType
[stockfish] / src / search.h
index bd371a4aac1b705fb3b6a8eb1a1df9c7799bf09a..c957c34bf6259b1107ddd860209454ffffed9351 100644 (file)
@@ -77,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;
 };