mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Unify sp_search() and search() step 1
Rewrite sp_search() to have same signature of search() This is the first prerequistite step toward unification. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -47,6 +47,7 @@ const int PLY_MAX_PLUS_2 = 102;
|
||||
/// search thread has its own array of SearchStack objects, indexed by the
|
||||
/// current ply.
|
||||
struct EvalInfo;
|
||||
struct SplitPoint;
|
||||
|
||||
struct SearchStack {
|
||||
Move currentMove;
|
||||
@@ -57,6 +58,7 @@ struct SearchStack {
|
||||
Depth reduction;
|
||||
Value eval;
|
||||
bool skipNullMove;
|
||||
SplitPoint* sp;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user