1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 16:23:09 +00:00

Restore development version

bench: 8596156
This commit is contained in:
Marco Costalba 2013-11-29 10:50:14 +01:00
parent c5bb9b9da9
commit 8f5deaea61
4 changed files with 5 additions and 4 deletions

View file

@ -32,7 +32,7 @@ Cowardice = 100
Min Split Depth = 0 Min Split Depth = 0
Max Threads per Split Point = 5 Max Threads per Split Point = 5
Threads = 1 Threads = 1
Idle Threads Sleep = false Idle Threads Sleep = true
Hash = 128 Hash = 128
Ponder = true Ponder = true
OwnBook = false OwnBook = false

View file

@ -28,7 +28,7 @@ using namespace std;
/// Version number. If Version is left empty, then compile date, in the /// Version number. If Version is left empty, then compile date, in the
/// format DD-MM-YY, is shown in engine_info. /// format DD-MM-YY, is shown in engine_info.
static const string Version = "DD"; 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

View file

@ -27,6 +27,7 @@
#include "position.h" #include "position.h"
#include "search.h" #include "search.h"
#include "thread.h" #include "thread.h"
#include "tt.h"
#include "ucioption.h" #include "ucioption.h"
using namespace std; using namespace std;
@ -107,7 +108,7 @@ void UCI::loop(const string& args) {
Search::RootColor = pos.side_to_move(); // Ensure it is set Search::RootColor = pos.side_to_move(); // Ensure it is set
sync_cout << Eval::trace(pos) << sync_endl; 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 == "go") go(pos, is);
else if (token == "position") position(pos, is); else if (token == "position") position(pos, is);
else if (token == "setoption") setoption(is); else if (token == "setoption") setoption(is);

View file

@ -72,7 +72,7 @@ void init(OptionsMap& o) {
o["Min Split Depth"] = Option(0, 0, 12, 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["Max Threads per Split Point"] = Option(5, 4, 8, on_threads);
o["Threads"] = Option(1, 1, MAX_THREADS, 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["Hash"] = Option(32, 1, 8192, on_hash_size);
o["Clear Hash"] = Option(on_clear_hash); o["Clear Hash"] = Option(on_clear_hash);
o["Ponder"] = Option(true); o["Ponder"] = Option(true);