]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Change the flow in wich moves are generated and picked
[stockfish] / src / movepick.h
index 46cf69ddce30ec4f51f51b83f92b04d740d0e4e5..c9c37f93c7a7f709cbd1e190234f04dfec52d3d9 100644 (file)
@@ -75,13 +75,13 @@ private:
   void score_captures();
   void score_noncaptures();
   void score_evasions();
-  Move pick_move_from_list();
+  void go_next_phase();
 
   const Position& pos;
   const History& H;
   Move ttMoves[2], killers[2];
   const MovegenPhaseT* phasePtr;
-  int movesPicked, numOfMoves, numOfBadCaptures;
+  int phase, movesPicked, numOfMoves, numOfBadCaptures;
   bool finished;
   Bitboard dc, pinned;
   MoveStack moves[256], badCaptures[64];