Ujp8LfXBJ6wCPR
43aa763d04
Part1: Modernize codebase with Clang-Tidy range based loops ( #24164 )
...
(cherry picked from commit fb75a958f0 )
2021-12-22 15:48:01 +01:00
jackpoz
2f30a9986c
Tools/MMaps: Fix strange paths in Blackfathom Deeps
...
Increase the agent height by x2 to reduce the chance of having underground mmap layers wrongly picked by recast.
(cherry picked from commit 3b0a89a2ea )
2021-12-22 13:03:21 +01:00
Shauren
bfde919694
Tools/mmaps_generator: Replace hardcoded map ids with db2 data checks
2021-12-20 20:50:28 +01:00
Giacomo Pozzoni
dd929665e5
Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon ( #24036 )
...
* Core/PathGenerator: Fix path generator returning shortcuts when start and end are on the same polygon
Fix path generator returning shortcuts when start and end are on the same polygon by handling this case as if start and end were on 2 different polygons. This will ensure BuildPointPath() gets called which calls FindSmoothPath(), making sure each step is not longer than SMOOTH_PATH_STEP_SIZE (4 yards)
* Change ingame cast error message to SPELL_FAILED_NOPATH from SPELL_FAILED_OUT_OF_RANGE if the generated path is too long
(cherry picked from commit 29bf280e34 )
2021-12-20 20:35:37 +01:00
Shauren
a995e5fda4
Tools/Misc: Document strange array access indexing
...
Closes #23723
(cherry picked from commit aa0d468e04 )
2021-12-18 21:00:21 +01:00
jackpoz
2318013278
Core/MMaps: Add rcMedianFilterWalkableArea() to mmaps generation process
...
Add rcMedianFilterWalkableArea() to mmaps generation process to simplify some ground/water areas
(cherry picked from commit 7ddbc18aaf )
2021-11-23 23:43:55 +01:00
jackpoz
3f4bedd803
Tools/MMaps: Allow to specify different Recast settings for different maps
...
Allow to specify different Recast settings for different maps, currently handled in GetMapSpecificConfig() as a switch statement.
Set walkableRadius to 0 in Blade's Edge Arena (Map ID 562) so the pets can walk on the thin rope between the bridge and the pillar.
(cherry picked from commit e4658a1307 )
2021-11-22 23:54:43 +01:00
Shauren
5eb74cf5ed
Tools: Update db2 metadata expected by extractors to 9.1.5
...
Closes #27251
2021-11-05 15:29:55 +01:00
Shauren
d52c00a8fe
Core/DataStores: Updated db2 structures to 9.1.5
2021-11-01 22:17:12 +01:00
Shauren
453b59de57
Core/Maps: Adjusted logic in GetFullTerrainStatusForPosition to closer match what the client does regarding being inside WMOs
...
Closes #21625
Closes #21624
Closes #21516
(cherry picked from commit b9c6bbb51d )
2021-09-25 01:04:21 +02:00
François B
f2ef8fa311
Tools/Vmaps: Fix models bounds ( #26864 )
2021-08-26 17:22:11 +02:00
Shauren
ce1046a8fd
Core/DataStores: 9.1.0 db2 structures
2021-08-08 00:18:10 +02:00
Shauren
6ecfe58cae
Core/Maps & Extractors: Move copypasted map file headers into a single shared file and replace #defines with enums
2021-05-29 21:21:37 +02:00
Shauren
2de6e56d29
Core/Misc: Rename MapDefines.h to MMapDefines.h as it contains mmap defines exclusively
2021-05-29 14:48:18 +02:00
Shauren
fb6c1dc295
Dep/bzip2: Remove dependency
2021-05-15 02:14:37 +02:00
Shauren
e5ef649634
Tools/vmap_extractor: Unify version printed to console with shared vmap version definition
2021-04-25 12:33:33 +02:00
Shauren
db18228174
Tools/vmap_extractor: Fix MOVX implementation for "small" vmaps (-s or no command line argument)
2021-04-25 12:32:32 +02:00
Shauren
20aeb63026
Core/Vmaps: Extract more doodad sets
2021-04-25 00:11:42 +02:00
Shauren
d0ca535ab8
Core/Vmaps: Prepare vmaps for reading new WMO chunk - MOVX, replacement for MOVI using larger data type (currently unused in 9.0.5 client)
2021-04-25 00:11:42 +02:00
Shauren
e821693c16
Core/Vmaps: Reduce memory used by vmaps, part 2
2021-04-25 00:11:42 +02:00
Shauren
bb8f22ed20
Core/Vmaps: Reduce memory used by vmaps (and their size, slightly)
2021-04-25 00:11:36 +02:00
Shauren
f4ff0489ca
Tools/mapextractor: Don't print updating progress % when sending output to file instead of console
2021-03-10 23:19:27 +01:00
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
jackpoz
94a8be619e
Tools/VMaps: Fix build issue on VS2017
...
(cherry picked from commit 64ca471734 )
2021-02-15 19:13:25 +01:00
Shauren
98939d258a
Dep/Boost: Partial support for boost 1.74 - asio
...
Ref #25470
(cherry picked from commit 155e37831e )
2020-12-12 18:50:13 +01:00
Shauren
7a406db506
Core/Collision: Fixed false positive errors in console about vmap loading
2020-12-08 18:16:47 +01:00
Shauren
b82a3a557a
Core/DataStores: Updated db2 structures to 9.0.2
...
* Includes support for new character customization
2020-12-08 18:16:47 +01:00
Shauren
587ec1fd21
Tools/Extractors: Load additional tact keys from wow.tools (optional for extracting)
2020-12-08 18:16:46 +01:00
Shauren
6b6d5aff05
Dep/CascLib: Update to ladislav-zezula/CascLib@737a8705b5
2020-12-08 18:16:46 +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
Golrag
c46aa9d5b5
Core/VMaps: Fix no collision triangles
...
(cherry picked from commit 89d641f1e6 )
2020-08-18 18:53:13 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
49a99811de
Tools: Update RetardCheck()
2020-07-09 15:14:16 +02:00
Shauren
20e2f3632a
Core/Maps: Added optional *.tilelist file to map_extractor output which contains a list of existing tiles to speed up map creation in worldserver
2020-07-06 16:36:30 +02:00
Shauren
4499f203a3
Core/DataStores: Fixed sending localized hotfixes and improved db2 loading error messages
2020-07-01 00:34:51 +02:00
Peter Keresztes Schmidt
bab5fd87a3
Core/Misc: Replace Trinity::make_unique with std ( #24869 )
2020-06-23 08:54:12 +02:00
Shauren
7d9880252c
Tools/mmaps_generator: Print readme with --help
2020-06-19 17:49:56 +02:00
Shauren
83aaa48b85
Tools/vmap extractor: Various fixes
...
* Fixed output file name case normalization - exclude names built from file ids (starting with FILE)
* Skip antiportal WMO groups
Closes #23972
Closes #24798
2020-06-14 00:43:02 +02:00
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
Ghaster
00c4be9f59
Tools/vmap_extractor: Fixed a typo reading MAIN/MAID chunks ( #24637 )
2020-05-17 01:35:40 +02:00
Shauren
4fb6ad5225
Fix dynamic build
2020-05-10 19:29:17 +02:00
Shauren
d889228259
Core/DataStores: Allow loading encrypted sections when key is known when reading from casc storage
...
Closes #24456
2020-05-10 15:29:47 +02:00
Shauren
16761e1d7c
Tools/vmap assembler: Move TileAssembler from common to vmap4_assembler where it belongs
2020-05-10 15:24:43 +02:00
Shauren
fe7a0c9ad8
Tools/Extractors: Don't try extracting maps that have no wdt defined in Map.db2
2020-05-10 15:22:58 +02:00
Shauren
885d2a7213
Tools/Extractors: Refactor CascHandles into classes
2020-05-10 15:09:19 +02:00
Shauren
ea812fec11
Dep/CascLib: Update to ladislav-zezula/CascLib@0a05c59eb8
2020-05-07 14:39:40 +02:00
funjoker
314a35f0cd
Core/Creatures: Update creature scaling to use content tuning
...
Closes #22831
2020-05-02 22:37:28 +02:00
Shauren
90628b7d29
Core/DataStores: Updated db2 structures to 8.3.0
2020-02-17 23:58:47 +01:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
Shauren
f336fa501f
Fix tools build
2019-11-29 11:44:06 +01:00