2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRGENERATOR
|
|
|
|
|
#define _SLDRGENERATOR
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrGenerator {
|
|
|
|
|
SLdrGenerator();
|
|
|
|
|
~SLdrGenerator();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
|
|
|
|
int randomCount;
|
|
|
|
|
bool uniqueLocations;
|
|
|
|
|
bool keepOrientation;
|
|
|
|
|
bool useOriginatorTransform;
|
2023-08-09 23:45:58 +03:00
|
|
|
CVector3f offset;
|
2023-08-11 22:35:54 +03:00
|
|
|
float randomScaleMin;
|
|
|
|
|
float randomScaleMax;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrGenerator(SLdrGenerator&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRGENERATOR
|