4#ifndef ENGINE_CLIENT_SMOOTH_TIME_H
5#define ENGINE_CLIENT_SMOOTH_TIME_H
31 void Init(int64_t Target);
34 int64_t
Get(int64_t Now)
const;
Definition: smooth_time.h:12
int64_t Get(int64_t Now) const
Definition: smooth_time.cpp:26
int64_t m_Snap
Definition: smooth_time.h:22
void Update(CGraph *pGraph, int64_t Target, int TimeLeft, EAdjustDirection AdjustDirection)
Definition: smooth_time.cpp:54
void UpdateMargin(int64_t Margin)
Definition: smooth_time.cpp:99
int64_t m_Target
Definition: smooth_time.h:24
void SetAdjustSpeed(EAdjustDirection Direction, float Value)
Definition: smooth_time.cpp:21
EAdjustDirection
Definition: smooth_time.h:15
@ ADJUSTDIRECTION_DOWN
Definition: smooth_time.h:16
@ NUM_ADJUSTDIRECTIONS
Definition: smooth_time.h:18
@ ADJUSTDIRECTION_UP
Definition: smooth_time.h:17
int64_t m_Current
Definition: smooth_time.h:23
int64_t m_Margin
Definition: smooth_time.h:25
void Init(int64_t Target)
Definition: smooth_time.cpp:10
void UpdateInt(int64_t Target)
Definition: smooth_time.cpp:46
int m_SpikeCounter
Definition: smooth_time.h:27
float m_aAdjustSpeed[NUM_ADJUSTDIRECTIONS]
Definition: smooth_time.h:28