Commit Graph

667 Commits

Author SHA1 Message Date
Shauren
48c8c93ec4 Core/Network: Move to separate project
(cherry picked from commit 71b681bbf0)
2025-04-09 21:09:48 +02:00
Ovahlord
a54754caa7 Core/DataStores: updated DB2 structures to 4.4.2 2025-02-23 14:09:53 +01:00
Shauren
435864761e Core/Misc: Include cleanup - remove MapUtils.h from Containers.h
(cherry picked from commit d778d5ec7c)

# Conflicts:
#	src/server/game/Achievements/CriteriaHandler.cpp
#	src/server/game/Globals/ObjectMgr.cpp
#	src/server/scripts/BrokenIsles/zone_mardum.cpp
#	src/server/scripts/ExilesReach/zone_exiles_reach.cpp
#	src/server/scripts/Shadowlands/SepulcherOfTheFirstOnes/boss_anduin_wrynn.cpp
2025-01-01 20:59:52 +01:00
Shauren
c7f09e0171 Core/Vmaps: Minor cleanup (formatting) and documentation updates for BIH::build copy vs move choice
(cherry picked from commit 62dbb0619b)
2024-12-12 19:59:07 +01:00
Ovahlord
2d415b4621 Core/DataStores: updated DB2 structures to 4.4.1 2024-11-01 07:56:45 +01:00
nekolisa42
7bc13f3307 Tools/vmap_assembler: Fix missing <mutex> header in TileAssembler.cpp (#30293)
(cherry picked from commit 5959e6e374)
2024-10-03 00:38:22 +02:00
Shauren
d2d3457b2f Core/Utilities: Extend make_unique_ptr_with_deleter functionality to allow it to create deleters with compile time constant functions (reduces its size to just sizeof(void*))
(cherry picked from commit b13b5142f1)
2024-10-03 00:38:15 +02:00
Shauren
70d2b3b34d Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
(cherry picked from commit 7ac0c685dd)
2024-09-21 05:50:20 +02:00
Shauren
bf0e2fc469 Build: Automatically include WindowsSettings.manifest in all executables instead of listing it separately as source file in every target
(cherry picked from commit a21e7c738e)
2024-09-16 17:32:34 +02:00
Shauren
b0b87aeea1 Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
(cherry picked from commit fd0a7ba871)
2024-09-16 17:32:22 +02:00
Shauren
085aadea36 Core: Remove boost iostreams dependency
(cherry picked from commit dbe8d1f11e)
2024-09-16 17:32:11 +02:00
Ovahlord
3c2aa264c0 Core/DataStores: extract, load and use NpcTotalHp and NpcDamageByClass game tables to initialize the damage and health values of creatures 2024-09-14 18:21:09 +02:00
Shauren
120bea629d Core/Vmaps: Fixed use after free and deadlocks when loading a model file fails
(cherry picked from commit d05dbaaecb)
2024-07-06 22:59:34 +02:00
Shauren
1a3ad52a0b Tools/vmap_assembler: Organize vmap files into directory-per-map
(cherry picked from commit 518fe1fd1e)
2024-07-06 15:36:52 +02:00
Shauren
134b602b95 Tools/vmap_assembler: Use boost::filesystem::path for creating filenames
(cherry picked from commit 51d1ff11bc)
2024-07-06 15:36:47 +02:00
Shauren
f40c4e3218 Tools/vmap_assembler: Multithread building vmaps
(cherry picked from commit 11a252e601)
2024-07-06 15:36:43 +02:00
Shauren
e46cad36d2 Tools/vmap_extractor: Split temporary dir_bin into multiple files (one per map) to significantly reduce peak memory usage by vmap_assembler
(cherry picked from commit a0f13391a0)

# Conflicts:
#	src/tools/vmap4_extractor/vmapexport.cpp
2024-07-06 15:36:37 +02:00
Shauren
caf4c02da8 Core/Vmaps: Optimize loading vmaps
* Changed spawn id to BIH tree index mapping from generated on load to baked in tile files
* Remove map holding model load counts and moved that to ModelInstance instead

(cherry picked from commit 35a2d49971)
2024-07-06 15:36:10 +02:00
Shauren
f82fcdc176 remove double empty line
(cherry picked from commit c3dd80a96e)
2024-07-06 15:36:02 +02:00
Shauren
5ed6b5e53a Core/Vmaps: Minor cleanup in vmap4assembler - use unique_ptr to manage file handles
(cherry picked from commit c8a55f4a18)
2024-07-06 15:35:54 +02:00
Shauren
89adfdf31e Tools/mmaps_generator: Fixed executable name and default values in --help
(cherry picked from commit 08778dc1c8)
2024-07-05 04:42:47 +02:00
Ovahlord
9b2c78694d Tools/Extractors: updated retard check messages to be more clear about what version is supported 2024-06-28 18:47:42 +02:00
Shauren
970ca6093c Core/Misc: Fixed windows _UNICODE incompatibilities
(cherry picked from commit fd4ffc81b2)
2024-06-20 01:15:34 +02:00
Shauren
78805e49c0 Core/Misc: Support boost 1.85
(cherry picked from commit cfa838df5d)
2024-05-28 16:43:54 +02:00
Ovahlord
9d6e3e54ab Core/Datastores: updated DB2 structures to 4.4.0.54737 2024-05-23 21:18:10 +02:00
thesillyone
ab19c7d786 Tools/mmaps_generator: Only initialize memory for inds mesh when it will be read (#29795)
* this change does NOT require re-generating mmaps

(cherry picked from commit a59f7351dd)
2024-03-28 20:25:00 +01:00
Shauren
7239ea65ee warning fix
(cherry picked from commit 6cd4607a65)
2024-03-28 20:22:14 +01:00
Shauren
47e27f6471 Tools/vmap_extractor: Support new 9.2 wmo group splits (child groups should inherit their parent wmo group id)
(cherry picked from commit 8d45d1dd48)
2024-03-28 20:22:03 +01:00
Ovahlord
a0ee8a08d2 Core/DataStores: updated game table structures 2024-03-09 00:14:16 +01:00
Ovahlord
2822dbeac7 Tools/Extractors: updated extractors 2024-03-08 20:04:38 +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
1aa04cabe1 Tools/mmaps_generator: Added const on some functions interfacing with vmaps 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
a4a4d010a0 Core: Updated to 10.2.5 2024-01-21 22:25:10 +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
54d969713b Tools/Map extractor: Minor optimization in MCNK parsing loop - look up end iterator once 2023-11-17 20:56:14 +01:00
Shauren
97f9e18cbd Tools: Updated expected table hash for Map.db2 in extractors 2023-11-09 19:08:17 +01:00
Shauren
1eea1d11b1 Core: Update to 10.2.0 2023-11-09 13:33:26 +01:00
Shauren
348e29c79f Tools/mmaps_generator: Allow specifying custom offmesh area/flags 2023-10-16 10:55:34 +02:00
Shauren
b84199f137 Tools/Extractors: Log error message instead of crashing when downloading tact keys fails
Closes #29338
2023-09-26 00:07:56 +02:00
Shauren
8efeb202a5 Core: Update to 10.1.7 2023-09-07 01:10:07 +02:00
Shauren
f0a862e71b Core/Misc: Modernize comparison operators 2023-08-24 00:51:26 +02:00
Shauren
b6a0fa3518 Tools: Updated db2 metadata used by extractors 2023-07-12 20:51:39 +02:00
Shauren
0cea730fa2 Core: Update to 10.1.5 2023-07-12 16:29:00 +02:00
Shauren
8ffc4c1034 Tools/Extractors: Warn when casc storage could not be opened in remote mode because a local installation was detected in input/cache directory 2023-06-23 10:27:44 +02:00
Shauren
16bc74667e Core: Update to 10.1 2023-05-04 17:00:52 +02:00
Shauren
ffc06b27d0 Core/DataStores: Minor db2 loader cleanup 2023-04-18 18:46:08 +02:00
Shauren
922f60fa25 Core: Update to 10.0.7 2023-03-22 00:08:20 +01:00