]> git.sesse.net Git - stockfish/commitdiff
Reformat promotion generation
authorMarco Costalba <mcostalba@gmail.com>
Wed, 24 Dec 2014 10:36:04 +0000 (11:36 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 25 Dec 2014 10:09:07 +0000 (11:09 +0100)
Use the same template of other pawns moves generation,
make the code more uniform, simplify generate_promotions
that has now been renamed.

No functional change (verified also with perft).


No differences found