find_source_square() will see if the resulting move is a self-checking
commit89299485d56a5707dfec17a52161059dc34db889
authorBen Kibbey <bjk@luxsci.net>
Sat, 15 Apr 2006 16:38:35 +0000 (15 12:38 -0400)
committerBen Kibbey <bjk@luxsci.net>
Sat, 15 Apr 2006 16:38:35 +0000 (15 12:38 -0400)
tree0454e585b88fa08dbf3aa85afa06b160fe065d6a
parent3c1e8acc00a867a0b86ad9a38ac5c0a5f82f5b2c
find_source_square() will see if the resulting move is a self-checking
move. It's slower but alot more accurate for pgn_find_valid_moves().
Now when cboard selects a piece, only valid squares the piece can
legally move to are highlighted.
KnownBugs
libchess/move.c
libchess/move.h