mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08: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