2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRPATHCAMERA
|
|
|
|
|
#define _SLDRPATHCAMERA
|
|
|
|
|
|
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/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrSplineType.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrPathCamera {
|
|
|
|
|
SLdrPathCamera();
|
|
|
|
|
~SLdrPathCamera();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
|
|
|
|
int flagsPathCamera;
|
2023-08-09 23:45:58 +03:00
|
|
|
int unknown_0xd4b29446;
|
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
|
|
|
SLdrSplineType targetSplineType;
|
2025-01-14 03:40:29 +02:00
|
|
|
SLdrSpline targetControlSpline;
|
|
|
|
|
SLdrSpline fovSpline;
|
|
|
|
|
SLdrSpline speedControlSpline;
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrSplineType splineType;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool unknown_0x431769c6;
|
|
|
|
|
float distance;
|
|
|
|
|
float speed;
|
2023-08-11 22:35:54 +03:00
|
|
|
float dampenDistance;
|
|
|
|
|
int initialPosition;
|
|
|
|
|
float angularSpeed;
|
2025-01-14 03:40:29 +02:00
|
|
|
SLdrSpline unknown_0x12861f7d;
|
|
|
|
|
SLdrSpline unknown_0x96ac52b0;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrPathCamera(SLdrPathCamera&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRPATHCAMERA
|