2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRPLATFORM
|
|
|
|
|
#define _SLDRPLATFORM
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrActorParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrAnimationParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrDamageVulnerability.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrHealthInfo.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrPlatformMotionProperties.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrPlatform {
|
|
|
|
|
SLdrPlatform();
|
|
|
|
|
~SLdrPlatform();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
|
|
|
|
CVector3f collisionBox;
|
|
|
|
|
CVector3f collisionOffset;
|
2023-08-09 23:45:58 +03:00
|
|
|
CAssetId model;
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrAnimationParameters animationInformation;
|
|
|
|
|
SLdrActorParameters actorInformation;
|
|
|
|
|
CAssetId collisionModel;
|
2023-08-09 23:45:58 +03:00
|
|
|
SLdrHealthInfo health;
|
|
|
|
|
SLdrDamageVulnerability vulnerability;
|
2023-08-11 22:35:54 +03:00
|
|
|
float xRayTransparency;
|
|
|
|
|
int maximumSplashes;
|
|
|
|
|
int splashGenerationRate;
|
|
|
|
|
bool renderRainSplashes;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool unknown_0xf203bc81;
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrPlatformMotionProperties motionProperties;
|
2023-08-09 23:45:58 +03:00
|
|
|
CVector3f unknown_0x24fdeea1;
|
2023-08-11 22:35:54 +03:00
|
|
|
float randomAnimationOffset;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrPlatform(SLdrPlatform&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRPLATFORM
|