2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRSOUNDMODIFIER
|
|
|
|
|
#define _SLDRSOUNDMODIFIER
|
|
|
|
|
|
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"
|
|
|
|
|
|
|
|
|
|
struct SLdrSoundModifier {
|
|
|
|
|
SLdrSoundModifier();
|
|
|
|
|
~SLdrSoundModifier();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
SLdrEditorProperties editorProperties;
|
2023-08-09 23:45:58 +03:00
|
|
|
float time;
|
2023-08-11 22:35:54 +03:00
|
|
|
bool autoReset;
|
|
|
|
|
bool autoStart;
|
2025-01-14 03:40:29 +02:00
|
|
|
SLdrSpline volume;
|
|
|
|
|
SLdrSpline pan;
|
|
|
|
|
SLdrSpline surroundPan;
|
|
|
|
|
SLdrSpline pitch;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrSoundModifier(SLdrSoundModifier&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRSOUNDMODIFIER
|