X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=4c609352358cbbf797aa8b0805dbc1e98e7b7e56;hp=2f7c55c8640bda0f93923c5b480241ac84471386;hb=2bceba7f5162198834ca9f3dca0258e7eac1f797;hpb=c2fb0ff7204ab217a053175c41d24afb9e689a75 diff --git a/src/movegen.cpp b/src/movegen.cpp index 2f7c55c8..4c609352 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -252,14 +252,11 @@ namespace { } // namespace -/// generate generates all pseudo-legal captures and queen -/// promotions. Returns a pointer to the end of the move list. +/// Generates all pseudo-legal captures and queen promotions +/// Generates all pseudo-legal non-captures and underpromotions +/// Generates all pseudo-legal captures and non-captures /// -/// generate generates all pseudo-legal non-captures and -/// underpromotions. Returns a pointer to the end of the move list. -/// -/// generate generates all pseudo-legal captures and -/// non-captures. Returns a pointer to the end of the move list. +/// Returns a pointer to the end of the move list. template ExtMove* generate(const Position& pos, ExtMove* moveList) {