mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Pass also opponent time to think()
This patch modifies think() signature to accept also opponent time. This is needed for future changes to time managment. Still no functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -81,9 +81,9 @@ extern History H;
|
||||
|
||||
extern void init_threads();
|
||||
extern void stop_threads();
|
||||
extern void think(const Position &pos, bool infinite, bool ponder, int time,
|
||||
int increment, int movesToGo, int maxDepth, int maxNodes,
|
||||
int maxTime, Move searchMoves[]);
|
||||
extern void think(const Position &pos, bool infinite, bool ponder, int side_to_move,
|
||||
int time[], int increment[], int movesToGo, int maxDepth,
|
||||
int maxNodes, int maxTime, Move searchMoves[]);
|
||||
extern int64_t nodes_searched();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user