- Move searchMoves[MOVES_MAX];
- int movesToGo, depth, nodes, moveTime, numOfMoves;
- bool infinite, ponder;
- int time[2] = {0, 0}, inc[2] = {0, 0};
-
- searchMoves[0] = MOVE_NONE;
- infinite = ponder = false;
- movesToGo = depth = nodes = moveTime = numOfMoves = 0;
+ SearchLimits limits;
+ Move searchMoves[MAX_MOVES] = { MOVE_NONE };
+ Move* cur = searchMoves;
+ int time[] = { 0, 0 }, inc[] = { 0, 0 };