X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=9459b8c2a389e9e2aec27e830ba078931b845df7;hp=03305ebdd8eab7cf02ce27fbdb56af2c22ada3e2;hb=55bd27b8f08a151128d7065fa2819aa3e9605299;hpb=24b25b4827df4b3629d46ef019f4fea645d6dc91 diff --git a/src/movepick.h b/src/movepick.h index 03305ebd..9459b8c2 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -41,7 +41,7 @@ public: MovePicker(const Position&, Move, Depth, const History&, Search::Stack*, Value); MovePicker(const Position&, Move, Depth, const History&, Square); MovePicker(const Position&, Move, const History&, PieceType); - Move next_move(); + template Move next_move(); private: void score_captures(); @@ -51,12 +51,13 @@ private: const Position& pos; const History& H; + Search::Stack* ss; Depth depth; Move ttMove; MoveStack killers[2]; Square recaptureSquare; int captureThreshold, phase; - MoveStack *curMove, *lastMove, *lastQuiet, *lastBadCapture; + MoveStack *cur, *end, *endQuiets, *endBadCaptures; MoveStack moves[MAX_MOVES]; };