bot: implemented asynchronous pathfinding

nav: floyd-warshall matrices and practice updates are done asynchronously by now
add: yb_threadpool_workers cvar, that controls number of worker threads bot will use
add: cv_autovacate_keep_slots, the amount of slots to keep by auto vacate
aim: enemy prediction is now done asynchronously by now
bot: minor fixes and refactoring, including analyze suspend mistake (ref #441)

note: the master builds are now NOT production ready, please test before installing on real servers!
This commit is contained in:
jeefo 2023-05-06 20:14:03 +03:00
commit a616f25b1a
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED
30 changed files with 743 additions and 421 deletions

View file

@ -32,6 +32,7 @@
<ClInclude Include="..\ext\crlib\crlib\random.h" />
<ClInclude Include="..\ext\crlib\crlib\simd.h" />
<ClInclude Include="..\ext\crlib\crlib\string.h" />
<ClInclude Include="..\ext\crlib\crlib\thread.h" />
<ClInclude Include="..\ext\crlib\crlib\twin.h" />
<ClInclude Include="..\ext\crlib\crlib\ulz.h" />
<ClInclude Include="..\ext\crlib\crlib\uniqueptr.h" />
@ -42,6 +43,7 @@
<ClInclude Include="..\ext\hlsdk\metamod.h" />
<ClInclude Include="..\ext\hlsdk\meta_api.h" />
<ClInclude Include="..\ext\hlsdk\model.h" />
<ClInclude Include="..\ext\hlsdk\physint.h" />
<ClInclude Include="..\ext\hlsdk\progdefs.h" />
<ClInclude Include="..\ext\hlsdk\util.h" />
<ClInclude Include="..\inc\analyze.h" />

View file

@ -171,6 +171,12 @@
<ClInclude Include="..\inc\vistable.h">
<Filter>inc</Filter>
</ClInclude>
<ClInclude Include="..\ext\crlib\crlib\thread.h">
<Filter>inc\ext\crlib</Filter>
</ClInclude>
<ClInclude Include="..\ext\hlsdk\physint.h">
<Filter>inc\ext\hlsdk</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\botlib.cpp">
@ -221,15 +227,15 @@
<ClCompile Include="..\src\analyze.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\planner.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\practice.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\storage.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\planner.cpp">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\src\vistable.cpp">
<Filter>src</Filter>
</ClCompile>