756 Commits

Author SHA1 Message Date
Shauren
4ba5e27055 Core/Objects: Reorder Object type casting functions to make nonstatic ones appear first on editor completion lists 2026-01-02 16:23:41 +01:00
Shauren
0ff5cf4d00 Core/Objects: Create a base class for Object to support creating new client visible object types 2025-12-27 11:43:04 +01:00
Shauren
df6de8c4ee Core/GameObjects: Refactor GetPauseTimes to return std::span 2025-12-26 22:05:11 +01:00
Shauren
da6db9f37e Core/Objects: Store non viewer depentent CreateObjectBits directly in m_updateFlag 2025-12-26 00:42:14 +01:00
Shauren
bd2b12fa36 Core: Updated to 11.2.7 2025-12-16 00:09:26 +01:00
Shauren
f901acd66b Core/Entities: Remove Object::m_objectType member and replace it with global array lookup (using m_objectTypeId) 2025-12-07 18:59:24 +01:00
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
Shauren
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +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
de740f0e76 Core/Objects: Replace separate x,y,z,o getters for stationary position with single Position 2025-06-17 23:09:08 +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
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +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
58839b7c18 Core/Entities: nopch build fix 2024-04-09 17:00:43 +02:00
ModoX
9959a1373a Core/Entities: Update StringId assignment to use StringIdType 2024-04-09 16:39:15 +02:00
ModoX
5cea37153e Core/Entities: Added GetStringId helper methods 2024-04-09 16:34:24 +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