]> git.sesse.net Git - stockfish/blobdiff - src/movepick.h
Renaming in MovePicker
[stockfish] / src / movepick.h
index 8028d487f3f5803418f22f12b4b5dbf116cc947f..36bf58f63ac329821156ea8539a7df20488e63af 100644 (file)
@@ -107,8 +107,7 @@ public:
 
 private:
   template<GenType> void score();
 
 private:
   template<GenType> void score();
-  void generate_next_stage();
-  ExtMove* begin() { return moves; }
+  ExtMove* begin() { return cur; }
   ExtMove* end() { return endMoves; }
 
   const Position& pos;
   ExtMove* end() { return endMoves; }
 
   const Position& pos;
@@ -116,12 +115,11 @@ private:
   Move countermove;
   Depth depth;
   Move ttMove;
   Move countermove;
   Depth depth;
   Move ttMove;
-  ExtMove killers[3];
   Square recaptureSquare;
   Value threshold;
   int stage;
   Square recaptureSquare;
   Value threshold;
   int stage;
-  ExtMove* endBadCaptures = moves + MAX_MOVES - 1;
-  ExtMove moves[MAX_MOVES], *cur = moves, *endMoves = moves;
+  ExtMove* cur, *endMoves, *endBadCaptures;
+  ExtMove moves[MAX_MOVES];
 };
 
 #endif // #ifndef MOVEPICK_H_INCLUDED
 };
 
 #endif // #ifndef MOVEPICK_H_INCLUDED