backport: nodes flooder (analyzer) from cs-ebot

analyze: allow to disable goal marking
analyze: add cvars descriptions and bounds
nav: added optional post path smoothing for astar algorithm
nav: now bots will use Dijkstra algo instead of floyd-warshall if memory usage too high (controlled via yb_path_floyd_memory_limit cvar) (fixes #434)
nav: vistable are now calculated every frame to prevent game-freeze during loading the game (fixes #434)
graph: pracrice reworked to hash table so memory footprint is as low as possible (at cost 5-10% performance loss on practice) (fixes #434)
control: bots commands now is case-insensitive
bot: major refactoring of bot's code
nav: issue warnings about path fail only with debug
practice: check for visibility when updating danger index
analyzer: suspend any analyzing on change level
control: add kickall_ct/kickall_t
nav: increase blocked distance in stuck check
This commit is contained in:
jeefo 2023-05-02 09:42:43 +03:00 committed by GitHub
commit e7712a551a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 3114 additions and 1722 deletions

View file

@ -44,6 +44,7 @@
<ClInclude Include="..\ext\hlsdk\model.h" />
<ClInclude Include="..\ext\hlsdk\progdefs.h" />
<ClInclude Include="..\ext\hlsdk\util.h" />
<ClInclude Include="..\inc\analyze.h" />
<ClInclude Include="..\inc\config.h" />
<ClInclude Include="..\inc\control.h" />
<ClInclude Include="..\inc\engine.h" />
@ -51,13 +52,18 @@
<ClInclude Include="..\inc\manager.h" />
<ClInclude Include="..\inc\message.h" />
<ClInclude Include="..\inc\module.h" />
<ClInclude Include="..\inc\planner.h" />
<ClInclude Include="..\inc\practice.h" />
<ClInclude Include="..\inc\product.h" />
<ClInclude Include="..\inc\sounds.h" />
<ClInclude Include="..\inc\storage.h" />
<ClInclude Include="..\inc\support.h" />
<ClInclude Include="..\inc\vistable.h" />
<ClInclude Include="..\inc\yapb.h" />
<ClInclude Include="..\inc\version.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\analyze.cpp" />
<ClCompile Include="..\src\entities.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
@ -74,8 +80,12 @@
<ClCompile Include="..\src\message.cpp" />
<ClCompile Include="..\src\module.cpp" />
<ClCompile Include="..\src\navigate.cpp" />
<ClCompile Include="..\src\planner.cpp" />
<ClCompile Include="..\src\practice.cpp" />
<ClCompile Include="..\src\sounds.cpp" />
<ClCompile Include="..\src\storage.cpp" />
<ClCompile Include="..\src\support.cpp" />
<ClCompile Include="..\src\vistable.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="yapb.rc">
@ -175,7 +185,7 @@
<InlineFunctionExpansion>Default</InlineFunctionExpansion>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<DisableLanguageExtensions>false</DisableLanguageExtensions>
<LanguageStandard>Default</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<ResourceCompile>
@ -256,7 +266,7 @@
<StringPooling>true</StringPooling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<FunctionLevelLinking>true</FunctionLevelLinking>
<LanguageStandard>Default</LanguageStandard>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>