mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Restore development version
No functional change.
This commit is contained in:
@@ -29,7 +29,7 @@ Cowardice = 100
|
|||||||
Min Split Depth = 4
|
Min Split Depth = 4
|
||||||
Max Threads per Split Point = 5
|
Max Threads per Split Point = 5
|
||||||
Threads = 1
|
Threads = 1
|
||||||
Use Sleeping Threads = false
|
Use Sleeping Threads = true
|
||||||
Hash = 128
|
Hash = 128
|
||||||
Ponder = true
|
Ponder = true
|
||||||
OwnBook = false
|
OwnBook = false
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ using namespace std;
|
|||||||
/// Version number. If Version is left empty, then Tag plus current
|
/// Version number. If Version is left empty, then Tag plus current
|
||||||
/// date, in the format DD-MM-YY, are used as a version number.
|
/// date, in the format DD-MM-YY, are used as a version number.
|
||||||
|
|
||||||
static const string Version = "3";
|
static const string Version = "";
|
||||||
static const string Tag = "";
|
static const string Tag = "";
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -102,7 +103,7 @@ void UCI::loop(const string& args) {
|
|||||||
<< "\n" << Options
|
<< "\n" << Options
|
||||||
<< "\nuciok" << sync_endl;
|
<< "\nuciok" << 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") set_position(pos, is);
|
else if (token == "position") set_position(pos, is);
|
||||||
else if (token == "setoption") set_option(is);
|
else if (token == "setoption") set_option(is);
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ void init(OptionsMap& o) {
|
|||||||
o["Min Split Depth"] = Option(msd, 4, 12, on_threads);
|
o["Min Split Depth"] = Option(msd, 4, 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(cpus, 1, MAX_THREADS, on_threads);
|
o["Threads"] = Option(cpus, 1, MAX_THREADS, on_threads);
|
||||||
o["Use Sleeping Threads"] = Option(false);
|
o["Use Sleeping Threads"] = 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);
|
||||||
|
|||||||
Reference in New Issue
Block a user