Shauren
3ca9e1253a
Core/Movement: Fixed uninitialized value in MoveSplineInitArgs
2023-05-29 19:32:55 +02:00
Shauren
8bf3bc071b
Core/Movement: Allow passing tier transition id (db2 id) to land/takeoff movement
2023-03-26 12:22:41 +02:00
Shauren
cdc09d29bc
Core/Units: Added Unit::SetFacingToPoint function
2023-03-05 15:45:57 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Meji
8d83c78618
Core/Movement: Don't compute orientation for vertical splines ( #28556 )
2022-12-30 18:00:05 +01:00
Shauren
fc37c42e55
Core/Misc: Added noexcept to move constructors and move assignment operators
2022-11-06 01:03:35 +01:00
Teleqraph
96295cfc5f
Core/Units: Removed spline speed limit for MoveJumpWithGravity ( #28142 )
2022-07-24 22:20:35 +02:00
Shauren
f36cec3833
Core/Movement: b1a94bf94c followup - MoveSplineInit is no longer movable or copyable
...
(cherry picked from commit b9c986cadd )
2022-06-10 15:16:54 +02:00
Shauren
36dde87249
Core/Movement: Delay creating MoveSplineInit objects used by 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 b1a94bf94c )
2022-06-10 15:16:39 +02:00
Shauren
b9353041a6
Core/Movement: Allow overwriting number of steps for spline length calculations
...
* Also minor cleanup of non-virtual functions in spline derived classes
2022-06-07 15:13:54 +02:00
Shauren
630b60eb0d
Core/GameObjects: Transport (type 11) improvements
...
* 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-05-25 22:14:32 +02:00
Shauren
1d30f7ae2b
Core/Misc: Add TempSummon timer to GetDebugInfo
...
(cherry picked from commit 7b9b785c51 )
2022-03-22 00:16:57 +01:00
Shauren
ad4f4bfab7
Core/Misc: Minor game include cleanup
2022-02-13 00:49:10 +01:00
Shauren
f8ad7017dd
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
2022-02-12 21:36:46 +01:00
NoName
ee620856ad
Core/Movement: Corrected Animation Tier handling (PR #24875 )
...
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 dad187615d )
2022-02-05 15:40:31 +01:00
Eridium
924116f046
Core/Movement: Formation Rewrite ( #24379 )
...
* 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 0e2342c169 )
2021-12-31 19:28:14 +01:00
jackpoz
040af829ca
Core/Movement: Improve log when starting a spline with invalid arguments
...
Improve log when starting a spline with invalid arguments, for example when starting a spline with just 1 point.
(cherry picked from commit 296f6aab40 )
2021-12-30 20:58:53 +01:00
NoName
61f3d51143
Core/Movement: Implement MoveSplineFlag::Enter_Cycle ( #24049 )
...
by xvwyh
(cherry picked from commit 40542f01e3 )
2021-12-22 14:33:58 +01:00
Giacomo Pozzoni
d095d4afe9
Fix fleeing speed to 66% run speed ( #24025 )
...
* 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 4ccf01de39 )
2021-12-19 17:39:25 +01:00
Giacomo Pozzoni
292df30394
Core/Movement: Fix wrong orientation set when pausing movement ( #23986 )
...
* Core/Movement: Fix wrong orientation set when pausing movement
* Update MoveSpline.h
* Update Unit.cpp
(cherry picked from commit e698c17a26 )
2021-12-19 15:48:43 +01:00
jackpoz
e998a1169d
Core/Spline: Fix crash
...
Fix crash when calling MoveSpline::ToString() on an empty spline
(cherry picked from commit 2bac44c7d0 )
2021-12-17 00:27:09 +01:00
Ovah
a24a5e7778
Core/Movement: add a velocity argument for the spline chain meta table (PR #23575 )
...
(cherry picked from commit 3f7b2252a1 )
2021-12-16 22:03:35 +01:00
Shauren
684cd9d968
Core/Movement: Implement initializing parabolic splines using jump gravity instead of max parabolic height
2021-11-27 21:56:00 +01:00
jackpoz
3ddbf02dc7
Core/Misc: Fix issues reported by static analysis
...
Fix issues reported by Coverity Scan
(cherry picked from commit 2fda1572d2 )
2021-11-23 22:20:39 +01:00
DanVS
5db7d25700
Core/Movement: Properly calculate the first Catmull-Rom spline point ( #22582 )
...
(cherry picked from commit 5e8b934472 )
2021-11-13 19:52:55 +01:00
Shauren
ebf8f46aed
Core/Movement: Define new spline flag name
2021-11-11 21:38:05 +01:00
DanVS
8ff0572ee3
Core/Movement: Speed Limit for Spline ( #22494 )
...
* Limited speed
(cherry picked from commit 0dd3f0497d )
2021-11-11 21:36:08 +01:00
ccrs
d59a6af9c6
Core/Movement: move MoveSplineInit ( #21857 )
...
The number of edge cases in which weirdness is seen on "effect movements" will be kinda reduced, plus consistency, plus movementInform on custom movement spline initalizations.
(cherry picked from commit 2a45418032 )
2021-09-26 14:19:36 +02:00
Treeston
bc89e1cdb0
Core/Position: Refactor GetAngle -> GetAbsoluteAngle because code clarity is good.
...
(cherry picked from commit 4692e10ca2 )
2021-09-23 22:21:29 +02:00
Shauren
409ca262b3
Core/Movement: Updated MovementFlags2 for 9.0.2
2021-02-11 22:03:30 +01:00
Shauren
83eecaf2c4
Core/PacketIO: Fill new packet fields with data
2020-12-08 18:16:46 +01:00
Shauren
cab4c87d2d
Core/PacketIO: Updated most packet structures to 9.0.1
2020-12-08 18:16:41 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Shauren
1c52d5fff7
Core/Misc: Replace NULL with nullptr
2020-08-14 17:06:03 +02:00
Shauren
4d69cc1c56
Core/Misc: GCC build and warning fixes
2020-05-21 22:15:58 +02:00
Shauren
7272508cb4
Core: Fix clang 10 warnings
2020-04-26 01:25:50 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
ariel-
396457e36a
Core/Movement: Corrected all speed checks after 23b6991273
...
Ref issue #19210
(cherrypicked from 2e68736afc )
2019-08-17 20:04:14 +02:00
Shauren
455959c606
Core/PacketIO: Rewrite updatefield handling
2019-06-08 17:06:57 +02:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
ca9b0b029f
Core/Misc: Fixed uninitialized values
...
CID 1254611 1377296 1377728 1377727
2017-07-17 19:10:32 +02:00
Shauren
b453e12423
Core/Game: Include cleanup part 5
...
* ObjectMgr.h
* Player.h
* Unit.h
* G3D should no longer propagate everywhere from Spline/MotionMaster
2017-06-04 01:00:45 +02:00
Shauren
a12a34b1dc
Core/Game: Include cleanup - removed G3D classes from packets
...
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-16 22:16:21 +02:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Shauren
51207376b7
Core/Spells: Fixed Charge
...
* Implemented Glyph of Blazing Charge
* Implemented a way to compute spline position at any given point in time
* Removed incorrect ProgressCurveId handling, it needs to apply to entire spline duration not to each segment separately
Closes #19217
2017-03-18 20:14:26 +01:00
Shauren
bffd48c2f4
Core/Movement: Restored interpolated_* movement flags
2017-03-15 18:55:42 +01:00
joschiwald
e465465c67
Fixed build
2017-03-03 23:28:12 +01:00
Shauren
16698e5b25
Core/Movement: Defined many unknown MovementFlags2
2017-03-03 20:26:45 +01:00
treeston
b12f19f066
Movement/SplineChain: Streamline the script workflow for resume info a bit, provide static method that does all the ugly pointer casts for you. Also prevent a nullptr dereference crash if scripts mishandle motionmaster, and canonize Chain == nullptr to signify "no resume info".
...
(cherry picked from commit d3214a0012 )
d3214a0 follow-up for code style.
(cherry picked from commit 4deeee66bd )
2017-03-02 21:10:00 +01:00