mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00: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
+2
-2
@@ -71,7 +71,7 @@ namespace {
|
||||
SetupStates = Search::StateStackPtr(new std::stack<StateInfo>());
|
||||
|
||||
// Parse move list (if any)
|
||||
while (is >> token && (m = UCI::move_from_uci(pos, token)) != MOVE_NONE)
|
||||
while (is >> token && (m = UCI::to_move(pos, token)) != MOVE_NONE)
|
||||
{
|
||||
SetupStates->push(StateInfo());
|
||||
pos.do_move(m, SetupStates->top());
|
||||
@@ -116,7 +116,7 @@ namespace {
|
||||
{
|
||||
if (token == "searchmoves")
|
||||
while (is >> token)
|
||||
limits.searchmoves.push_back(UCI::move_from_uci(pos, token));
|
||||
limits.searchmoves.push_back(UCI::to_move(pos, token));
|
||||
|
||||
else if (token == "wtime") is >> limits.time[WHITE];
|
||||
else if (token == "btime") is >> limits.time[BLACK];
|
||||
|
||||
Reference in New Issue
Block a user