Commit Graph
34 Commits
Author SHA1 Message Date
Ovahlord cd107956f5 Build/CMake: disable unity builds for external dependencies as their support for unity builds was rather hacky and relied too much on random factors 2023-12-08 18:14:22 +01:00
Ovahlord b49f95e1e9 Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts 2023-10-09 21:40:38 +02:00
Giacomo Pozzoni 85532de2e9 Handle different slopes in mmaps (#24765)
* 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
# Conflicts:
#	src/server/game/Movement/PathGenerator.cpp
2020-06-18 02:16:11 +02:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord 315bb1199f Dep/Recast: restored a change that got lost during merging 3.3.5 changes 2019-10-26 02:14:32 +02:00
jackpoz 6fbf6d73db Dep/Recast: Update recastnavigation to https://github.com/recastnavigation/recastnavigation/commit/54bb0943e5174a71eeeca11919920f685760a4f0
(cherry picked from commit e061663508191f7782dd62c7e13b5ea804f58f67)

# Conflicts:
#	dep/recastnavigation/Detour/Source/DetourCommon.cpp
2019-04-14 12:11:34 +02:00
Ovahlord bd58cb3ab1 Core/MMaps: Fix infinite loop in Detour (ported commit: c602220e02bed1ad76c9e60064eeec5fd97bfe80) 2019-03-03 05:27:55 +01:00
Ovahlord 8acc08fcba Dep: merged RecastNavigation updates from 3.3.5 branch 2019-02-25 08:25:59 +01:00
Ovahlord d3e6aebf0e Core/Movement: merged a recast navigation update from master 2018-10-06 18:36:39 +02:00
Ovahlord cf62d7b08c Dep/Recast: Fixed area type merges 2018-04-24 19:30:55 +02:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes eee1919c82 Update CMakeLists.txt 2017-11-19 18:43:27 +01:00
jackpoz c62b81dd8b Dep/Recast: Update recastnavigation to recastnavigation/recastnavigation@2c85309 2017-11-19 18:03:17 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
jackpoz 90b22c6cd4 Core/MMAPs: Update recast
Update recast to recastnavigation/recastnavigation@64385e9
2016-08-18 09:46:18 +02:00
Aokromes 0c6b29d466 Update CMakeLists.txt 2016-07-20 13:28:09 +02:00
Aokromes 6564fcffdf CMake: Provide proper interface targets from dependencies 2016-05-23 05:56:48 +02:00
ariel- d04d14e34d Update copyright note for 2016 2016-01-11 23:27:45 -03:00
Aokromes 652c612876 Dep/Misc: Update deps 2015-07-19 14:38:37 +02:00
Aokromes 7680c90abd Update (C) date 2015-07-19 13:37:44 +02:00
jackpoz ed5e3fceed Core/MMAPs: Update recast
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-25 22:04:06 +02:00
jackpoz 0892c71a16 Core/Dependencies: Clean up recastnavigation folder
Remove old files from recastnavigation folder and update the structure to the same of https://github.com/memononen/recastnavigation/ to allow easier updates.
2014-06-20 23:30:44 +02:00
jackpoz f7bc86a17c Core/MMAPs: Update recast
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-23 12:39:16 +01:00
jackpoz 006d72a828 Core/MMAPS: Fix invisible wall issue in MMAPS.
Fix invisible wall issues in MMAPS caused by tile connections not being extracted correctly.
This reverts aa645683b8 and restores an old version of recastnavigation, most likely https://github.com/memononen/recastnavigation/commit/1be9de72d87dcfdecf6bea30f5461745f7d7afe6 .

Re-extracting MMAPS is required.
2014-02-13 22:19:56 +01:00
Gacko 9fbca6e3a3 Dep/Recast: Add diff file for previous commit 2014-01-22 22:05:48 +01:00
Gacko 0db2549775 Dep: Rename custom typedef to prevent redefinition under Mac OS 2014-01-22 21:46:41 +01:00
Vincent_Michael 20004050bc Update copyright note for 2014.
Happy new year.
2014-01-01 00:07:53 +01:00
kaelima aa645683b8 Core/MMAPS: Update recastnavigation!
* 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-06-17 05:11:56 +02:00
Vincent_Michael 8aaaaedbdd Core: Fix warnings for msvc 2013-03-09 01:49:05 +01:00
Nay c7463c5f6c Buildsystem: Add support for compiling with MinGW on Windows
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-03-09 00:12:50 +00:00
Vincent_Michael 7a76de93f8 Update more copyright note for 2013. 2013-01-22 20:24:00 +01:00
Venugh 37cf893ad9 Core/Dep:
+ Added recastnavigation.
+ Add Info to Packagelist.
+ Link recastnavigation in Cmake.
2012-04-09 14:24:53 +02:00