mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
82a0e95485
The panning interpolations need wraparuound handling due to their small value range.
32 lines
679 B
C
32 lines
679 B
C
#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,
|
|
|
|
Interp_Pan_First,
|
|
Interp_Sect_FloorPanX = Interp_Pan_First,
|
|
Interp_Sect_FloorPanY,
|
|
Interp_Sect_CeilingPanX,
|
|
Interp_Sect_CeilingPanY,
|
|
Interp_Wall_PanX,
|
|
Interp_Wall_PanY,
|
|
};
|
|
|
|
void StartInterpolation(int index, int type);
|
|
void StopInterpolation(int index, int type);
|
|
void UpdateInterpolations();
|
|
void ClearInterpolations();
|
|
void ClearMovementInterpolations();
|
|
void DoInterpolations(double smoothratio);
|
|
void RestoreInterpolations();
|
|
void SerializeInterpolations(FSerializer& arc);
|