X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=36bf58f63ac329821156ea8539a7df20488e63af;hp=8028d487f3f5803418f22f12b4b5dbf116cc947f;hb=b96dd754ede60b8463606cf38eac3eab400a123d;hpb=b3525fa9ea88e230a38d72351826cbc16c282938 diff --git a/src/movepick.h b/src/movepick.h index 8028d487..36bf58f6 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -107,8 +107,7 @@ public: private: template void score(); - void generate_next_stage(); - ExtMove* begin() { return moves; } + ExtMove* begin() { return cur; } ExtMove* end() { return endMoves; } const Position& pos; @@ -116,12 +115,11 @@ private: Move countermove; Depth depth; Move ttMove; - ExtMove killers[3]; 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