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;
};
typedef std::auto_ptr<std::stack<StateInfo> > StateStackPtr;
-typedef std::auto_ptr<std::vector<Move> > MovesVectPtr;
extern volatile SignalsType Signals;
extern LimitsType Limits;
extern Color RootColor;
extern Time::point SearchTime;
extern StateStackPtr SetupStates;
-extern MovesVectPtr SetupMoves;
extern void init();
extern size_t perft(Position& pos, Depth depth);