/// has its own array of Stack objects, indexed by the current ply.
struct Stack {
- SplitPoint* sp;
+ SplitPoint* splitPoint;
int ply;
Move currentMove;
Move excludedMove;
Value staticEval;
Value evalMargin;
int skipNullMove;
+ int futilityMoveCount;
};
struct LimitsType {
- LimitsType() { memset(this, 0, sizeof(LimitsType)); }
+ LimitsType() { std::memset(this, 0, sizeof(LimitsType)); }
bool use_time_management() const { return !(mate | movetime | depth | nodes | infinite); }
int time[COLOR_NB], inc[COLOR_NB], movestogo, depth, nodes, movetime, mate, infinite, ponder;