Retire RootMoveList

Diretcly use the underlying std::vector<Move> and the
STL algorithms. Also a bit of cleanup while there.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-12-12 17:55:20 +01:00
parent 7d97ebfe7f
commit 4e59c5c274
5 changed files with 104 additions and 139 deletions

View File

@@ -70,7 +70,7 @@ struct SignalsType {
extern volatile SignalsType Signals;
extern LimitsType Limits;
extern std::vector<Move> RootMoves;
extern std::vector<Move> SearchMoves;
extern Position RootPosition;
extern void init();