Commit Graph

621 Commits

Author SHA1 Message Date
Shauren
fbbcc31670 Core/Misc: Simplify LinkedListHead::isEmpty and rename to empty to fit standard container naming 2025-07-11 17:47:14 +02:00
Shauren
cbb532e4be Core/Groups: Use iterators instead of raw LinkedListElement to interact with group members 2025-07-11 17:40:34 +02:00
Jason Dove
c7f5696479 Core/Scenarios: Allow scripts to set instance scenario by id (#31104)
* add example at Stratholme service entrance
2025-07-09 00:26:37 +02:00
Shauren
d2ddcd7b36 Core/Grids: Remove unused template parameter from Grid class 2025-06-06 11:21:01 +02:00
Shauren
b6d64447ba Core/World: Refactor World::LoadConfigSettings to unify validation of all config options and reduce its impact on compile time 2025-05-08 14:24:29 +02:00
Shauren
821ecf8fa3 Core/Players: Improve setting ActivePlayerData::TransportServerTime by including TIME_SYNC and CMSG_QUEUED_MESSAGES_END values in its calculation
* This removes delay on nearby object visibility after login and teleport
2025-04-16 16:16:49 +02:00
Shauren
6c925ed40c Core/Objects: Make guid generators atomic 2025-02-02 14:15:11 +01:00
Jeremy
5b83fec88e Scripts/Battlegrounds: Implement Deephaul Ravine (#30393) 2025-02-01 01:58:23 +01:00
Shauren
401502ea3c Core/Grids: Modernize TypeContainer with variadic template 2025-01-05 20:22:34 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Shauren
f6c37f6791 Core/PacketIO: Skip sending empty SMSG_UPDATE_OBJECT for transports on map changes 2024-10-29 11:48:25 +01:00
Shauren
8127609764 Core/Maps: Link instance map to LfgDungeons 2024-10-05 11:56:02 +02:00
Shauren
acf750cbff Core/Maps: Fixed manual spawn groups being automatically spawned by conditions 2024-05-16 15:57:45 +02:00
Jeremy
be11f42a16 Core/Battlegrounds: Move to scripts (#29799)
* Introduce new BattlegroundScript class for map/bg specific scripts
* Remove all sub, zone specific, battleground classes except Arena
* Move all bg zone scripts to new BattlegroundScripts class in script folder
* Remove ZoneScript from Battleground class
* Remove some unused hooks from Battleground
2024-03-28 19:29:22 +01:00
Shauren
783f9c0ea3 Core/Scripts: Removed script calls from constructors and destructors 2024-03-14 20:32:03 +01:00
Shauren
9402c66e84 Core/Objects: Rename Object::m_isWorldObject and related functions to avoid conflicting with "WorldObject" class name 2024-03-14 11:01:58 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
f26a93a8c1 Core/Maps: Cleaned up incorrect error log 2023-12-29 20:41:25 +01:00
Jeremy
fb64d7fe8e Core/Maps: Properly set initial spawn group state for groups that have conditions (#29509) 2023-12-29 14:02:37 +01:00
Shauren
75a306e422 Core/Instances: Prevent sending PendingRaidLock in instances that don't have a InstanceScript
Closes #29470
2023-11-28 16:24:38 +01:00
Jeremy
e72bde5236 Core/BattlegroundMap: Load all cells when created & mark all creatures as active (#29410) 2023-11-14 18:40:39 +01:00
Teleqraph
9eceff2bc2 Core/Map: Implement several difficulty getters (#29370)
Co-authored-by: ModoX <moardox@gmail.com>
2023-10-22 11:24:48 +02:00
Shauren
a3702cc526 Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 20:21:32 +02:00
Shauren
da0ba86694 Core/MMaps: Implemented a way to enable/disable certain terrain types for movement on the entire map 2023-10-16 11:57:24 +02:00
funjoker
17c69368a3 Dep/Boost: Drop windows boost hacks (#29358) 2023-10-13 21:10:01 +02:00
Shauren
1e29c0066e Core/Instances: Removed deprecated field from InstanceScript 2023-09-19 00:18:50 +02:00
Shauren
150ba27eb1 Core/Logging: Fixed missing log format changes 2023-08-27 12:50:26 +02:00
Shauren
f4297aa3c6 Core/Misc: Add missing virtual destructors 2023-08-22 12:38:55 +02:00
Shauren
86725ed926 Core/MMaps: Fixed pathing for objects that have terrain swaps active 2023-08-08 00:08:10 +02:00
Shauren
0fb8765a66 Core/Items: Item bonus generation improvements
* Pass ItemContext to item creation wherever possible
* Support scaling item levels with m+ keystone levels (not used currently)
* Fixed item link validation when client sends it as default uninitialized bonus list with context only
* Support scaling items depending on current active season (seasons not implemented)
* Implemented content tuning redirection
2023-06-17 16:29:59 +02:00
Teleqraph
5fddf06daa Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942) 2023-05-06 17:58:40 +02:00
Shauren
2569dc8cfe Core/Instances: Fixed not being able to reenter instances that have no encounters completed
Closes #28737
2023-03-21 12:07:54 +01:00
Meji
97d413c9b4 Core/Spawns: Allow spawn groups with MANUAL_SPAWN flag to automatically despawn if conditions are not met (#28778) 2023-01-29 19:50:34 +01:00
DeadMouse
deac3476b0 Core/Misc Fixed build with boost 1.74 (#28679) 2023-01-09 10:27:16 +01: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
92ed5e8af1 Core/Misc: Include cleanup, 2023 edition 2023-01-07 22:38:21 +01:00
Shauren
e8e330addd Core/Misc: Remove boost::heap::fibonacci_heap from header files 2023-01-06 16:54:16 +01:00
Shauren
d8a4668c77 Core/Misc: Add missing Containers.h include where neccessary 2023-01-06 16:44:11 +01:00
Shauren
704142f15a Core/Maps: Fixed retrieving terrain info when on child maps 2022-12-31 18:22:40 +01:00
Shauren
c3f385c48f Core/Phasing: Reduce differences between branches in GridNotifiers 2022-12-25 00:44:12 +01:00
Shauren
c3e1ff90a5 Core/Maps: Changed functions checking if map can be entered to use TransferAbortReason directly instead of intermediate Map::EnterState enum 2022-10-08 19:11:34 +02:00
Shauren
8c3c07cdf4 Core/Maps: Ensure one of InstanceScript::Create or InstanceScript::Load is called on map creation 2022-10-06 18:34:42 +02:00
Shauren
4667db37f3 Core/Maps: Implemented MapFlags2::IgnoreInstanceFarmLimit 2022-10-04 00:19:38 +02:00
Shauren
20357af88e Core/Instances: Add instance reset events at lock expiration 2022-10-04 00:19:38 +02:00
Shauren
ab12e77cf7 Core/Commands: Restore instance management commands 2022-10-04 00:19:38 +02:00
Shauren
4cbaaa3435 Core/Instances: Save instance entrance based on completed encounters 2022-10-04 00:19:38 +02:00
Shauren
ddd0c7b152 Core/Instances: Reimplement resetting instances from UI 2022-10-04 00:19:38 +02:00
Shauren
76be303351 Core/Scripts: Save instance data in JSON format 2022-10-04 00:19:38 +02:00
Shauren
9b924522d0 Core/Instances: Delete InstanceSaveMgr and replace most of its uses with new InstanceLockMgr 2022-10-04 00:19:38 +02:00