Change piece_attacks_square() API
authorMarco Costalba <mcostalba@gmail.com>
Tue, 17 Feb 2009 11:00:05 +0000 (12:00 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 17 Feb 2009 11:00:05 +0000 (12:00 +0100)
commit7013efce4e2d5e0b4834f4fccec98b03b972d629
tree3b2d534a749fbca0f8732ef76351a4041269fd37
parent9f5b709db7de800a931d3e4d78ada5f51001eeac
Change piece_attacks_square() API

An extra argument let us simplify some code.

No functional change.

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