X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=fb3d4a62da030af55793b464da69c66c43dcf652;hp=adae851dc87d7387f336eb8eeb82d04f48b30f28;hb=3ef4fdeaa01f4d41fc723d54c0a17cea712cf035;hpb=5ba85ef441fb12738732824092f74aa49149fcf9 diff --git a/src/movepick.h b/src/movepick.h index adae851d..fb3d4a62 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(); @@ -57,7 +58,7 @@ private: 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)