- void score_qcaptures();
- Move pick_move_from_list();
-
- Position *pos;
- Move ttMove, mateKiller, killer1, killer2;
- Bitboard pinned, dc;
- MoveStack moves[256], badCaptures[64];
- bool pvNode;
- Depth depth;
- int phaseIndex;
- int numOfMoves, numOfBadCaptures;
- int movesPicked, badCapturesPicked;
- bool finished;
+ void go_next_phase();
+
+ const Position& pos;
+ const History& H;
+ Bitboard pinned;
+ MoveStack ttMoves[2], killers[2];
+ int badCaptureThreshold, phase;
+ const uint8_t* phasePtr;
+ MoveStack *curMove, *lastMove, *lastGoodNonCapture, *badCaptures;
+ MoveStack moves[MOVES_MAX];