From: Marco Costalba Date: Sun, 20 Sep 2009 09:26:54 +0000 (+0100) Subject: Rename piece_attacks() in piece_attacks_from() X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=6845397c5cbec26f3a0442091e6a48d356719c3c;hp=6845397c5cbec26f3a0442091e6a48d356719c3c Rename piece_attacks() in piece_attacks_from() It is a bit longer but much easier to understand especially for people new to the sources. I remember it was not trivial for me to understand the returned attack bitboard refers to attacks launched from the given square and not attacking the given square. No functional change. Signed-off-by: Marco Costalba ---