X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=4c609352358cbbf797aa8b0805dbc1e98e7b7e56;hp=2f7c55c8640bda0f93923c5b480241ac84471386;hb=a016626825972d546d2e4ef6abd2e55f7bf2f3dc;hpb=3732c55c18fd74981370dc55b7b46ec8a05ad5bf 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) {