mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 10:57:43 +00:00
Use pointer-to-members to remove a bunch of duplicated code
Remove all generate_XXX_moves() functions, use an array of pointer to members instead. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -52,6 +52,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
// Initialization
|
||||
|
||||
init_piece_attacks_fn();
|
||||
init_mersenne();
|
||||
init_direction_table();
|
||||
init_bitboards();
|
||||
|
||||
Reference in New Issue
Block a user