mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Use UCI names in Search::LimitsType
There is no need to "invent" different names from the original UCI parameters. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user