jackpoz
875c5bcade
Tools/MMaps: Improve MMaps quality
...
Lower Detail Sample Distance and Detail Sample Max Error to get more accurate MMap data, in particular mmap height.
More info about Detail Mesh at http://digestingduck.blogspot.it/2009_07_01_archive.html and http://digestingduck.blogspot.it/2009_08_01_archive.html
(cherry picked from commit f8fd0b7a2c )
2021-02-15 19:13:25 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
edb2b16f54
Tools/mmaps_generator: Give land priority during area merges over liquids
...
Closes #21700
2018-04-22 01:01:48 +02:00
Shauren
60c4c29da5
Tools/MMapsGenerator: Cleanup duplicated definitions
...
* rebuilding is not needed
2018-04-14 18:22:27 +02:00
Shauren
3743d04201
Core/MMaps: Implemented loading phased tiles
...
Closes #16909
2018-03-25 19:28:36 +03:00
Shauren
4798d9ce7a
Core/VMaps: Implement loading phased tiles
...
Closes #15163
2018-03-25 19:28:36 +03:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Rochet2
bbd7e3e326
Tools/MMapsGenerator: Get all tiles in beginning and calulate proper total tile count ( #21139 )
2017-12-30 17:47:30 +01:00
joschiwald
66744c4b4c
Core/Tools: MapId can have 4 digits
...
Note: Re-extracting any maps is NOT required.
2017-04-27 19:24:14 +02:00
Shauren
457f58b1a2
Tools/mmaps_generator: Mak percentage progress slightly more accurate
...
#18832
(cherry picked from commit 29937aaa75 )
# Conflicts:
# src/tools/mmaps_generator/MapBuilder.cpp
2017-04-22 16:53:33 +02:00
Rochet2
769bc15ba0
Tools/MMapsGenerator: Use system supported threads instead of hardcoded amount ( #19255 )
...
- Use unsigned int for thread count
- Use std::thread::hardware_concurrency() to try estimate available threads instead of hardcoded 3 threads by default
- Print thread count always regardless of using --threads switch or not
2017-03-17 19:09:58 +01:00
Eilo
149a9854f7
Tools/mmaps_generator: Added estimated percentage progress to console output ( #17798 )
...
(cherry picked from commit 0a53d0b1fa )
# Conflicts:
# src/tools/mmaps_generator/MapBuilder.cpp
2017-02-12 17:04:08 +01:00
jackpoz
e5ba8f1e4d
Core/MMAPs: Update recast
...
Update recast to https://github.com/recastnavigation/recastnavigation/commit/64385e9ed0822427bca5814d03a3f4c4d7a6db9f
(cherry picked from commit 1d7013e0e2 )
# Conflicts:
# dep/PackageList.txt
2017-02-12 15:41:19 +01:00
jackpoz
f98e3b0ee5
Tools/MMapGenerator: Avoid saving uninitialized padding bytes to disk
...
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files.
(cherry picked from commit 2585c62e6f )
2017-02-12 15:39:38 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
zori
fcbbeb3644
Correct Nav type for WMO objects ( #18364 )
...
* Tools/MMaps: Correct liquid type for WMO objects
* MMaps: Update version to 6
(cherry picked from commit 0df0cb30ca )
2016-12-04 02:23:13 +01:00
Shauren
7ed0e8147d
Tools/mmaps_generator: Update junk map definitions
2016-07-22 19:49:16 +02:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Carbenium
c0c4ed7135
Misc: Fix some warnings reported by GCC 4.9
2015-11-28 01:02:13 +01:00
Shauren
ed75b0649a
Tools: Modified output files of all extractors to use 4 characters for map id and changed name format of map files to include a separator between values '_' that makes tokenization possible
...
* This fixes generating mmaps for maps with id >= 1000
* Fixed a crash happening when unloading last phased mmap tile
* Removed remaining references to libmpq in CMakeLists
Reextracting maps/vmaps/mmaps IS REQUIRED after this commit
2015-05-07 00:07:44 +02:00
Vincent-Michael
ab90f74486
Update copyright note for 2015
...
Happy new year
2015-01-01 00:28:09 +01:00
Shauren
457c93bc4b
Tools/Extractors: Updated vmap_extractor for 6.0.2
2014-10-19 14:02:08 +02:00
Shauren
67f9d916cb
Build: Fixed game & collision depending on each other for linking
2014-10-09 23:01:31 +02:00
jackpoz
d3100edccb
Tools/MMAPs: Fix uninitialized value in mmap_generator
...
Fix uninitialized value in mmap_generator. This fixes mmaps_generator broken in some build configurations.
Fixes #12644
2014-08-07 18:58:21 +02:00
jackpoz
4190d84c5b
Tools/MMaps: Fix static analysis issues
...
Fix static analysis issue spotted by Coverity "Structurally dead code found"
2014-07-30 20:22:32 +02:00
DDuarte
eabf0f44dd
Tools/mmaps: Change the PCQ queue to uint32 again
...
6f272ea5b7 re-added support for non-pointer types
2014-07-27 17:33:42 +01:00
DDuarte
baf9922350
Tools/mmaps: Fix a possible mem leak and a compile warning
2014-07-25 14:04:39 +01:00
leak
90bc6f1e39
Restore mmaps gen build
...
Closes #12631
2014-07-24 21:55:37 +02:00
leak
8c10ffa62d
GCC compile fixes
2014-07-16 19:27:15 +02:00
leak
ecde28d1c1
Replacing ACE based multi threading with PCQ
2014-07-14 22:51:13 +02:00
leak
d45d741426
Removed dead ACE includes from mmaps gen (mt still needs rewrite)
2014-07-14 00:03:49 +02:00
jackpoz
ff25736338
Tools/MMapsGenerator: Improve mmaps generation time on multi-core CPUs
...
Queue biggest maps first for mmaps generation to avoid waiting for last map, usually map id 571.
Fix wrong maps count being printed on startup.
2014-06-25 22:01:44 +02:00
jackpoz
93a68a66c3
Core/MMAPs: Improve NPC behavior with fences and high climbs
...
Increase the max walkable angle and max walkable climb in MMAPs generator to allow NPCs to jump on fences and climb steps.
This requires MMAPs to be extracted again with mmaps_generator, old extracted MMAPs are still compatible but will not provide the benefits of this commit.
Fixes #9965
2014-04-19 15:35:13 +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
784ebb891a
Tools: Fix build for Mac
...
ACE_thread_t returned by ACE_Thread::self is a struct in Mac OS
2014-01-26 00:33:53 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Sebastian Valle
24f8b2b994
Core/Misc: Fixed some more issues found by code analysis tools.
2013-09-03 15:09:37 -05:00
Nay
8eaf763235
Core&Tools: Fix multiple issues found by a static code coverage tool
2013-08-26 02:00:18 +01:00
Nay
12973de799
Core&Tools: Fix multiple issues found by a static code coverage tool
2013-08-24 22:57:22 +01:00
Nay
1bb3c4a2b4
Misc: Fix warnings and build
...
Closes #10396
2013-07-29 14:24:53 +01:00
kaelima
ec0cb39acb
Core/MMAPS: Revert walkableClimb/Height config changes
...
Fixes movement on some stairs
Needs more research
2013-06-27 11:48:23 +02: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
Shauren
b346459ca8
Core: Warning fixes
2013-02-03 14:11:59 +01:00
Shauren
08866f377e
Tools/mmap_generator: Fixed a deadlock at exit
2013-01-24 16:40:35 +01:00
Machiavelli
fd967ba4c6
Tools/mmaps_generator: Multithreading optimisations. Should save some time generating mmaps.
2013-01-24 01:20:25 +01:00
Shauren
259a29c093
Tools/Extractors: Mmap extractors no longer depend on shared and MySQL libraries
2013-01-22 18:40:32 +01:00