Rename Pieces

Align with PieceType naming convention and
make them more readable.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-12-27 19:26:27 +01:00
parent 750ac9ac50
commit a695ed65a8
6 changed files with 36 additions and 35 deletions

View File

@@ -278,7 +278,7 @@ inline Piece Position::piece_on(Square s) const {
}
inline bool Position::square_is_empty(Square s) const {
return board[s] == PIECE_NONE;
return board[s] == NO_PIECE;
}
inline Color Position::side_to_move() const {