F4MP/tiltedcode/Code/client/Systems/InterpolationSystem.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

15 lines
548 B
C

#pragma once
struct World;
struct Actor;
/**
* @brief Manages interpolation of movement and animations.
*/
struct InterpolationSystem
{
static void Update(Actor* apActor, InterpolationComponent& aInterpolationComponent, uint64_t aTick) noexcept;
static void AddPoint(InterpolationComponent& aInterpolationComponent, const InterpolationComponent::TimePoint& acPoint) noexcept;
static InterpolationComponent& Setup(World& aWorld, entt::entity aEntity) noexcept;
static void Clean(World& aWorld, entt::entity aEntity) noexcept;
};