Commit Graph

656 Commits

Author SHA1 Message Date
Shauren
7c5edfcdda Core/Position: Change Position<->G3D::Vector3 conversion functions to be lambdas 2025-11-09 21:30:32 +01:00
Shauren
6a767c3bd6 Core/MMaps: Implemented dynamic mmap tile rebuilding for destructible objects 2025-11-06 19:42:17 +01:00
Shauren
62aefda51d Core/GameObjects: Don't ignore collision for destructible gameobjects in destroyed state - they simply have a different model 2025-10-15 11:57:59 +02:00
Shauren
a8f01e07d1 Core/Entities: Merge duplicate functions calculating relative positions - remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class 2025-10-14 13:11:41 +02:00
Shauren
203ad17560 Core/Objects: Preserve phaseUseFlags, terrainSwapMap, ScriptName and StringId columns when saving creature and gameobject spawns in database
Closes #31291
2025-09-21 00:45:27 +02:00
Meji
32270f1e5e Core/GameObjects: Allow reset for GAMEOBJECT_TYPE_GOOBER without lockId or autoCloseTime (#31079) 2025-07-12 22:22:57 +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
Meji
138b1b1a21 Core/SpawnTracking: Allow linking a spawn to more than one quest objective (#30995) 2025-06-28 01:38:43 +02:00
Shauren
0f9a0accf1 Core/Misc: Kill AnyPlayerInObjectRangeCheck (duplicate of AnyUnitInObjectRangeCheck) 2025-06-08 01:07:44 +02:00
Meji
f7cd7661b8 Core/GameObjects: Added spell cast for GAMEOBJECT_TYPE_CHEST (#30996) 2025-05-28 10:27:19 +02:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
Shauren
49aa298006 Core/Objects: Optimize spawn tracking handling in building SMSG_UPDATE_OBJECT 2025-03-01 15:00:46 +01:00
Shauren
5875058ed8 Core/Quests: Updated quest future status checks to include all variants of that status 2025-02-03 00:07:02 +01:00
Shauren
401502ea3c Core/Grids: Modernize TypeContainer with variadic template 2025-01-05 20:22:34 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
d778d5ec7c Core/Misc: Include cleanup - remove MapUtils.h from Containers.h 2024-12-31 18:12:36 +01:00
Shauren
4ccaac5d91 Core/GameObjects: Remove unused function 2024-12-20 10:44:20 +01:00
Shauren
3177c410e4 Core/GameObjects: Fixed gameobject spell casts failing when triggered by SPELL_EFFECT_OPEN_LOCK 2024-12-04 20:00:43 +01:00
Shauren
1fb4acc25a Core/Quests: Implemented QUEST_OBJECTIVE_KILL_WITH_LABEL 2024-12-02 15:29:02 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Shauren
68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren
ee54ade397 Core/Objects: More minor refactors for SMSG_UPDATE_OBJECT building - move getting and writing field flags to shared function 2024-10-27 19:05:35 +01:00
Shauren
067fa31d15 Core/PacketIO: Move writing data sizes in SMSG_UPDATE_OBJECT to shared functions instead of spreading it in all overrides 2024-10-25 15:36:11 +02:00
Jeremy
bef005e346 Core/GameObject: Cast Pickup spell of GAMEOBJECT_TYPE_FLAGSTAND
* and do interact condition checks
2024-10-21 00:31:27 +02:00
Jeremy
0535a61cb7 Core/GameObject: Implemented OnFlagTaken/OnFlagDropped hooks for GAMEOBJECT_TYPE_FLAGSTAND 2024-10-21 00:30:20 +02:00
Jeremy
c499110a0d Scripts/Battlegrounds: Implement Silvershard mines (#30120) 2024-09-14 13:01:54 +02:00
Jeremy
314e155a0c Core/GameObjects: Implement ControlZone::UncontestedTime field (#30152) 2024-09-01 21:44:22 +02:00
Shauren
edb20999a3 Core/Utils: Unwrap non-copyable pointers (unique_ptr) from Trinity::Containers::MapGetValuePtr 2024-08-17 12:40:27 +02:00
Jeremy
66abfd1c53 Spells/Auras: Implement SPELL_AURA_ACT_AS_CONTROL_ZONE (#30083) 2024-08-05 01:51:29 +02:00
Shauren
2756ca1c35 Core/GameObject: Implemented NotLOSBlocking door property 2024-07-17 00:21:03 +02:00
Meji
31bd3804e3 Core/GameObjects: Fixed the interaction/highlight logic for GAMEOBJECT_TYPE_CHEST and quest objectives (#30051) 2024-06-23 15:00:35 +02:00
Antonio Martín Berti
3fd9677543 Core/Misc: Added Loading.Locales to enable/disable the load of locales (#30013) 2024-06-04 00:44:22 +02:00
Shauren
bec5bdb61b Core/Entities: Fixed m_stringIds[0] invalidation when reloading creature_template with a gm command 2024-04-10 20:27:57 +02:00
ModoX
88bbd27f8d Core/Entities: Added possibility to inherit StringIds from other entities (#29908)
* also implicitly do so for personal summons
2024-04-10 20:03:14 +02:00
ModoX
9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +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
Meji
4913d027bf Core/Conditions: Added CONDITION_SOURCE_TYPE_PLAYER_CONDITION (#29832) 2024-03-27 21:38:08 +01:00
Jeremy
1f855ef563 Core/GameObjects: Implement destructible_hitpoint table to store health info about destructible buildings (#29836) 2024-03-27 18:55:44 +01:00
Meji
6a80bebcb5 Core/GameObjects: Added dynamic highlight for GAMEOBJECT_TYPE_SPELL_FOCUS (#29825) 2024-03-24 17:27:13 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
099ad4a0fd Core/Misc: Fixed a bunch of uninitialized class fields 2023-12-31 17:08:54 +01:00
Jeremy
42de312a79 Core/Spells: Clean up some gameobject types in EffectOpenLock (#29532) 2023-12-28 19:46:50 +01:00
Jeremy
0aa61e9341 Core/GameObject: Update spawn conditions when new ControlZone event is triggered (#29349) 2023-10-04 12:50:44 +02:00
Jeremy
f96f041c3e Core/GameObject: Implement ControlZone gameobject type (#29320) 2023-10-03 15:55:24 +02:00
Shauren
955343f747 Core/GameObjects: Don't restock non-personal chests that didn't have loot modified 2023-08-30 19:23:56 +02:00
ModoX
2d0311b7d9 Core/GameObjects: Fixed GAMEOBJECT_TYPE_NEW_FLAG_DROP casting impl from wrong object 2023-08-29 08:47:04 +02:00
ModoX
bb5eab4c36 Core/GameObjects: Added some checks to GAMEOBJECT_TYPE_NEW_FLAG and GAMEOBJECT_TYPE_NEW_FLAG_DROP to prevent exploits 2023-08-29 08:47:02 +02:00
Jeremy
0ede6c1556 Core/Battlegrounds: Rework queues (#29200)
* No more copies of Battleground classes
* FreesSlotQueues now have as key the MapId instead of queue id
* Random queues can now popup already busy specific battelgrounds (queues are NOT merged)
* Removed Holiday handling, this should already be handled in BattlegroundMgr::IsBGWeekend
2023-08-26 14:03:42 +02:00
Golrag
6175467c3e Core/GameObject: Skip setting state of NewFlag, if new state is equivalent to old state 2023-08-24 16:15:32 +02:00
Golrag
5e61827814 Core/GameObject: Expose several NewFlag fields for future purposes 2023-08-24 16:15:32 +02:00