]> git.sesse.net Git - stockfish/commit - src/main.cpp
Use pointer-to-members to remove a bunch of duplicated code
authorMarco Costalba <mcostalba@gmail.com>
Fri, 17 Oct 2008 21:30:34 +0000 (23:30 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:34 +0000 (21:35 +0200)
commitaa7121297de97ee0f449d7a265d91796ac3d8843
tree264b0be8ca37866ff718eb7ac6daa572698c41fd
parent94f1b31484c2415b19a43f385e92cd1cb4bd7ecc
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>
src/main.cpp
src/movegen.cpp
src/position.cpp
src/position.h