]> git.sesse.net Git - stockfish/commitdiff
Restore development version
authorMarco Costalba <mcostalba@gmail.com>
Wed, 21 Aug 2013 06:40:49 +0000 (08:40 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 21 Aug 2013 06:41:47 +0000 (08:41 +0200)
No functional change.

polyglot.ini
src/misc.cpp
src/uci.cpp
src/ucioption.cpp

index 26320f4d9ea5cabecb15156e64120c73f8fc8a70..739ed8765d4df2ddf00f0a559fd86218254f3e58 100644 (file)
@@ -32,7 +32,7 @@ Cowardice = 100
 Min Split Depth = 0
 Max Threads per Split Point = 5
 Threads = 1
 Min Split Depth = 0
 Max Threads per Split Point = 5
 Threads = 1
-Idle Threads Sleep = false
+Idle Threads Sleep = true
 Hash = 128
 Ponder = true
 OwnBook = false
 Hash = 128
 Ponder = true
 OwnBook = false
index 495ad4a8cee778a2c75a4f8620ca3af63222f46a..5bf7bae8ede51276ac6f5263ac70781cc3f96972 100644 (file)
@@ -28,7 +28,7 @@ using namespace std;
 
 /// Version number. If Version is left empty, then compile date, in the
 /// format DD-MM-YY, is shown in engine_info.
 
 /// Version number. If Version is left empty, then compile date, in the
 /// format DD-MM-YY, is shown in engine_info.
-static const string Version = "4";
+static const string Version = "";
 
 
 /// engine_info() returns the full name of the current Stockfish version. This
 
 
 /// engine_info() returns the full name of the current Stockfish version. This
index caf1b5c2fed08d67084b09c584ba1c7f4c7716c1..395b78a813bf4e9342a14ba44f7ef78e3ba9f6aa 100644 (file)
@@ -27,6 +27,7 @@
 #include "position.h"
 #include "search.h"
 #include "thread.h"
 #include "position.h"
 #include "search.h"
 #include "thread.h"
+#include "tt.h"
 #include "ucioption.h"
 
 using namespace std;
 #include "ucioption.h"
 
 using namespace std;
@@ -107,7 +108,7 @@ void UCI::loop(const string& args) {
           Search::RootColor = pos.side_to_move(); // Ensure it is set
           sync_cout << Eval::trace(pos) << sync_endl;
       }
           Search::RootColor = pos.side_to_move(); // Ensure it is set
           sync_cout << Eval::trace(pos) << sync_endl;
       }
-      else if (token == "ucinewgame") { /* Avoid returning "Unknown command" */ }
+      else if (token == "ucinewgame") TT.clear();
       else if (token == "go")         go(pos, is);
       else if (token == "position")   position(pos, is);
       else if (token == "setoption")  setoption(is);
       else if (token == "go")         go(pos, is);
       else if (token == "position")   position(pos, is);
       else if (token == "setoption")  setoption(is);
index b18f09924a9085d2b36e00682f21450fe2fb2964..384d9317b98f3325055b7c649512c7fbdb1f9481 100644 (file)
@@ -72,7 +72,7 @@ void init(OptionsMap& o) {
   o["Min Split Depth"]             = Option(0, 0, 12, on_threads);
   o["Max Threads per Split Point"] = Option(5, 4,  8, on_threads);
   o["Threads"]                     = Option(1, 1, MAX_THREADS, on_threads);
   o["Min Split Depth"]             = Option(0, 0, 12, on_threads);
   o["Max Threads per Split Point"] = Option(5, 4,  8, on_threads);
   o["Threads"]                     = Option(1, 1, MAX_THREADS, on_threads);
-  o["Idle Threads Sleep"]          = Option(false);
+  o["Idle Threads Sleep"]          = Option(true);
   o["Hash"]                        = Option(32, 1, 8192, on_hash_size);
   o["Clear Hash"]                  = Option(on_clear_hash);
   o["Ponder"]                      = Option(true);
   o["Hash"]                        = Option(32, 1, 8192, on_hash_size);
   o["Clear Hash"]                  = Option(on_clear_hash);
   o["Ponder"]                      = Option(true);