mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Final UCI helpers renaming
To reflect new changes, specifically that now are all under UCI namespace. No functional change.
This commit is contained in:
committed by
Joona Kiiski
parent
aa60c80ade
commit
2469daebb1
@@ -423,7 +423,7 @@ const string Position::fen() const {
|
||||
if (!can_castle(WHITE) && !can_castle(BLACK))
|
||||
ss << '-';
|
||||
|
||||
ss << (ep_square() == SQ_NONE ? " - " : " " + UCI::to_string(ep_square()) + " ")
|
||||
ss << (ep_square() == SQ_NONE ? " - " : " " + UCI::format_square(ep_square()) + " ")
|
||||
<< st->rule50 << " " << 1 + (gamePly - (sideToMove == BLACK)) / 2;
|
||||
|
||||
return ss.str();
|
||||
@@ -450,7 +450,7 @@ const string Position::pretty() const {
|
||||
<< std::setfill('0') << std::setw(16) << st->key << "\nCheckers: ";
|
||||
|
||||
for (Bitboard b = checkers(); b; )
|
||||
ss << UCI::to_string(pop_lsb(&b)) << " ";
|
||||
ss << UCI::format_square(pop_lsb(&b)) << " ";
|
||||
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user