2020-11-25 22:22:13 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
enum EInterpolationType
|
|
|
|
{
|
|
|
|
Interp_Sect_Floorz,
|
|
|
|
Interp_Sect_Ceilingz,
|
|
|
|
Interp_Sect_Floorheinum,
|
|
|
|
Interp_Sect_Ceilingheinum,
|
|
|
|
|
|
|
|
Interp_Wall_X,
|
|
|
|
Interp_Wall_Y,
|
|
|
|
|
|
|
|
Interp_Sprite_Z,
|
2020-11-26 16:19:42 +00:00
|
|
|
|
|
|
|
Interp_Pan_First,
|
|
|
|
Interp_Sect_FloorPanX = Interp_Pan_First,
|
|
|
|
Interp_Sect_FloorPanY,
|
|
|
|
Interp_Sect_CeilingPanX,
|
|
|
|
Interp_Sect_CeilingPanY,
|
|
|
|
Interp_Wall_PanX,
|
|
|
|
Interp_Wall_PanY,
|
2020-11-25 22:22:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void StartInterpolation(int index, int type);
|
|
|
|
void StopInterpolation(int index, int type);
|
|
|
|
void UpdateInterpolations();
|
2020-11-26 07:38:59 +00:00
|
|
|
void ClearInterpolations();
|
2020-11-26 16:19:42 +00:00
|
|
|
void ClearMovementInterpolations();
|
2020-11-25 22:22:13 +00:00
|
|
|
void DoInterpolations(double smoothratio);
|
|
|
|
void RestoreInterpolations();
|
|
|
|
void SerializeInterpolations(FSerializer& arc);
|