2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRPLATFORMMOTIONPROPERTIES
|
|
|
|
|
#define _SLDRPLATFORMMOTIONPROPERTIES
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrSplineType.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrPlatformMotionProperties {
|
|
|
|
|
SLdrPlatformMotionProperties();
|
|
|
|
|
~SLdrPlatformMotionProperties();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrSplineType motionSplineType;
|
|
|
|
|
spline motionControlSpline;
|
|
|
|
|
float motionSplineDuration;
|
|
|
|
|
float initialTime;
|
2023-08-09 23:45:58 +03:00
|
|
|
int unknown;
|
2023-08-11 22:35:54 +03:00
|
|
|
spline rollControlSpline;
|
|
|
|
|
spline yawControlSpline;
|
|
|
|
|
spline pitchControlSpline;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrPlatformMotionProperties(SLdrPlatformMotionProperties&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRPLATFORMMOTIONPROPERTIES
|