Commit Graph

346 Commits

Author SHA1 Message Date
Shauren
78e7687a05 Fix warnings related to Vector3::operator= and remove -Wno-deprecated-copy suppression
# Conflicts:
#	cmake/compiler/clang/settings.cmake
2020-07-13 20:37:26 +02:00
Shauren
c8a95068e5 Build: Fix gcc pch builds 2020-06-22 11:31:43 +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
Giacomo Pozzoni
9fdf598792 Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4)

* Build system: Set -Wno-deprecated-copy only for clang 10

(cherry picked from commit 7fdeb259ba)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c56)

* Build system: Print found git version when warning about it being too old

(cherry picked from commit 1ae72db201)

* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73

(cherry picked from commit 161944b764)

* Remove some code that was already removed from 335 and then cherry-picked into master

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 8c09b6e58b)
2020-06-11 20:24:00 +02:00
Shauren
8adca7637b Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73 2020-06-11 00:36:53 +02:00
Shauren
ad377241f9 Build: Fixed VS always triggering a full build when PCH is enabled, even if only a source file was edited
(cherry picked from commit 9b1dfe5e5e)
(cherry picked from commit b64583b7c1)
2020-04-16 13:00:59 +02:00
jackpoz
fdd986ec46 Dep: Inherit C++ language version from CMake 2020-03-16 14:14:46 +01:00
Aokromes
d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord
68439a1514 Core/Dep: add rapidjson dependency 2020-01-03 22:27:42 +01:00
funjoker
6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
daMaex
983f28e73b Dep/SFMT: updated to newest upstream version from https://github.com/MersenneTwister-Lab/SFMT
* only needed files added
* used CMake and SFMTRand from https://github.com/TrinityCore/TrinityCore/pull/23240 (Thank you Artox)

# Conflicts:
#	dep/SFMT/CMakeLists.txt
2019-11-10 18:57:48 +01:00
daMaex
4f438e5cb6 Dep/efsw: updated efsw to newest version (#23894) 2019-11-06 03:11:35 +01:00
daMaex
abd3d58d57 added jemalloc configuration to CMake for CPU_SINWAIT (#23898) 2019-11-05 16:06:44 +01:00
jackpoz
7e5e553bac Dep/Jemalloc: Update to Jemalloc 5.2.1 2019-11-05 16:06:13 +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
Shauren
7dacfff2ef Core/Build: Fix build with boost 1.71 2019-09-14 14:31:18 +02:00
Ovahlord
a723be6a64 Core/Dep: fixed build with boost 1.71 2019-09-14 02:59:19 +02:00
jackpoz
0b79415e59 Buildsystem: Fix finding VS 2019 compiled boost libs 2019-09-12 01:09:04 +02:00
jackpoz
6f19b3980f Dep/Jemalloc: Update to Jemalloc 5.2.0 2019-05-12 01:23:06 +02:00
jackpoz
6fbf6d73db Dep/Recast: Update recastnavigation to 54bb0943e5
(cherry picked from commit e061663508)

# 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: c602220e02) 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
f89253b320 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2018-06-06 15:53:54 +02:00
Ovahlord
ad3dff69c1 Core/Cmake: removed an unneeded include since bzlib is always included by now 2018-06-05 14:53:09 +02:00
Ovahlord
2cdb3a60ec Core/CMake: fixed linking servers when tools are disabled 2018-06-05 14:48:48 +02:00
Ovahlord
1998dc1287 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2018-05-17 12:44:55 +02:00
jackpoz
927d7518ca Dep/Jemalloc: Update to Jemalloc 5.1.0 2018-05-12 13:24:51 +02:00
Ovahlord
dd11469171 Tools: some followup fixes 2018-04-24 20:37:33 +02:00
Ovahlord
cf62d7b08c Dep/Recast: Fixed area type merges 2018-04-24 19:30:55 +02:00
Ovahlord
fbcb423f60 Tools: merged Master tools updates 2018-04-24 18:45:23 +02:00
ariel-
4e05743909 Dep: fix more zmq 2018-03-28 06:05:10 -03:00
ariel-
8572006a54 Dep: more libzmq hacks 2018-03-28 05:50:01 -03:00
ariel-
dbb936d50d Dep: add missing files 2018-03-28 05:37:40 -03:00
ariel-
53c397c926 Buildsystem: more libzmq port 2018-03-28 05:23:35 -03:00
ariel-
1c11a87c12 Buildsystem: let libzmq choose appropiate polling mechanism 2018-03-28 05:15:53 -03: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
ariel-
7fff6c424f Compile zmq locally 2018-03-28 03:20:25 -03:00
Aokromes
4a268b3fd3 make travis happy 2018-03-07 16:45:39 +01:00
Aokromes
4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Shauren
83bee6000b Build: Fixed warning about disabling warnings 2017-12-17 14:17:51 +01:00
jackpoz
a693169a7e Dep/Jemalloc: Enable MADV_FREE if available 2017-11-30 08:44:33 +01:00
jackpoz
05b568813f Dep/Jemalloc: Temporarily disable MADV_FREE
Temporarily disable MADV_FREE until CMake file is modified to check if MADV_FREE is available on the current system.
This fixes the build on older systems.
2017-11-30 08:44:16 +01:00
jackpoz
41469a4161 Dep/Jemalloc: Update to Jemalloc 5.0.1 2017-11-25 14:03:02 +01:00
Shauren
41fa77a301 Dep/jemalloc: Fixed valgrind intergration 2017-11-19 20:18:19 +01:00
jackpoz
5dee28845c Dep/Jemalloc: Update to Jemalloc 4.0.4 2017-11-19 19:24:08 +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
be9a73c0ad Core/Misc: Fix static analysis issues 2017-11-12 13:24:06 +01:00
jackpoz
790c2b6e80 Dep/G3D: Add static assert checks for Array functions being used with non-POD types 2017-11-12 13:20:51 +01:00