Commit Graph

703 Commits

Author SHA1 Message Date
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
6cff1622e5 Core/Spells: Only check spell immunity against effects that will apply to each target 2025-12-25 16:48:32 +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
03e2aa6737 Core/Vmaps: Rename VMapManager2 to VMapManager 2025-10-25 00:55:34 +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
5cf0c6c8bb Core: Updated to 11.2.0 2025-08-13 00:31:39 +02:00
Shauren
223be4c4eb Core/Objects: Broadcast object destroy packets to players using Far Sight and Mind Vision 2025-07-31 16:20:51 +02:00
Shauren
ceb8d561b4 Core: Updated to 11.1.7 2025-06-18 11:37:07 +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
Shauren
dc10ac722f Core/PacketIO: Remove duplicated areatrigger spline packet writer 2025-06-04 20:59:46 +02:00
Shauren
7090a2a4a3 Core/PacketIO: Move all packet writing utilities to separate file 2025-05-23 15:48:21 +02:00
Shauren
b16832b243 Core/PacketIO: Migration to PacketUtilities bit/string operations part 1 2025-05-17 15:17:42 +02:00
Meji
260fab2378 Core/Misc: Added new CanSeeOrDetectExtraArgs to CanSeeOrDetect (#30882) 2025-05-11 21:10:21 +02:00
Shauren
a63d404e7b Core/Spells: Implemented new SpellMisc field, MinDuration that controls minimum spell missile travel time 2025-05-06 19:22:21 +02:00
Shauren
96026bfc58 Core/Transports: Fixed clientside position of stoppable transports 2025-04-17 00:04:41 +02:00
Shauren
e57b0296d6 Core/Spells: Merge Spell::SetSpellValue overloads 2025-04-03 13:48:52 +02:00
Shauren
64e5f9cce9 Core/PacketiO: Rename Unk field in SMSG_SPELL_ABSORB_LOG 2025-03-12 20:01:35 +01:00
Shauren
23624ed75a Core: Updated to 11.1.0 2025-03-02 15:43:34 +01:00
ModoX
6e3c8a8463 Core/Conditions: Allow conditions for seen object in CONDITION_SOURCE_TYPE_OBJECT_ID_VISIBILITY 2025-01-10 22:36:03 +01:00
Shauren
069771e22e Core/AreaTriggers: Replace fixed movement times in database for areatriggers with speed 2025-01-10 21:22:28 +01:00
Meji
c9099c8756 Core/Misc: Implemented spawn tracking (#30247) 2025-01-04 18:08:09 +01:00
Shauren
8066110756 Core/PacketIO: Named a bunch of unknown/unused fields 2024-11-06 12:17:49 +01:00
Meji
23bb1a56b7 Core/Summons: Handle summons using SummonProperties.Control type 5 as vehicles (#30391) 2024-11-05 14:42:35 +01:00
Shauren
68db469ee1 Core/PacketIO: Updated SMSG_UPDATE_OBJECT for 11.0.5 2024-10-30 14:41:27 +01:00
Shauren
963eb6b80c Core/Objects: Fixup SMSG_UPDATE_OBJECT related refactors
* Object::BuildValuesUpdateWithFlag is actually unused
* Restore UF::UpdateFieldFlag::Owner for players (self packet)
2024-10-29 00:48:21 +01:00
Shauren
42042504fa Core/Objects: Move UF::UpdateFieldHolder to Object.h and remove owner object pointer since it can be calculated dynamically 2024-10-28 18:44:41 +01:00
Shauren
38a209276d Core/Objects: Eliminate unneccessary temporary objects and double map lookups when building SMSG_UPDATE_OBJECT 2024-10-28 00:52:19 +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
Shauren
43c7965d6b Core/Movement: Store adv flying speeds instead of hardcoding them in SMSG_UPDATE_OBJECT and enable packets modifying them 2024-10-07 16:08:13 +02:00
ModoX
35b8868763 Core/Object: Added max height change param to MovePosition 2024-09-21 05:34:10 +02:00
Shauren
975e7cc072 Core/Spells: Refactor CastSpellExtraArgs
* Allow C++20 designated initializers
* Allow precise float values for SPELLVALUE_RADIUS_MOD, SPELLVALUE_CRIT_CHANCE and SPELLVALUE_DURATION_PCT
2024-09-12 21:57:16 +02:00
Shauren
e59eef5432 Core/PacketIO: Updated to 11.0.0 2024-08-02 13:25:41 +02:00
Shauren
9a7a83ef30 Core/Creatures: Create a CreatureGroup for every SummonCreatureGroup 2024-07-12 12:28:00 +02:00
Shauren
0d5a1b175f Core/Spells: Implemented SPELL_ATTR9_HASTE_AFFECTS_MELEE_ABILITY_CASTTIME 2024-06-24 11:21:50 +02:00
Shauren
c968dedfee Core/Spells: Fixed implementation of SPELL_ATTR1_IMMUNITY_TO_HOSTILE_AND_FRIENDLY_EFFECTS and removed banish special cases that were neccessary because that attribute wasn't correctly supported 2024-06-19 20:14:53 +02:00
ModoX
53204130c6 Core/Object: Added possibility to override sourceLocation for SendPlayOrphanSpellVisual 2024-06-15 00:48:07 +02:00
Shauren
56a027131a Core/Spells: Rename more SpellAttr9 2024-06-11 11:05:40 +02:00
Shauren
84c84b66d4 Core/Spells: Implemented SPELL_ATTR9_FORCE_DEST_LOCATION 2024-06-10 00:13:57 +02:00
Ovahlord
bf9cd88ceb Core/Objects: implement internal heartbeat timer for WorldObjects (#29941)
This is the first step of porting the functionality of #25822 by cutting each change into a nicely self-contained commit

---------

Co-authored-by: Mykhailo Redko <ovitnez@gmail.com>
2024-04-26 01:14:48 +02:00
Shauren
a02804fa02 Core/Movement: Refactor MoveSplineFlag to get rid of undefined behavior (cast in raw()) and unify enum to string formatting for it 2024-04-23 11:09:59 +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
Shauren
b265c49977 Core/Scripts: Integrate new ActionResultSetter with movement generators and spells 2024-04-06 20:50:59 +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
ac5aee6a98 Core: Updated to 10.2.6.53840 2024-03-21 21:07:23 +01:00
Shauren
6f6af6a1a1 Core/Objects: Added ToWorldObject and ToItem 2024-03-14 11:37:32 +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