Commit Graph

42360 Commits

Author SHA1 Message Date
Shauren
e121ed81d1 Core/Logging: Improved generated code for log statements (length of text is computed at compile time) 2024-03-15 20:46:10 +01:00
Shauren
783f9c0ea3 Core/Scripts: Removed script calls from constructors and destructors 2024-03-14 20:32:03 +01:00
Shauren
6224036efd Core/Objects: Cook the copied pasta 2024-03-14 19:28:49 +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
Shauren
b705283d0e GCC build fix 2024-03-13 19:56:34 +01:00
Shauren
4779fa5048 Core/Misc: Use our new unique_trackable_ptr for various classes exposed to scripts (not actually used anywhere currently) 2024-03-13 18:51:29 +01:00
Shauren
18200e1b88 Core/vmaps: Reset BIH::bounds on tree rebuilds 2024-03-13 18:19:22 +01:00
Shauren
37899f3954 Tests: Disable intentionally triggered warning in test code 2024-03-13 18:17:04 +01:00
Shauren
f690b69338 Core/Utils: unique_trackable_ptr improvements
* Added comparison operators
* Added type casting helper functions
2024-03-13 17:04:26 +01:00
Shauren
6b255efb2d Core/Utils: Added missing member access in unique_trackable_ptr move assignment operator 2024-03-12 21:02:28 +01:00
Shauren
ca656f4254 Core/Movement: FIxed followPathBackwardsFromEndToStart parameter of MotionMaster::MovePath 2024-03-12 11:49:42 +01:00
Shauren
b93791255c Core/SmartAI: Load paths by their id now that SAI doesn't use a separate database table as waypoints source 2024-03-12 11:49:42 +01:00
Shauren
a8cc8725b1 Core/Movement: Minor refactor for WaypointManager data loading 2024-03-12 11:49:42 +01:00
Shauren
5d29fc0b99 Core/Movement: Removed a possible lifetime trap when passing a custom WaypointPath to MovePath 2024-03-12 11:49:42 +01:00
Shauren
6b6a13d9c7 Core/Movement: Make MovementGenerator not copyable and movable 2024-03-12 11:49:42 +01:00
Shauren
6c533482c6 Core/Movement: Removed default arg values from MovementGenerator Pause and Resume functions 2024-03-12 11:49:42 +01:00
Shauren
1f3ebbb23c Fix tests build 2024-03-11 18:25:17 +01:00
Shauren
261a237cfa Core/Misc: Fixed windows nopch build 2024-03-11 18:17:08 +01:00
Shauren
32e54b6bd1 Core/Utils: Added a custom smart pointer type unique_trackable_ptr - a specialized variant of std::shared_ptr that enforces unique ownership
* This is intended to be used by external code unable to track object lifetime such as custom scripting engines
2024-03-11 18:16:34 +01:00
Aqua Deus
7fed372ab3 DB/WanderingIsle: Update script for Aspiring Trainee
+ Update some quest locales for esES
Closes #29772
2024-03-11 01:37:38 +01:00
Kelpiesklubhouse
f317baf4f4 DB/Tirisfal: Update questchains for Tirisfal Glades
Closes #29758
2024-03-11 01:34:55 +01:00
Meji
fa30ea397e DB/SilvermoonCity: Update Love is in the Air spawns 2024-03-10 18:40:31 +01:00
Meji
2a0735d509 DB/Undercity: Update Love is in the Air spawns 2024-03-10 18:38:49 +01:00
Meji
b5b726114c DB/Thunderbluff: Update Love is in the Air spawns 2024-03-10 18:38:35 +01:00
Meji
8c256d3a35 DB/TheExodar: Update Love is in the Air spawns 2024-03-10 18:38:11 +01:00
Meji
6f7b34b4fc DB/Darnassus: Update Love is in the Air spawns 2024-03-10 18:37:09 +01:00
Meji
61dd069dce DB/Ironforge: Update Love is in the Air spawns 2024-03-10 18:36:40 +01:00
Shauren
62dc916184 Core/Auras: Update visible aura immediately during spell cast instead of waiting for next update tick 2024-03-10 00:34:23 +01:00
Shauren
2913263813 Fix GCC build 2024-03-09 01:08:31 +01:00
Shauren
fccf6fb72b Core/Objects: Implemented vignettes 2024-03-09 00:54:27 +01:00
Shauren
1439535c6a Core/Players: Extend Player::SendInitialVisiblePackets to work with all WorldObject types 2024-03-08 21:02:29 +01:00
Shauren
d397b636d4 Core/Objects: Keep current WMO info on position updates and use it in party member state packets 2024-03-07 13:31:12 +01:00
Shauren
45ee989c70 Core/vmaps: Removed vmap lookup functions duplicating functionality of each other 2024-03-07 00:23:52 +01:00
Shauren
1f73cf9f19 Core/AuctionHouse: Fixed possible use after free when auctions are removed with offline buyers 2024-03-06 12:05:54 +01:00
Shauren
ecf302ac49 Core/PacketIO: Fixed structures of SMSG_INSPECT_RESULT and SMSG_RATED_PVP_INFO 2024-03-06 11:23:15 +01:00
Kelpiesklubhouse
f5fdadc6ca DB/Quest: Added missing Quest data for Northshire quests
Closes #29770
2024-03-06 02:49:32 +01:00
Kelpiesklubhouse
8b0c29895e DB/AzuremystIsle: Some more updates to questchains for Ammen Vale
Closes #29763
2024-03-06 02:47:41 +01:00
Shauren
0697cf8c94 Core/vmaps: Increment vmap format version number 2024-03-06 00:04:19 +01:00
Shauren
a70e758ba5 Tools/vmap_extractor: Move information about model type from spawns in vmap tiles to model file itself 2024-03-06 00:04:19 +01:00
Shauren
382e76f02d Tools/vmap_extractor: Preserve UniqueId from MODF adt chunks in final vmap output (used in db2 files and packets) 2024-03-06 00:04:19 +01:00
Shauren
1aa04cabe1 Tools/mmaps_generator: Added const on some functions interfacing with vmaps 2024-03-06 00:04:19 +01:00
Shauren
6f31586082 Core: Update allowed build to 10.2.5.53584 2024-03-05 20:44:22 +01:00
Shauren
0c32277139 Core/Auras: Feign death will no longer cause creatures immune to it to drop combat (and then reenter it because the unit feigning death is considered valid) 2024-03-04 16:14:23 +01:00
Shauren
1369b87084 Core/Creatures: Implemented CREATURE_STATIC_FLAG_2_IGNORE_SANCTUARY (ignore SPELL_EFFECT_SANCTUARY, used by Vanish) 2024-03-04 00:05:35 +01:00
Meji
74ec1d3cfb Core/Locales: Store empty localized strings present in database (#29779) 2024-03-03 23:49:16 +01:00
Meji
a5a2f5af2d Core/Units: Set UNIT_FLAG3_FAKE_DEAD as disallowed flag for database column 2024-03-03 21:02:17 +01:00
Shauren
c2e36dea6c Core/Creatures: Implemented serverside checks for UNIT_FLAG2_INTERACT_WHILE_HOSTILE and UNIT_FLAG3_ALLOW_INTERACTION_WHILE_IN_COMBAT
* Also stop sending npc flags for hostile creatures
2024-03-03 00:51:51 +01:00
Shauren
97d7ccd180 Core/Quests: Merged UpdateNearbyCreatureNpcFlags, UpdateVisibleGameobjectsOrSpellClicks and SendQuestGiverStatusMultiple on quest actions
* Fixes quest markers above NPC heads not disappearing when player stops seeing questgiver npc flag
2024-03-03 00:50:38 +01:00
Naddley
91a3dbf398 DB/Stormwind: Added some Nightelf Heritage spawns for Stormwind Embassy 2024-03-02 16:58:27 +01:00