private:
template<GenType> void score();
- void generate_next();
+ void generate_next_stage();
const Position& pos;
const HistoryStats& history;
Move ttMove;
ExtMove killers[6];
Square recaptureSquare;
- int captureThreshold, stage;
+ Value captureThreshold;
+ int stage;
ExtMove *cur, *end, *endQuiets, *endBadCaptures;
ExtMove moves[MAX_MOVES];
};