Commit Graph

164 Commits

Author SHA1 Message Date
Shauren
cfa838df5d Core/Misc: Support boost 1.85 2024-04-22 11:52:58 +02:00
Shauren
6cd4607a65 warning fix 2024-03-23 16:40:05 +01:00
Shauren
8d45d1dd48 Tools/vmap_extractor: Support new 9.2 wmo group splits (child groups should inherit their parent wmo group id) 2024-03-23 16:28:11 +01:00
Shauren
a70e758ba5 Tools/vmap_extractor: Move information about model type from spawns in vmap tiles to model file itself 2024-03-06 00:04:19 +01:00
Shauren
382e76f02d Tools/vmap_extractor: Preserve UniqueId from MODF adt chunks in final vmap output (used in db2 files and packets) 2024-03-06 00:04:19 +01:00
Shauren
67244a1f70 Core/Misc: Replace sprintf with safer alternatives (Trinity::StringFormat or snprintf) 2024-03-01 16:05:34 +01:00
Shauren
333630b7de Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS 2023-12-01 19:53:13 +01:00
Shauren
b299902881 Core/Locales: Set active code page and locale used by c string functions to utf8
Closes #29455
2023-11-24 20:01:17 +01:00
Shauren
b6a0fa3518 Tools: Updated db2 metadata used by extractors 2023-07-12 20:51:39 +02:00
Shauren
d791afae1d Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api) 2023-01-08 21:16:53 +01:00
Shauren
f22be111ae Tools/vmap_extractor: Implemented new MPY2 wmo chunk 2022-12-03 23:30:53 +01:00
Lloyd Dilley
1c36441b7c Core/Misc: Fix *BSD compile errors (#28287)
(cherry picked from commit 2b8fc95fde)
2022-10-01 17:33:25 +02:00
Luzifix
b11574871e Tools/Extractors: Implement remote casc mode (#27993) 2022-06-09 17:58:35 +02:00
Shauren
439b027d48 Core/Misc: Cleanup unused includes 2022-02-13 15:07:00 +01:00
Shauren
cbcd149ce5 Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers 2022-02-11 14:33:35 +01:00
Shauren
473f3db0ab Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed file being all red in editor
(cherry picked from commit 39c5e03b74)
2022-01-26 18:46:43 +01:00
jackpoz
68faf5bc4b Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0d)
2022-01-19 22:17:42 +01:00
ipriver
bde36062b7 fixed indentation for cmake files
(cherry picked from commit a46d047f94)
2022-01-06 23:40:39 +01:00
killerwife
dbb7f65723 Vmap: Introduce skipping of antiportals and unreachable mogp (#26331)
* Vmap: Introduce skipping of antiportals and unreachable mogp

* Reduce differences with master branch

* Update VMAP and MMAP versions

* Update MMAPs version

Co-authored-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit d5f1fefe7f)
2022-01-04 20:44:25 +01: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
bb8f22ed20 Core/Vmaps: Reduce memory used by vmaps (and their size, slightly) 2021-04-25 00:11:36 +02:00
jackpoz
94a8be619e Tools/VMaps: Fix build issue on VS2017
(cherry picked from commit 64ca471734)
2021-02-15 19:13:25 +01:00
Shauren
7a406db506 Core/Collision: Fixed false positive errors in console about vmap loading 2020-12-08 18:16:47 +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
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
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
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
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
Shauren
4328e1dfb2 Tools/vmap_extractor: Fixed crash in extracting gameobject models when db2 reader encounters encrypted section 2019-10-28 16:45:59 +01:00
Shauren
420e0d0fd7 Tools/Extractors: Swapped to new casclib 64bit file size functions 2019-08-10 19:03:24 +02:00
Shauren
9bb85965e1 Tools/Extractors: Support specifying which wow version to open when installed to the same directory (retail/ptr/other) 2019-06-19 20:00:14 +02:00
Shauren
101f82855e Fix warnings and nopch build 2019-06-08 17:57:58 +02:00
Shauren
25819ea926 Tools/Extractors: Use FileDataID whenever possible 2019-06-08 17:10:10 +02:00
Shauren
bcaaa3d6f6 Core/DataStores: Updated db2 structures to 8.1.5 2019-06-08 17:10:00 +02:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Neonix
4279bfb6cb Tools/vmapextractor: Fixed undeclared identifier 'assert' on OSX (#21994) 2018-06-01 12:45:57 +02:00
Shauren
24d30dab84 Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasm
* Fixed some models not always being spawned because they only appear in one tile file but are large enough to cross tile boundaries (lava in Firelands at Ragnaros place)

Closes #21879
2018-04-27 20:23:52 +02:00