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