NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
NMSndObject< T > Class Template Reference
Inheritance diagram for NMSndObject< T >:
[legend]

Description

template<int T>
class NMSndObject< T >

Definition at line 36 of file d_audio.hpp.

Classes

class  SoundHandlePrm

Public Member Functions

void processParams ()
void calc ()
virtual void calc (const nw4r::math::VEC2 &pos)
SoundHandlePrmfindHandle (int id)
SoundHandlePrmgetFreeHandle ()
virtual SoundHandlePrmstartSound (unsigned long p1, unsigned long p2)
virtual SoundHandlePrmholdSound (unsigned long p1, unsigned long p2)
virtual SoundHandlePrmprepareSound (unsigned long p1, unsigned long p2)
virtual SoundHandlePrmstartSound (unsigned long p1, short p2, unsigned long p3)
virtual SoundHandlePrmholdSound (unsigned long p1, short p2, unsigned long p3)
virtual SoundHandlePrmstartSound (unsigned long p1, const nw4r::math::VEC2 &p2, unsigned long p3)
virtual SoundHandlePrmholdSound (unsigned long p1, const nw4r::math::VEC2 &p2, unsigned long p3)
Public Member Functions inherited from NMSndObjectBase
 NMSndObjectBase (OBJ_TYPE, nw4r::snd::SoundArchivePlayer &)
virtual u8 vf1C (ulong, int)
bool sendRemote (nw4r::snd::SoundHandle *p, unsigned long p1, unsigned long p2)
u32 getTotal () const

Public Attributes

float m_64
int m_68
float m_6c
float m_70
SoundHandlePrm mParams [T+2]
nw4r::math::VEC2 mPos
Public Attributes inherited from NMSndObjectBase
u32 mTotalCount
u32 m_58
Snd2DCalcmpSnd2dCalc
OBJ_TYPE mObjType

Additional Inherited Members

Public Types inherited from NMSndObjectBase
enum  OBJ_TYPE { OBJ_TYPE_0 = 0 }

Constructor & Destructor Documentation

◆ NMSndObject()

template<int T>
NMSndObject< T >::NMSndObject ( )
inline

Definition at line 45 of file d_audio.hpp.

Member Function Documentation

◆ processParams()

template<int T>
void NMSndObject< T >::processParams ( )
inline

Definition at line 54 of file d_audio.hpp.

◆ calc() [1/2]

template<int T>
void NMSndObject< T >::calc ( )
inline

Definition at line 83 of file d_audio.hpp.

◆ calc() [2/2]

template<int T>
virtual void NMSndObject< T >::calc ( const nw4r::math::VEC2 & pos)
inlinevirtual

Definition at line 93 of file d_audio.hpp.

◆ findHandle()

template<int T>
SoundHandlePrm * NMSndObject< T >::findHandle ( int id)
inline

Definition at line 98 of file d_audio.hpp.

◆ getFreeHandle()

template<int T>
SoundHandlePrm * NMSndObject< T >::getFreeHandle ( )
inline

Definition at line 109 of file d_audio.hpp.

◆ startSound() [1/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::startSound ( unsigned long p1,
unsigned long p2 )
inlinevirtual

Definition at line 119 of file d_audio.hpp.

◆ holdSound() [1/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::holdSound ( unsigned long p1,
unsigned long p2 )
inlinevirtual

Definition at line 131 of file d_audio.hpp.

◆ prepareSound()

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::prepareSound ( unsigned long p1,
unsigned long p2 )
inlinevirtual

Definition at line 147 of file d_audio.hpp.

◆ startSound() [2/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::startSound ( unsigned long p1,
short p2,
unsigned long p3 )
inlinevirtual

Definition at line 160 of file d_audio.hpp.

◆ holdSound() [2/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::holdSound ( unsigned long p1,
short p2,
unsigned long p3 )
inlinevirtual

Definition at line 176 of file d_audio.hpp.

◆ startSound() [3/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::startSound ( unsigned long p1,
const nw4r::math::VEC2 & p2,
unsigned long p3 )
inlinevirtual

Definition at line 196 of file d_audio.hpp.

◆ holdSound() [3/3]

template<int T>
virtual SoundHandlePrm * NMSndObject< T >::holdSound ( unsigned long p1,
const nw4r::math::VEC2 & p2,
unsigned long p3 )
inlinevirtual

Definition at line 209 of file d_audio.hpp.

Member Data Documentation

◆ m_64

template<int T>
float NMSndObject< T >::m_64

Definition at line 226 of file d_audio.hpp.

◆ m_68

template<int T>
int NMSndObject< T >::m_68

Definition at line 227 of file d_audio.hpp.

◆ m_6c

template<int T>
float NMSndObject< T >::m_6c

Definition at line 228 of file d_audio.hpp.

◆ m_70

template<int T>
float NMSndObject< T >::m_70

Definition at line 229 of file d_audio.hpp.

◆ mParams

template<int T>
SoundHandlePrm NMSndObject< T >::mParams[T+2]

Definition at line 230 of file d_audio.hpp.

◆ mPos

template<int T>
nw4r::math::VEC2 NMSndObject< T >::mPos

Definition at line 231 of file d_audio.hpp.