X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmovepick.h;h=5455a3df6a6db3e2f3372a4301e54e5452951a95;hb=4b232f5ddc7d8a05b7e6e3267bcb7a4119ffdc25;hp=adae851dc87d7387f336eb8eeb82d04f48b30f28;hpb=5ba85ef441fb12738732824092f74aa49149fcf9;p=stockfish diff --git a/src/movepick.h b/src/movepick.h index adae851d..5455a3df 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -43,6 +43,7 @@ public: MovePicker(const Position&, Move, Depth, const History&, SearchStack*, Value); MovePicker(const Position&, Move, Depth, const History&); Move get_next_move(); + bool isBadCapture() const; private: void score_captures(); @@ -52,12 +53,11 @@ private: 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]; + MoveStack moves[MAX_MOVES]; }; #endif // !defined(MOVEPICK_H_INCLUDED)