aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Movement/Spline
AgeCommit message (Collapse)Author
2025-11-29Core/Movement: Removed spline init parameter deprecated after jump reworkShauren
2025-11-25Core/Movement: Update gravity constant to be more accurateShauren
2025-11-17Core/Movement: Implemented vertical-only knockbacks for creaturesShauren
2025-11-10Core/Movement: Use std::span argument instead of std::vector in ↵Shauren
MoveSplineInit::MovebyPath to avoid having to construct temporary containers
2025-11-09Core/Movement: Change parabolic/animtier spline arguments to use point index ↵Shauren
on path instead of raw timers
2025-10-22Core/Movement: Fixed spline packed delta limit checkShauren
2025-10-14Core/Entities: Merge duplicate functions calculating relative positions - ↵Shauren
remove CalculatePassengerPosition/CalculatePassengerOffset from TransportBase class
2025-06-18Core: Updated to 11.1.7Shauren
2025-06-17Core/Movement: Spline code cleanupShauren
* Remove unneccessary reserve in MoveSplineInitArgs constructor - MoveTo always resizes it * Remove unused function computeDuration * Split cyclic spline reinitialization to separate function * Don't expose TransportPathTransform outside of MoveSplineInit * Ensure function argument names are the same in declaration and definition
2025-06-07Core/Movement: Fixed orientation calculation when using ↵Shauren
MoveSpline::ComputePosition(int32 time_offset) overload
2025-05-29Core/Movement: Spline<float> compile fixShauren
2024-11-06Core/PacketIO: Named a bunch of unknown/unused fieldsShauren
2024-10-07Core/Movement: Implemented cyclic waypoint movement (#29923)ModoX
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2024-06-29Core/Movement: Defined and implemented new spline flag - JumpOrientationFixedShauren
2024-06-21nopch build fixShauren
2024-06-21Core/Movement: Allow setting position or object facing targets for jump movementShauren
2024-04-25Core/Movement: Migrate scripts using GetMotionMaster()->MoveSmoothPath to ↵Shauren
GetMotionMaster()->MovePath and kill it (they now have the same capabilities)
2024-04-24Core/Movement: Fixed spline packed deltas validation checkShauren
2024-04-23Build fix for clang <= 14Shauren
2024-04-23Core/Movement: Change default spline flags - Steering replaces SmoothGroundPathShauren
2024-04-23Core/Movement: Refactor MoveSplineFlag to get rid of undefined behavior ↵Shauren
(cast in raw()) and unify enum to string formatting for it
2024-04-22Core/Units: Name new spline flag and linked npc flagShauren
2024-04-21Core/Movement: Fixed data sent in cyclic spline related packetsModoX
2024-04-21Core/Movement: Switch to uncompressed paths in spline packets automatically ↵Shauren
when too large or too small delta between points is detected
2024-04-20Core/Movement: Added functions to MoveSplineInit to enable steering flagShauren
2024-04-07Core/Movement: Ensure land and takeoff animations even if gravity ↵Shauren
enabled/disabled state is not what spline generator expects
2023-05-29Core/Movement: Fixed uninitialized value in MoveSplineInitArgsShauren
2023-03-26Core/Movement: Allow passing tier transition id (db2 id) to land/takeoff ↵Shauren
movement
2023-03-05Core/Units: Added Unit::SetFacingToPoint functionShauren
2023-01-08Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard ↵Shauren
compatible api)
2022-12-30Core/Movement: Don't compute orientation for vertical splines (#28556)Meji
2022-11-06Core/Misc: Added noexcept to move constructors and move assignment operatorsShauren
2022-07-24Core/Units: Removed spline speed limit for MoveJumpWithGravity (#28142)Teleqraph
2022-06-10Core/Movement: b1a94bf94c500b64a5c4ae92642a95d048d9f392 followup - ↵Shauren
MoveSplineInit is no longer movable or copyable (cherry picked from commit b9c986cadd1b319f20cfaa805ad55276e0dbee3a)
2022-06-10Core/Movement: Delay creating MoveSplineInit objects used by ↵Shauren
GenericMovementGenerator to spline launch time * This fixes inconsistent transport state detection for players exiting vehicles that are on transport (ICC gunship battle), fixes players being telerpoted to middle of nowhere on that fight (cherry picked from commit b1a94bf94c500b64a5c4ae92642a95d048d9f392)
2022-06-07Core/Movement: Allow overwriting number of steps for spline length calculationsShauren
* Also minor cleanup of non-virtual functions in spline derived classes
2022-05-25Core/GameObjects: Transport (type 11) improvementsShauren
* Fully synchronize serverside animation progress with client * Implemented updating passenger positions on elevators * Removed visibility hack for elevators that always forced CreateObject packet to be sent to client
2022-03-22Core/Misc: Add TempSummon timer to GetDebugInfoShauren
(cherry picked from commit 7b9b785c5138c279fea95a9a3c193c0997bf4c16)
2022-02-13Core/Misc: Minor game include cleanupShauren
2022-02-12Core/Misc: Move (or delete) constructors and destructors to .cpp files ↵Shauren
(avoids compiling them in every file that includes them)
2022-02-05Core/Movement: Corrected Animation Tier handling (PR #24875)NoName
Co-authored-by: Warpten <vertozor@gmail.com> Co-authored-by: Ovahlord <dreadkiller@gmx.de> Co-authored-by: Carbenium <carbenium@outlook.com> (cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
2021-12-31Core/Movement: Formation Rewrite (#24379)Eridium
* Core/Movement: Formation Rewrite * Add a missing include * fixed another warning * meh Co-authored-by: Ovahlord <Ovahlord@users.noreply.github.com> Co-authored-by: Ovah <dreadkiller@gmx.de> (cherry picked from commit 0e2342c1698d9e2dc8a8c9d559f232cbb83707cb)
2021-12-30Core/Movement: Improve log when starting a spline with invalid argumentsjackpoz
Improve log when starting a spline with invalid arguments, for example when starting a spline with just 1 point. (cherry picked from commit 296f6aab402407a2798f3a300b256cc75d59fec4)
2021-12-22Core/Movement: Implement MoveSplineFlag::Enter_Cycle (#24049)NoName
by xvwyh (cherry picked from commit 40542f01e3fec0bff2c6e5eadbe20e58f19b0fd8)
2021-12-19Fix fleeing speed to 66% run speed (#24025)Giacomo Pozzoni
* Core/Movement: Fix fleeing speed to 66% run speed Fix fleeing speed to 66% run speed until the creature starts returning home * Fix build * Don't check speed type * Don't apply speed reduction twice * Fix no-pch (1st try) * Make sure every spell focus is interrupted when seeking assistance (cherry picked from commit 4ccf01de3947f50629c20192da3f99cb8c693b35)
2021-12-19Core/Movement: Fix wrong orientation set when pausing movement (#23986)Giacomo Pozzoni
* Core/Movement: Fix wrong orientation set when pausing movement * Update MoveSpline.h * Update Unit.cpp (cherry picked from commit e698c17a2688385e62744cdf5eb37b12b9e304fa)
2021-12-17Core/Spline: Fix crashjackpoz
Fix crash when calling MoveSpline::ToString() on an empty spline (cherry picked from commit 2bac44c7d04f490e08d209d4d1e17bc51e61eb8b)
2021-12-16Core/Movement: add a velocity argument for the spline chain meta table (PR ↵Ovah
#23575) (cherry picked from commit 3f7b2252a1d7d89d3b5e6a43aa10692c2bc8c457)
2021-11-27Core/Movement: Implement initializing parabolic splines using jump gravity ↵Shauren
instead of max parabolic height
2021-11-23Core/Misc: Fix issues reported by static analysisjackpoz
Fix issues reported by Coverity Scan (cherry picked from commit 2fda1572d214d0b114e0291106363f49c2d3179e)