#include "depth.h"
#include "history.h"
-#include "lock.h"
#include "position.h"
public:
MovePicker(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss = NULL);
Move get_next_move();
- Move get_next_move(Lock& lock);
int number_of_evasions() const;
private:
MoveStack ttMoves[2], killers[2];
int phase;
const uint8_t* phasePtr;
- MoveStack *curMove, *lastMove, *lastBadCapture;
+ MoveStack *curMove, *lastMove, *lastGoodNonCapture, *lastBadCapture;
Bitboard pinned;
MoveStack moves[256], badCaptures[64];
};