mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Rename some UCI options
Thanks to Don, Miguel, Louis and the other people of talkchess forum for the suggestion: http://www.talkchess.com/forum/viewtopic.php?t=48612 Also sync polyglot.ini with current UCI options No functional change.
This commit is contained in:
@@ -215,7 +215,7 @@ void Search::think() {
|
||||
else
|
||||
DrawValue[WHITE] = DrawValue[BLACK] = VALUE_DRAW;
|
||||
|
||||
if (Options["Use Search Log"])
|
||||
if (Options["Write Search Log"])
|
||||
{
|
||||
Log log(Options["Search Log Filename"]);
|
||||
log << "\nSearching: " << RootPos.fen()
|
||||
@@ -231,7 +231,7 @@ void Search::think() {
|
||||
for (size_t i = 0; i < Threads.size(); i++)
|
||||
Threads[i]->maxPly = 0;
|
||||
|
||||
Threads.sleepWhileIdle = Options["Use Sleeping Threads"];
|
||||
Threads.sleepWhileIdle = Options["Idle Threads Sleep"];
|
||||
|
||||
// Set best timer interval to avoid lagging under time pressure. Timer is
|
||||
// used to check for remaining available thinking time.
|
||||
@@ -247,7 +247,7 @@ void Search::think() {
|
||||
Threads.timer->msec = 0; // Stop the timer
|
||||
Threads.sleepWhileIdle = true; // Send idle threads to sleep
|
||||
|
||||
if (Options["Use Search Log"])
|
||||
if (Options["Write Search Log"])
|
||||
{
|
||||
Time::point elapsed = Time::now() - SearchTime + 1;
|
||||
|
||||
@@ -402,7 +402,7 @@ namespace {
|
||||
if (skill.enabled() && skill.time_to_pick(depth))
|
||||
skill.pick_move();
|
||||
|
||||
if (Options["Use Search Log"])
|
||||
if (Options["Write Search Log"])
|
||||
{
|
||||
RootMove& rm = RootMoves[0];
|
||||
if (skill.best != MOVE_NONE)
|
||||
|
||||
Reference in New Issue
Block a user