Files

38 lines
798 B
C++
Raw Permalink Normal View History

#ifndef _SLDRSOUND
#define _SLDRSOUND
#include "Kyoto/Streams/CInputStream.hpp"
#include "MetroidPrime/ScriptLoader/SLdrEditorProperties.hpp"
#include "MetroidPrime/ScriptLoader/SLdrSurroundPan.hpp"
struct SLdrSound {
SLdrSound();
~SLdrSound();
2023-08-11 22:35:54 +03:00
SLdrEditorProperties editorProperties;
int sound;
2023-08-11 22:35:54 +03:00
float maxAudibleDistance;
float dropOff;
float delayTime;
int minVolume;
int maxVolume;
int priority;
2023-08-11 22:35:54 +03:00
SLdrSurroundPan surroundPan;
bool loop;
bool ambient;
bool unknown;
2023-08-11 22:35:54 +03:00
bool autoStart;
bool canOcclude;
bool useRoomAcoustics;
bool persistent;
2023-08-11 22:35:54 +03:00
bool playAlways;
bool allArea;
bool soundIsMusic;
int pitch;
2023-08-11 22:35:54 +03:00
int echoVisorMaxVolume;
};
void LoadTypedefSLdrSound(SLdrSound&, CInputStream&);
#endif // _SLDRSOUND