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
5acd308550
Core/Vmaps: Minor cleanup in MapTree - use unique_ptr to manage file handles
...
(cherry picked from commit 5dbb6b043f )
2024-07-06 15:36:06 +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
b62b0e9317
Core/Vmaps: Replace floatToRawIntBits/intBitsToFloat with standard bit_cast utilities
...
(cherry picked from commit 76a3611317 )
2024-07-06 15:35:42 +02:00
Shauren
0a1d2c7813
Core/Vmaps: Replace manual reference counting with shared_ptr and slightly reduce memory use by deduplicating model name strings
...
(cherry picked from commit ff4fc1ad4e )
2024-07-05 04:43:39 +02:00
Shauren
de5215b3bc
Core/Spells: Implemented SPELL_ATTR9_ITEM_PASSIVE_ON_CLIENT
...
(cherry picked from commit 321161230f )
2024-07-05 04:43:01 +02:00
Shauren
f8b21add51
Build fix
...
(cherry picked from commit 2f15a815b5 )
2024-06-20 01:15:39 +02:00
Shauren
970ca6093c
Core/Misc: Fixed windows _UNICODE incompatibilities
...
(cherry picked from commit fd4ffc81b2 )
2024-06-20 01:15:34 +02:00
Shauren
b6714f5746
Core/Crypto: Rename our Argon2 to avoid possible conflict with library file on some configurations
...
(cherry picked from commit 4f6b49cccf )
2024-06-20 01:15:30 +02:00
Ovahlord
333d5751a9
Core/Cryptography: dropped support for OpenSSL 1.1
...
OpenSSL 1.1 has been deprecated for quite some time now so it is time to put it to rest. Please upgrade to OpenSSL 3.x
(cherry picked from commit 728e7c7fcf )
2024-05-28 16:59:07 +02:00
Shauren
249eb19fe1
Core/Misc: Minor change to make_unique_ptr_with_deleter to make it accept only pointers
...
(cherry picked from commit 83f4763b25 )
2024-05-28 16:55:30 +02:00
Shauren
814c5c3a4b
Dep/fmt: Upgrade to 10.2.1
...
(cherry picked from commit 2aedd8ecdb )
2024-05-28 16:49:58 +02:00
Shauren
2ceae541cc
Core/Misc: Minor fixes in preparation to support fmt v10
...
(cherry picked from commit 39fc9f8000 )
2024-05-28 16:49:12 +02:00
Shauren
78805e49c0
Core/Misc: Support boost 1.85
...
(cherry picked from commit cfa838df5d )
2024-05-28 16:43:54 +02:00
lee
a9813ee6bb
Build: Fix Linux aarch64 GCC build ( #29831 )
...
(cherry picked from commit 370685457e )
(cherry picked from commit 5c4b1ace41 )
2024-03-28 20:27:25 +01:00
Shauren
04e7c62341
Core/vmaps: Improved WMO detection for group models that don't have floor
...
(cherry picked from commit 28c9474337 )
2024-03-28 20:24:09 +01:00
funjoker
e769af1044
Core: port sneaky fixes from "Core: Updated to 10.2.6.53840"
2024-03-28 20:20:04 +01:00
Shauren
b8bdce306a
Core/Logging: Fix intellisense errors - people don't like it when code glows red without a reason
...
(cherry picked from commit e99482ce9b )
2024-03-25 20:37:05 +01:00
Shauren
c6cff20258
Core/Logging: Improved generated code for log statements (length of text is computed at compile time)
...
(cherry picked from commit e121ed81d1 )
2024-03-25 20:22:58 +01:00
Shauren
382d67622f
Core/vmaps: Reset BIH::bounds on tree rebuilds
...
(cherry picked from commit 18200e1b88 )
2024-03-25 20:18:58 +01:00
Shauren
fe9c30f404
Core/Utils: unique_trackable_ptr improvements
...
* Added comparison operators
* Added type casting helper functions
(cherry picked from commit f690b69338 )
2024-03-25 20:18:39 +01:00
Shauren
22bf2daaf7
Core/Utils: Added missing member access in unique_trackable_ptr move assignment operator
...
(cherry picked from commit 6b255efb2d )
2024-03-25 20:18:23 +01:00
Shauren
b45f7583c7
Fix tests build
...
(cherry picked from commit 1f3ebbb23c )
2024-03-25 20:16:47 +01:00
Shauren
ed11978fb8
Core/Misc: Fixed windows nopch build
...
(cherry picked from commit 261a237cfa )
2024-03-25 20:16:37 +01:00
Shauren
8acf79193f
Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a specialized variant of std::shared_ptr that enforces unique ownership
...
* This is intended to be used by external code unable to track object lifetime such as custom scripting engines
(cherry picked from commit 32e54b6bd1 )
2024-03-25 20:16:28 +01:00
Shauren
45ee989c70
Core/vmaps: Removed vmap lookup functions duplicating functionality of each other
2024-03-07 00:23:52 +01:00
Shauren
0697cf8c94
Core/vmaps: Increment vmap format version number
2024-03-06 00:04:19 +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
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
20b29c5ff5
Core/Misc: Allow formatting optionals with Trinity::StringFormat
2024-02-28 20:42:20 +01:00
Shauren
1572b8acab
Core/Logging: Call Log::instance() only once in each log statement
2024-02-26 22:55:27 +01:00
Shauren
0743a2f7bb
Core/CrashHandler: Support dumping variables stored in cpu registers (not accurate for all variables)
2024-02-17 13:15:49 +01:00
Shauren
2441ddbea6
Core/CrashHandler: Support ARM64
2024-02-17 12:03:57 +01:00
Shauren
b9c2dca59f
Core/Random: Use correct headers to obtain _mm_malloc definitions
2024-02-17 12:03:06 +01:00
Shauren
a4a4d010a0
Core: Updated to 10.2.5
2024-01-21 22:25:10 +01:00
Ovahlord
97af0c31af
Core/Maps: implement LIQUID_MAP_OCEAN_FLOOR to identify units that are on the bottom of a liquid ( #29545 )
2024-01-02 19:46:44 +01:00
Shauren
623202d68e
Core/Bnet: Implemented new SRP6 variants, and migrate old sha_pass_hash in battlenet_accounts to separate salt and verifier columns
...
* passwords can now be case sensitive and up to 128 characters long
2023-12-26 14:55:15 +01:00
Ovahlord
0db162790c
Core/Common: fixed nopch build for msvc compilers ( #29516 )
2023-12-24 06:01:47 +01:00
Shauren
e172052a0a
Core/Crypto: Added SHA 512 definitions
2023-12-19 21:13:33 +01:00
Shauren
acb5fbd48b
Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
2023-12-17 23:21:10 +01:00
Shauren
5f00ac4b2b
Core/Misc: Minor refactors in BaseEncoding and SslSocket to prepare for future bnetserver changes
2023-12-16 20:02:20 +01:00
Shauren
d958bfd0f3
Core/Database: Replace DatabaseWorker with asio io_context
2023-12-15 12:06:59 +01:00
Shauren
6e147f617b
Core/Locales: Fixed mac build
...
Closes #29490
2023-12-12 11:59:56 +01:00
Shauren
78bcc3f52a
Core/Misc: Minor code modernization - kill std::bind
2023-12-08 20:27:41 +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
1c6ee8a6bd
Core/Locales: Revert back to using C locale for number formatting
2023-11-25 13:57:25 +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