aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation
AgeCommit message (Collapse)Author
2022-01-04Handle different slopes in mmaps (#24765)Giacomo Pozzoni
* Tools/MMAPs: Remove input argument --maxAngle Remove input argument --maxAngle . This should be just hardcoded in MapBuilder::GetMapSpecificConfig() so all settings are easily found in the same place instead of being spread around. * Tools/MMAPs: Add new area type NAV_AREA_GROUND_STEEP Add new area type NAV_AREA_GROUND_STEEP for ground with slope in the range (55, 70] . NAV_AREA_GROUND is used for ground with range [0, 55] . NAV_AREA_GROUND_STEEP takes priority over NAV_AREA_GROUND. * Tools/MMAPs: Fix NAV_GROUND_STEEP flag not being saved in the mmtile * Core/PathFinding: Implement NAV_GROUND_STEEP flag Implement NAV_GROUND_STEEP flag, used only by Creatures that are in combat or evading. * Distinguish between RC_WALKABLE_AREA and NAV_AREA_GROUND. * Allow mobs in combat to walk on steeps up to 80° * Allow mobs in combat to walk on steeps up to 85°. Disable rcFilterLedgeSpans() filter as it removed long steep spans. * Increase cost of steep spans to try making creatures walk around obstacles instead of walking on them * Revert last commit (cherry picked from commit 995a443da219ec773febd7dd29d18f3cefaa1f3b)
2021-11-26Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/54bb0943e5174a71eeeca11919920f685760a4f0 (cherry picked from commit e061663508191f7782dd62c7e13b5ea804f58f67)
2021-11-24Core/MMaps: Fix infinite loop in Detourjackpoz
Fix another infinite loop in Detour caused by degenerated triangles. Check the result of some previously ignored Detour calls. Update recastnavigation to 3a619d773deb7e3a15ee215217c825995fe71312 and apply some more custom changes (cherry picked from commit c602220e02bed1ad76c9e60064eeec5fd97bfe80)
2021-11-23Dep/Recast: Validate input values more consistently and completely, ↵jackpoz
including that points are finite Merge https://github.com/recastnavigation/recastnavigation/pull/374 . This should fix infinite loops happening with degenerated triangles with 0 area. Fix #23028 (cherry picked from commit a75fbe527a9c35fd0cb2e0710a3ebed1223d5c61)
2021-11-23Core/MMaps: Change infinite loop fix in Detourjackpoz
Change the infinite loop fix in Detour to allow looping through all the m_nodePool nodes max once, otherwise it most likely means that we entered an infinite loop. This is currently set to 1024. (cherry picked from commit 12e6faa0fa0cf389bcebd4a6f2220e71c697250c)
2021-11-23Core/MMaps: Fix infinite loop in Detourjackpoz
Fix an infinite loop in Detour happening in Dalaran Sewers. This is more of an emergency patch until we figure out why dtNodes have a circular reference (A -> B -> C -> A) happening quite often in this place (cherry picked from commit c8ec2dd95d07e3eec00027cdb9605529a49d6475)
2021-11-22Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/14b2631527c4792e95b2c78ebfa8ac4cd3413363 Rebuilding mmaps IS required (cherry picked from commit 5ff88ea04aec4677f1c1d669674e5442288a25e3)
2021-11-11Core/Mmaps: Revert a bad changeAokromes
Closes #22470 by xvwyh this doesn't needs to re-extract mmaps. (cherry picked from commit 58e297da1084599fd0b1db9d51b41f45759ee12d)
2021-02-15Update CMakeLists.txtAokromes
(cherry picked from commit 11beb4b6e1e63156774a42e5cfc63f17bdccc3ad)
2021-02-15Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/2c85309280dbc9c82029e7ab16dfb01b9235c74e (cherry picked from commit 7ef22e43057080926685eb45f0fce3f2f3d58c61)
2020-01-02New YearAokromes
2019-01-01Update copyright note for 2019vincent-michael
auto happy = new year(2019);
2018-09-25Update DetourNavMeshQuery.cpp (#22518)Traesh
2018-04-22Dep/Recast: Fixed area type mergesShauren
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-12-20Build: Use interface targets for inheriting flags and definitionsNaios
* Remove the usage of global flags and definitions set through the CMAKE_CXX_FLAGS variable. * Use cmake target compile features for setting the CXX standard automatically. * Make C++14 globally available in the project * Closes #21033 (cherry picked from commit e60c1f84a7e13577a82046b02b214f9466d20a7c)
2017-03-26Core: Only build Recast with tools selectedShauren
2017-02-12Core/MMAPs: Update recastjackpoz
Update recast to https://github.com/recastnavigation/recastnavigation/commit/64385e9ed0822427bca5814d03a3f4c4d7a6db9f (cherry picked from commit 1d7013e0e2758b1468a488dd17e3f5c5ce5f265d) # Conflicts: # dep/PackageList.txt
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-05-23Update CMakeLists.txtAokromes
2016-03-19CMake: Provide proper interface targets from dependenciesNaios
* to make use of cmakes inherited link dependencies which imports all include directories/ definitions from the link library (cherry picked from commit 1a572d242593124f986d3ed08710b96a142a6763)
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-06-29Core/Dependencies: Update recastjackpoz
Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b Fix 2 warnings. These changes have no effect on MMAPs and it's not needed to re-extact them. (cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6) Conflicts: dep/PackageList.txt
2015-01-17Core/Dep: Remove unneeded recast filesjackpoz
(cherry picked from commit 6390e6a4cc2d657e7fa49e80c5be32007df56ee1)
2015-01-01Update copyright note for 2015Vincent-Michael
Happy new year
2014-06-25Core/MMAPs: Update recastjackpoz
Update recast to https://github.com/memononen/recastnavigation/commit/42b96b7306d39bb7680ddb0f89d480a8296c83ff Previous MMAPs might still work but it's recommended to re-extract them.
2014-06-20Core/Dependencies: Clean up recastnavigation folderjackpoz
Remove old files from recastnavigation folder and update the structure to the same of https://github.com/memononen/recastnavigation/ to allow easier updates.
2014-02-23Core/MMAPs: Update recastjackpoz
Update recast from https://github.com/memononen/recastnavigation/commit/1be9de72d87dcfdecf6bea30f5461745f7d7afe6 to https://github.com/memononen/recastnavigation/commit/740a7ba51600a3c87ce5667ae276a38284a1ce75 . This differs from https://github.com/TrinityCore/TrinityCore/commit/aa645683b8b25bfb35cb977678daf5c56c1531e6 because it includes a fix https://github.com/memononen/recastnavigation/commit/77ebf643531c90ea712b496e23c48f0b0671f43d which correctly extract tile connections when using rcMergePolyMeshes(), used by mmaps_generator. MMAPs version is now set to 5. Re-extract MMAPs using mmaps_generator , any old extracted MMAPs will not work.
2014-02-13Core/MMAPS: Fix invisible wall issue in MMAPS.jackpoz
Fix invisible wall issues in MMAPS caused by tile connections not being extracted correctly. This reverts aa645683b8b25bfb35cb977678daf5c56c1531e6 and restores an old version of recastnavigation, most likely https://github.com/memononen/recastnavigation/commit/1be9de72d87dcfdecf6bea30f5461745f7d7afe6 . Re-extracting MMAPS is required.
2014-01-22Dep/Recast: Add diff file for previous commitGacko
2014-01-22Dep: Rename custom typedef to prevent redefinition under Mac OSGacko
2014-01-01Update copyright note for 2014.Vincent_Michael
Happy new year.
2013-06-17Core/MMAPS: Update recastnavigation!kaelima
* Complete changelog can be found at http://code.google.com/p/recastnavigation/ * Adjusted a few config values Important: * New mmaps extraction is required * Folder size will be increased
2013-03-09Core: Fix warnings for msvcVincent_Michael
2013-03-09Buildsystem: Add support for compiling with MinGW on WindowsNay
Tested with: - Windows 8 x64 - MySQL 5.5.30 win32 - OpenSSL 1.0.1c (32 bits) - No PCH - MinGW with GCC 4.7.0 TODO: - Fix compile/link with PCH enabled - Fix compile with WheatyExceptonionReport enabled (ignored for now) - Fix compile of .rc files (ignored for now) - Test with more platforms
2013-01-22Update more copyright note for 2013.Vincent_Michael
2012-04-09Core/Dep:Venugh
+ Added recastnavigation. + Add Info to Packagelist. + Link recastnavigation in Cmake.