Rev 96 | Rev 169 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 96 | Rev 154 | ||
|---|---|---|---|
| Line 19... | Line 19... | ||
| 19 | */ | 19 | */ | 
| 20 | 20 | ||
| 21 | #include <iostream> | 21 | #include <iostream> | 
| 22 | 22 | ||
| 23 | #include "bitboard.h" | 23 | #include "bitboard.h" | 
| 24 | #include "evaluate.h" | - | |
| 25 | #include "position.h" | 24 | #include "position.h" | 
| 26 | #include "search.h" | 25 | #include "search.h" | 
| 27 | #include "thread.h" | 26 | #include "thread.h" | 
| 28 | #include "tt.h" | 27 | #include "tt.h" | 
| 29 | #include "uci.h" | 28 | #include "uci.h" | 
| 30 | #include "syzygy/tbprobe.h" | 29 | #include "syzygy/tbprobe.h" | 
| - | 30 | ||
| - | 31 | namespace PSQT { | |
| - | 32 | void init(); | |
| - | 33 | } | |
| 31 | 34 | ||
| 32 | int main(int argc, char* argv[]) { | 35 | int main(int argc, char* argv[]) { | 
| 33 | 36 | ||
| 34 | std::cout << engine_info() << std::endl; | 37 | std::cout << engine_info() << std::endl; | 
| 35 | 38 | ||
| Line 37... | Line 40... | ||
| 37 | PSQT::init(); | 40 | PSQT::init(); | 
| 38 | Bitboards::init(); | 41 | Bitboards::init(); | 
| 39 | Position::init(); | 42 | Position::init(); | 
| 40 | Bitbases::init(); | 43 | Bitbases::init(); | 
| 41 | Search::init(); | 44 | Search::init(); | 
| 42 | Eval::init(); | - | |
| 43 | Pawns::init(); | 45 | Pawns::init(); | 
| 44 | Threads.init(); | 46 | Threads.init(); | 
| 45 | Tablebases::init(Options["SyzygyPath"]); | 47 | Tablebases::init(Options["SyzygyPath"]); | 
| 46 | TT.resize(Options["Hash"]); | 48 | TT.resize(Options["Hash"]); | 
| 47 | 49 | ||