mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-23 02:27:00 +08:00
Store moves sent with "position" UCI command
Store all the game moves until current position. This will be used by next patch. No functional change.
This commit is contained in:
@@ -93,6 +93,7 @@ struct SignalsType {
|
||||
};
|
||||
|
||||
typedef std::auto_ptr<std::stack<StateInfo> > StateStackPtr;
|
||||
typedef std::auto_ptr<std::vector<Move> > MovesVectPtr;
|
||||
|
||||
extern volatile SignalsType Signals;
|
||||
extern LimitsType Limits;
|
||||
@@ -101,6 +102,7 @@ extern Position RootPos;
|
||||
extern Color RootColor;
|
||||
extern Time::point SearchTime;
|
||||
extern StateStackPtr SetupStates;
|
||||
extern MovesVectPtr SetupMoves;
|
||||
|
||||
extern void init();
|
||||
extern size_t perft(Position& pos, Depth depth);
|
||||
|
||||
Reference in New Issue
Block a user