NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 15 of file snd_Sound3DActor.h.
Public Member Functions | |
Sound3DActor (SoundArchivePlayer &rPlayer, Sound3DManager &rManager) | |
virtual StartResult | SetupSound (SoundHandle *pHandle, ulong soundId, const StartInfo *pStartInfo, void *) override |
virtual void | at_0x0c (void *arg, detail::BasicSound *sound) override |
const nw4r::math::VEC3 & | GetPosition () const |
void | SetPosition (const math::VEC3 &rPosition) |
void | SetUserParam (ulong userParam) |
![]() | |
SoundActor (SoundArchivePlayer &player) | |
virtual ulong | detail_ConvertLabelStringToSoundId (const char *label) override |
virtual StartResult | detail_SetupSound (SoundHandle *pHandle, ulong soundId, bool holdFlag, const StartInfo *pStartInfo) override |
virtual StartResult | detail_SetupSoundWithAmbientInfo (SoundHandle *, ulong, const StartInfo *, detail::BasicSound::AmbientInfo *, void *) |
detail::ExternalSoundPlayer * | detail_GetActorPlayer (int actorPlayerId) |
template<typename TForEachFunc> | |
TForEachFunc | ForEachSound (TForEachFunc pFunc, bool reverse) |
detail::SoundActorParam const & | detail_GetActorParam () const |
void | StopAllSound (int fadeFrames) |
void | PauseAllSound (bool flag, int fadeFrames) |
int | GetPlayingSoundCount (int playerId) const |
![]() | |
StartResult | detail_StartSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo) |
StartResult | detail_StartSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo) |
StartResult | detail_HoldSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo) |
StartResult | detail_HoldSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo) |
StartResult | detail_PrepareSound (SoundHandle *pHandle, ulong id, const StartInfo *pStartInfo) |
StartResult | detail_PrepareSound (SoundHandle *pHandle, const char *label, const StartInfo *pStartInfo) |
bool | StartSound (SoundHandle *pHandle, ulong id) |
bool | StartSound (SoundHandle *pHandle, const char *label) |
bool | StartSound (SoundHandle *pHandle, unsigned int id) |
bool | StartSound (SoundHandle *pHandle, int id) |
bool | HoldSound (SoundHandle *pHandle, ulong id) |
bool | HoldSound (SoundHandle *pHandle, const char *label) |
bool | HoldSound (SoundHandle *pHandle, unsigned int id) |
bool | HoldSound (SoundHandle *pHandle, int id) |
bool | PrepareSound (SoundHandle *pHandle, ulong id) |
bool | PrepareSound (SoundHandle *pHandle, unsigned int id) |
bool | PrepareSound (SoundHandle *pHandle, int id) |
Static Private Member Functions | |
static void | ClearUpdateCallback (SoundHandle &rHandle) |
Private Attributes | |
Sound3DManager & | m3DManager |
SoundArchivePlayer * | mSoundArchivePlayer |
ulong | mUserParam |
math::VEC3 | mPosition |
math::VEC3 | mVelocity |
bool | mSkipVelocityUpdate |
Additional Inherited Members | |
![]() | |
enum | StartResult { START_SUCCESS , START_ERR_LOW_PRIORITY , START_ERR_INVALID_LABEL_STRING , START_ERR_INVALID_SOUNDID , START_ERR_NOT_DATA_LOADED , START_ERR_NOT_ENOUGH_PLAYER_HEAP , START_ERR_CANNOT_OPEN_FILE , START_ERR_NOT_AVAILABLE , START_ERR_CANNOT_ALLOCATE_TRACK , START_ERR_NOT_ENOUGH_INSTANCE , START_ERR_INVALID_PARAMETER , START_ERR_INVALID_SEQ_START_LOCATION_LABEL , START_ERR_USER = 128 , START_ERR_UNKNOWN = 255 } |
![]() | |
static int const | ACTOR_PLAYER_COUNT = 4 |
|
overridevirtual |
Reimplemented from nw4r::snd::SoundActor.
|
overridevirtual |
Reimplemented from nw4r::snd::detail::BasicSound::AmbientInfo::AmbientArgUpdateCallback.
|
inline |
Definition at line 25 of file snd_Sound3DActor.h.
|
inline |
Definition at line 30 of file snd_Sound3DActor.h.
|
private |
Definition at line 38 of file snd_Sound3DActor.h.
|
private |
Definition at line 39 of file snd_Sound3DActor.h.
|
private |
Definition at line 40 of file snd_Sound3DActor.h.
|
private |
Definition at line 41 of file snd_Sound3DActor.h.
|
private |
Definition at line 42 of file snd_Sound3DActor.h.
|
private |
Definition at line 43 of file snd_Sound3DActor.h.