2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRDEBRIS
|
|
|
|
|
#define _SLDRDEBRIS
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Graphics/CColor.hpp"
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/SObjectTag.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrActorParameters.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrDebris {
|
|
|
|
|
SLdrDebris();
|
|
|
|
|
~SLdrDebris();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
2023-08-09 23:45:58 +03:00
|
|
|
float impulse;
|
2023-08-11 22:35:54 +03:00
|
|
|
CVector3f impulseVariance;
|
|
|
|
|
CColor fadeOutColor;
|
2023-08-09 23:45:58 +03:00
|
|
|
float mass;
|
|
|
|
|
float unknown_0x417f4a91;
|
2023-08-11 22:35:54 +03:00
|
|
|
float lifeTime;
|
|
|
|
|
int scaleType;
|
|
|
|
|
bool randomSpin;
|
2023-08-09 23:45:58 +03:00
|
|
|
CAssetId model;
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrActorParameters actorInformation;
|
2023-08-09 23:45:58 +03:00
|
|
|
CAssetId particle;
|
2023-08-11 22:35:54 +03:00
|
|
|
CVector3f particleSystemScale;
|
|
|
|
|
bool isCollider;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool unknown_0x4edb1d0e;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrDebris(SLdrDebris&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRDEBRIS
|