2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRBALLTRIGGER
|
|
|
|
|
#define _SLDRBALLTRIGGER
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
|
|
|
|
|
#include "MetroidPrime/ScriptLoader/SLdrTriggerInfo.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrBallTrigger {
|
|
|
|
|
SLdrBallTrigger();
|
|
|
|
|
~SLdrBallTrigger();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
2023-08-09 23:45:58 +03:00
|
|
|
SLdrTriggerInfo trigger;
|
2023-08-11 22:35:54 +03:00
|
|
|
float attractionForce;
|
|
|
|
|
float attractionAngle;
|
|
|
|
|
float attractionDistance;
|
|
|
|
|
CVector3f attractionDirection;
|
|
|
|
|
bool noBallMovement;
|
|
|
|
|
float boundsSizeMultiplier;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrBallTrigger(SLdrBallTrigger&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRBALLTRIGGER
|