]> git.sesse.net Git - stockfish/commitdiff
Another attempt at fixing Chess960
authorMarco Costalba <mcostalba@gmail.com>
Mon, 3 Jan 2011 11:50:49 +0000 (12:50 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 3 Jan 2011 21:50:38 +0000 (22:50 +0100)
Keep the isChess960 flag inside Position so that is
copied with the Position, but esplicitly highlight the
fact that a FEN string has not enough information to detect
Chess960 in general case. To do this add a boolean argument
isChess960 to from_fen() function so to self document this
shortcoming of FEN notation.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found