mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Introduce namespace UCI
Ater previous patch it comes naturally to take this extra step. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -28,14 +28,13 @@
|
||||
#include "tt.h"
|
||||
#include "ucioption.h"
|
||||
|
||||
void uci_loop(const std::string&);
|
||||
void kpk_bitbase_init();
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
||||
std::cout << engine_info() << std::endl;
|
||||
|
||||
UCIOptions::init(Options);
|
||||
UCI::init(Options);
|
||||
Bitboards::init();
|
||||
Position::init();
|
||||
kpk_bitbase_init();
|
||||
@@ -49,5 +48,5 @@ int main(int argc, char* argv[]) {
|
||||
for (int i = 1; i < argc; i++)
|
||||
args += std::string(argv[i]) + " ";
|
||||
|
||||
uci_loop(args);
|
||||
UCI::loop(args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user