#include <cstring>
#include <vector>
+#include "misc.h"
#include "types.h"
class Position;
LimitsType() { memset(this, 0, sizeof(LimitsType)); }
bool use_time_management() const { return !(movetime | depth | nodes | infinite); }
- int times[2], incs[2], movestogo, depth, nodes, movetime, infinite, ponder;
+ int time[2], inc[2], movestogo, depth, nodes, movetime, infinite, ponder;
};
extern LimitsType Limits;
extern std::vector<RootMove> RootMoves;
extern Position RootPosition;
+extern Time SearchTime;
extern void init();
extern int64_t perft(Position& pos, Depth depth);