X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovepick.h;h=5b40ded8e0b5911636e9651f0b81d380e186d198;hp=3be429ed1be2a0193a5d32afe95121c102fae3a9;hb=08d615cc9500713d89bd20dd0963258932abf627;hpb=1c4e6d7ea2d7fb6892ae56889109b32cc98fd79a;ds=sidebyside diff --git a/src/movepick.h b/src/movepick.h index 3be429ed..5b40ded8 100644 --- a/src/movepick.h +++ b/src/movepick.h @@ -23,6 +23,7 @@ #include // For std::max #include // For memset +#include "movegen.h" #include "position.h" #include "search.h" #include "types.h" @@ -79,9 +80,7 @@ public: template Move next_move(); private: - void score_captures(); - void score_noncaptures(); - void score_evasions(); + template void score(); void generate_next(); const Position& pos;