Commit Graph
733 Commits
Author SHA1 Message Date
Kelno 7c0a37e8c7 Core/EventMap: Refactor and modernize EventMap (#29183)
(cherry picked from commit 1bea4aab456a01d89b87344d47cf345cd68f2d85)
2026-05-26 23:08:27 +02:00
Shauren b909bca0ba Core/CrashHandler: Fix formatting single char variables 2026-05-11 11:10:18 +02:00
Shauren e6af961d9d Core/CrashHandler: Update enums from DIA SDK 2026-05-11 11:02:10 +02:00
Shauren e00b80cf72 Core/CrashHandler: Replace unsafe pointer dereferences wrapped in __try/__except with ReadProcessMemory 2026-05-11 10:34:57 +02:00
Shauren 61030fd2ec Core/Misc: Nopch build fix for msvc 2026-05-10 14:46:25 +02:00
Shauren 7279bff489 Core/Misc: Remove old msvc warning suppression workarounds for do {} while (0) constructs used in assert and logging macros 2026-05-10 14:45:17 +02:00
Shauren e49105cb68 Core/Misc: Changed compiler detection to better support compilers that pretend to be something else, such as clang-cl is both msvc and clang at the same time 2026-05-10 14:40:49 +02:00
Shauren f8823d6b1a Core/Network: Build fix for boost 1.91 2026-04-23 00:22:41 +02:00
Shauren 2fa9207819 Core/Misc: Change Float*chrono* typedefs to double to match return type of chrono_literals 2026-04-16 17:59:22 +02:00
Shauren daae0381f0 Core/Misc: Pass TaskContext by reference 2026-04-14 19:39:32 +02:00
Shauren fa57c0325e Core/Misc: TaskScheduler internal improvements
* Make TaskContext not copyable - this allowed removing shared `_consumed` state, getting rid of memory allocation per task execution
* Use std::make_shared
* Remove unnceccessary memory alloc/dealloc in TaskContext::Repeat
* Remove std::function wrapping in every TaskContext function
2026-04-11 23:06:04 +02:00
Shauren 325509b6c7 Core/Random: Rename roll_chance_x functions to roll_chance 2026-04-10 00:09:44 +02:00
Shauren d5b62a05d4 Core/Utils: Fixed Trinity::GetTypeName return value when given std::type_info args directly 2026-03-28 00:58:27 +01:00
Shauren b63e55323b Core/Utils: Modernize Types and Tuples utils - use constexpr variables instead of structs
* Also remove unneccessary tuple type list wrapping in packet utilities
2026-03-06 00:51:07 +01:00
Shauren 0607798755 Core/Misc: Remove unneccessary semicolons 2026-03-04 20:21:15 +01:00
Shauren ec31dc8d3c Dep/jemalloc: Update to 5.3.0
Closes #31684
2026-02-26 10:53:22 +01:00
Shauren f18020ebad Core/Vmaps: Fix mismatched new and delete operators in BIH::build 2026-02-08 14:51:11 +01:00
Shauren b115db8235 Core/VMaps: Fixed loading vmap tiles that have destructible buildings on them
Closes #31649
2026-02-01 20:19:59 +01:00
Shauren a904327656 Core/VMaps: Optimize vmap tile unload 2026-02-01 20:19:59 +01:00
Shauren db42e7188e Core/Utils: Add aliasing constructors to Trinity::unique_weak_ptr allowing linked object lifetime (for example Aura and AuraEffect) 2026-01-20 22:53:28 +01:00
Shauren c7e775743d Core/Metric: Reduce number of string copies in metric and eliminate them entirely when metric is disabled in config 2026-01-16 23:19:30 +01:00
Shauren 585e170ad6 Core/Network: Refactor AsyncAcceptor to use async_accept overload producing sockets through argument instead of having to preallocate it
* Also improve main() cleanup to fully process all queued async operations (including their cancellations)
2026-01-12 20:59:19 +01:00
Shauren 6b4ff53187 Core/Misc: Mark some functions noexcept to reduce size of compiled code 2026-01-09 12:14:36 +01:00
Shauren 38886d5f01 Core/Misc: Hashing update
* Update hash_combine with latest version from boost
* Change most std::hash specializations to simply hash all of the input bytes instead of combining their hashes
2026-01-08 00:41:16 +01:00
Shauren b69a1a71c6 Core/Network: Fix invalid NetworkThread array access for derived classes that have additional data members (only HttpService threads were affected) 2025-12-22 13:06:28 +01:00
Shauren 3919b82a63 Core/MMaps: Fix crash during mmap unload happening on maps not marked for dynamic rebuilding
Closes #31585
2025-12-20 15:56:32 +01:00
Shauren 90be8fafb3 Core/Misc: Use std::scoped_lock instead of unique_lock where possible (and old lock_guard) 2025-11-30 14:25:32 +01:00
Shauren 21ff7f2503 Core/Misc: Add missing includes 2025-11-15 11:42:30 +01:00
Shauren 3331699906 Build: Modernize include directory management using target_sources(FILE_SET) 2025-11-12 22:53:54 +01:00
Shauren 6a767c3bd6 Core/MMaps: Implemented dynamic mmap tile rebuilding for destructible objects 2025-11-06 19:42:17 +01:00
Shauren 556505d59a Core/Vmaps: Expose loaded gameobject collision models in RegularGrid2D 2025-11-06 18:34:58 +01:00
Shauren a9c752af97 Core/MMaps: Allow loading mmap meshes per map instance 2025-11-06 18:34:58 +01:00
Shauren f439120b1f Tools/mmaps_generator: Move TerrainBuilder to a shared project 2025-11-06 18:34:58 +01:00
Shauren 145bbde231 Tools/mmaps_generator: Save offmesh connections input together with navmesh params for each map 2025-11-05 18:55:45 +01:00
Shauren 1e56367b30 Tools/mmaps_generator: Add separator to mmap tile file names 2025-11-05 18:55:45 +01:00
Shauren 0275ba9177 Core/Network: Build fix for older boost versions 2025-11-02 14:28:50 +01:00
Shauren b3fb5d6f50 Core/Vmaps: Bump vmap version 2025-11-01 15:27:58 +01:00
Shauren 4b27db87b7 Core/Vmaps: Remove tile X/Y coord swapping 2025-11-01 14:26:48 +01:00
Shauren 157a16d790 Tools/vmap_extractor: Preserve destructible models to use them in mmaps_generator 2025-11-01 14:26:48 +01:00
Shauren 0b4f02c002 Core/Vmaps: Don't ignore gameobject model rotation when calculating liquid level 2025-10-31 13:49:07 +01:00
Shauren 3cbf5fe47f Core/Miscc: Fix compile warning with clang on windows 2025-10-28 14:10:56 +01:00
Shauren 9646bdddaf Core/Miscc: Add file/line/function information to ASSERT_NOTNULL 2025-10-28 13:43:16 +01:00
Shauren 29539aa4de Core/CrashHandler: Fix clang warnings 2025-10-27 09:55:50 +01:00
Shauren 62ba3d8b4e Tools/mmaps_generator: Enable async console logging 2025-10-26 23:37:15 +01:00
Shauren 03e2aa6737 Core/Vmaps: Rename VMapManager2 to VMapManager 2025-10-25 00:55:34 +02:00
Shauren 96b567995a Core/Vmaps: Remove VMapManager2 virtual interface 2025-10-25 00:52:55 +02:00
Shauren 1eb581610b Tools/mmaps_generator: Move TileBuilder to its own file 2025-10-24 00:13:50 +02:00
Shauren 6916f94863 Core/Vmaps: Remove unused template argument from RegularGrid2D 2025-10-23 19:51:17 +02:00
Shauren f10eb2f1bf Core/Vmaps: Use unique_ptr in RegularGrid2D and DynamicTree classes 2025-10-23 19:50:56 +02:00
Shauren 381fb0b394 Core/Vmaps: Replace G3D containers with std ones 2025-10-21 14:03:10 +02:00