Commit graph

14 commits

Author SHA1 Message Date
obligaron
a295586636 Support changing animation data on-the-fly even if the number of frames differ 2021-05-19 21:16:19 +02:00
obligaron
19615c6976 AnimationInfo: Add GetAnimationProgress() 2021-05-16 21:24:36 +02:00
obligaron
b94e599f5e ADL: Advance skipped Frames in SetNewAnimation and remove logic from PM_XYZ 2021-05-09 09:53:53 +02:00
Anders Jenbo
c11945e62b 🎨 Fix line endings 2021-05-07 23:22:51 +02:00
Anders Jenbo
f579b2f287 Handle cel/cl2 files as byte arrays 2021-05-06 13:17:54 +02:00
obligaron
cb7819a75c Introduce AnimationDistributionFlags::RepeatedAction 2021-05-06 07:52:17 +02:00
obligaron
b5954eb34b Change AnimationDistributionParams to AnimationDistributionFlags 2021-05-06 07:52:17 +02:00
obligaron
b08e0c20dc In repeated Animations show skipped Frames from previous Animation (repeated Attack/RangeAttack/Spell) 2021-05-06 07:52:17 +02:00
obligaron
401a820998 Rename GameTick to Tick (for variables) 2021-04-29 04:33:51 +02:00
obligaron
26601c98dc Simplify GetFrameToUseForRendering (remove local variables and use member variables) 2021-04-29 04:33:51 +02:00
obligaron
ff995adc2b Move ProcessPlayerAnimation to AnimationInfo 2021-04-29 04:33:51 +02:00
obligaron
16b3b38908 Move NewPlrAnim logic to AnimationInfo
Adjust SetNewAnimation-Parameter Names to Class Member

Adjust NewPlrAnim-Parameter Names to SetNewAnimation-Parameter Names
2021-04-29 04:33:51 +02:00
obligaron
3b87433fc2 Move GetFrameToUseForPlayerRendering to AnimationInfo 2021-04-29 04:33:51 +02:00
obligaron
0b5183f63e Introduce AnimationInfo
Update AnimationInfo.DelayLen comment
2021-04-29 04:33:51 +02:00