diff --git a/.vs/NapoleonPP/v15/Browse.VC.db b/.vs/NapoleonPP/v15/Browse.VC.db new file mode 100644 index 0000000..02cd3fa Binary files /dev/null and b/.vs/NapoleonPP/v15/Browse.VC.db differ diff --git a/NapoleonPP.old/.vs/NapoleonPP/v15/Browse.VC.db b/NapoleonPP.old/.vs/NapoleonPP/v15/Browse.VC.db new file mode 100644 index 0000000..a2020eb Binary files /dev/null and b/NapoleonPP.old/.vs/NapoleonPP/v15/Browse.VC.db differ diff --git a/NapoleonPP.old/NapoleonPP.vcxproj b/NapoleonPP.old/NapoleonPP.vcxproj index 15ae1a0..d82e724 100755 --- a/NapoleonPP.old/NapoleonPP.vcxproj +++ b/NapoleonPP.old/NapoleonPP.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -26,21 +26,21 @@ Application true - v120 + v141 MultiByte Application false - v120_xp + v141_xp true MultiByte - v120 + v141 - v120_xp + v141_xp true @@ -57,11 +57,15 @@ Level3 - Disabled + MaxSpeed C:\Program Files\boost\boost_1_53_0;%(AdditionalIncludeDirectories) - false - Neither + true + Speed false + AnySuitable + stdcpp14 + Default + MultiThreadedDLL true diff --git a/movedatabase.h b/movedatabase.h index f2d1d34..797cca3 100755 --- a/movedatabase.h +++ b/movedatabase.h @@ -1,6 +1,6 @@ #ifndef MOVEDATABASE_H #define MOVEDATABASE_H -#include +#include "immintrin.h" #include "defines.h" #include "utils.h" #include "constants.h" diff --git a/search.cpp b/search.cpp index 4f9c302..a9f69b7 100755 --- a/search.cpp +++ b/search.cpp @@ -53,6 +53,7 @@ namespace Napoleon sendOutput = verbose; StopSignal = false; pondering = false; + PonderHit = false; searchInfo.SetDepthLimit(depth_limit); if (type == SearchType::Infinite || type == SearchType::Ponder) diff --git a/uci.cpp b/uci.cpp index da67ba3..63f8b23 100755 --- a/uci.cpp +++ b/uci.cpp @@ -140,7 +140,6 @@ namespace Napoleon } else if (cmd == "ponderhit") { - assert(false); Search::PonderHit = true; } } @@ -149,7 +148,7 @@ namespace Napoleon void Uci::go(istringstream& stream) { string token; - SearchType type; + SearchType type = SearchType::TimePerGame; bool san = false; while(stream >> token) @@ -168,12 +167,12 @@ namespace Napoleon else if (token == "wtime") { stream >> Search::GameTime[PieceColor::White]; - type = SearchType::TimePerGame; + //type = SearchType::TimePerGame; } else if (token == "btime") { stream >> Search::GameTime[PieceColor::Black]; - type = SearchType::TimePerGame; + //type = SearchType::TimePerGame; } else if (token == "infinite") {