X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmovepick.h;h=46cf69ddce30ec4f51f51b83f92b04d740d0e4e5;hb=f6d245291664e1a521b3810051365c48c82bac78;hp=a5ecb0662015edf7cb01d98dd506327e2031405b;hpb=595a90dfd0cd393a8805f4f51cf5c5d8b264c121;p=stockfish diff --git a/src/movepick.h b/src/movepick.h index a5ecb066..46cf69dd 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -38,6 +38,7 @@ struct SearchStack; enum MovegenPhase { + PH_NULL_MOVE, // Null move PH_TT_MOVES, // Transposition table move and mate killer PH_GOOD_CAPTURES, // Queen promotions and captures with SEE values >= 0 PH_KILLERS, // Killer moves from the current ply @@ -64,7 +65,7 @@ class MovePicker { MovePicker& operator=(const MovePicker&); // silence a warning under MSVC public: - MovePicker(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss = NULL); + MovePicker(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss = NULL, bool useNullMove = false); Move get_next_move(); Move get_next_move(Lock& lock); int number_of_moves() const;