movegen: Introduce generate_pawn_checks()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 13:36:58 +0000 (15:36 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Oct 2008 19:35:35 +0000 (21:35 +0200)
commit34a515f20b0d8fa467af776c78b572cdafe819b1
treee10d5995edaa34048b34fe953441790daf3967b1
parent5abe8a0816ee924952a44c738d747eb86c805ced
movegen: Introduce generate_pawn_checks()

This greatly simplify redundant code.

Perhaps slihtly slower. Test needed.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/movegen.cpp