NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::snd::SoundStartable Class Referenceabstract
Inheritance diagram for nw4r::snd::SoundStartable:
[legend]

Description

Definition at line 26 of file snd_SoundStartable.h.

Classes

struct  StartInfo
 

Public Types

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
}
 

Public Member Functions

virtual StartResult detail_SetupSound (SoundHandle *handle, ulong soundId, bool holdFlag, StartInfo const *startInfo)=0
 
virtual ulong detail_ConvertLabelStringToSoundId (char const *label)=0
 
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)
 

Member Enumeration Documentation

◆ StartResult

enum nw4r::snd::SoundStartable::StartResult

Definition at line 31 of file snd_SoundStartable.h.

Constructor & Destructor Documentation

◆ ~SoundStartable()

virtual nw4r::snd::SoundStartable::~SoundStartable ( )
inlinevirtual

Definition at line 99 of file snd_SoundStartable.h.

Member Function Documentation

◆ StartSound() [1/4]

bool nw4r::snd::SoundStartable::StartSound ( SoundHandle * pHandle,
ulong id )
inline

Definition at line 131 of file snd_SoundStartable.h.

◆ StartSound() [2/4]

bool nw4r::snd::SoundStartable::StartSound ( SoundHandle * pHandle,
const char * label )
inline

Definition at line 134 of file snd_SoundStartable.h.

◆ StartSound() [3/4]

bool nw4r::snd::SoundStartable::StartSound ( SoundHandle * pHandle,
unsigned int id )
inline

Definition at line 137 of file snd_SoundStartable.h.

◆ StartSound() [4/4]

bool nw4r::snd::SoundStartable::StartSound ( SoundHandle * pHandle,
int id )
inline

Definition at line 140 of file snd_SoundStartable.h.

◆ HoldSound() [1/4]

bool nw4r::snd::SoundStartable::HoldSound ( SoundHandle * pHandle,
ulong id )
inline

Definition at line 144 of file snd_SoundStartable.h.

◆ HoldSound() [2/4]

bool nw4r::snd::SoundStartable::HoldSound ( SoundHandle * pHandle,
const char * label )
inline

Definition at line 147 of file snd_SoundStartable.h.

◆ HoldSound() [3/4]

bool nw4r::snd::SoundStartable::HoldSound ( SoundHandle * pHandle,
unsigned int id )
inline

Definition at line 150 of file snd_SoundStartable.h.

◆ HoldSound() [4/4]

bool nw4r::snd::SoundStartable::HoldSound ( SoundHandle * pHandle,
int id )
inline

Definition at line 153 of file snd_SoundStartable.h.

◆ PrepareSound() [1/3]

bool nw4r::snd::SoundStartable::PrepareSound ( SoundHandle * pHandle,
ulong id )
inline

Definition at line 157 of file snd_SoundStartable.h.

◆ PrepareSound() [2/3]

bool nw4r::snd::SoundStartable::PrepareSound ( SoundHandle * pHandle,
unsigned int id )
inline

Definition at line 160 of file snd_SoundStartable.h.

◆ PrepareSound() [3/3]

bool nw4r::snd::SoundStartable::PrepareSound ( SoundHandle * pHandle,
int id )
inline

Definition at line 163 of file snd_SoundStartable.h.