Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2SoundObjAnime Class Reference

#include <Z2SoundObject.h>

+ Inheritance diagram for Z2SoundObjAnime:
+ Collaboration diagram for Z2SoundObjAnime:

Public Member Functions

 Z2SoundObjAnime ()
 
void initAnime (void *, bool, f32, f32)
 
void ageSounds_ ()
 
void updateAnime (f32, f32)
 
void updateSoundLifeTime_ (f32, f32)
 
void startSoundInner (JGeometry::TVec3< f32 > const &, f32, Z2SoundStarter *, u32, s8)
 
u32 getSoundID (JAUSoundAnimationSound const *, JGeometry::TVec3< f32 > const &, f32)
 
bool playsSound (JAUSoundAnimationSound const *, JGeometry::TVec3< f32 > const &, f32)
 
virtual void init (Vec *, u8)
 
void stopAnime ()
 
void setLoopStartFrame (f32 i_frame)
 
void setLoopEndFrame (f32 i_frame)
 
void setLoopFrame (f32 i_startFrame, f32 i_endFrame)
 
- Public Member Functions inherited from Z2SoundObjBase
 Z2SoundObjBase ()
 
 ~Z2SoundObjBase ()
 
void deleteObject ()
 
Z2SoundHandlePoolstartCollisionSE (u32, u32, Z2SoundObjBase *)
 
bool isAlive () const
 
void setSoundStarter (Z2SoundStarter *i_soundStarter)
 
virtual void framework (u32, s8)
 
virtual void dispose ()
 
virtual bool stopOK (Z2SoundHandlePool &pool)
 
virtual Z2SoundHandlePoolstartSound (JAISoundID, u32, s8)
 
virtual Z2SoundHandlePoolstartLevelSound (JAISoundID, u32, s8)
 
- Public Member Functions inherited from Z2SoundHandles
 Z2SoundHandles ()
 
 ~Z2SoundHandles ()
 
void initHandlesPool (u8 pNumHandles)
 
void deleteHandlesPool ()
 
Z2SoundHandlePoolgetFreeHandle ()
 
Z2SoundHandlePoolgetLowPrioSound (JAISoundID pSoundId)
 
bool isActive () const
 
Z2SoundHandlePoolgetHandleSoundID (JAISoundID pSoundId)
 
Z2SoundHandlePoolgetHandleUserData (u32 pUserData)
 
void stopAllSounds (u32 fadeout)
 
void stopSound (JAISoundID soundID, u32 param_1)
 
void setPos (const JGeometry::TVec3< f32 > &pos)
 
int getNumHandles () const
 
Z2SoundHandlePoolgetHandle (int index)
 

Public Attributes

JAUSoundAnimationmpAnimation
 
int field_0x24
 
f32 mCurSoundFrame
 
f32 mStartSoundFrame
 
f32 mEndSoundFrame
 
int mStartSoundIndex
 
int mEndSoundIndex
 
int field_0x3c
 
int mCurSoundIndex
 
bool mReverse
 
- Public Attributes inherited from Z2SoundObjBase
Z2SoundStartermSoundStarter
 
JGeometry::TVec3< f32 > * mSoundPos
 
u16 field_0x1c
 
s8 field_0x1e
 
bool mIsInitialized
 

Additional Inherited Members

- Protected Member Functions inherited from JSUList< Z2SoundHandlePool >
 JSUList ()
 
 JSUList (bool init)
 
 ~JSUList ()
 
bool append (JSULink< Z2SoundHandlePool > *link)
 
bool prepend (JSULink< Z2SoundHandlePool > *link)
 
bool insert (JSULink< Z2SoundHandlePool > *before, JSULink< Z2SoundHandlePool > *link)
 
bool remove (JSULink< Z2SoundHandlePool > *link)
 
JSULink< Z2SoundHandlePool > * getFirst () const
 
JSULink< Z2SoundHandlePool > * getLast () const
 
JSULink< Z2SoundHandlePool > * getNth (int index)
 
JSULink< Z2SoundHandlePool > * getEnd () const
 
u32 getNumLinks () const
 
- Protected Member Functions inherited from JSUPtrList
 JSUPtrList ()
 
 JSUPtrList (bool init)
 
 ~JSUPtrList ()
 
void initiate ()
 
void setFirst (JSUPtrLink *first)
 
bool append (JSUPtrLink *ptr)
 
bool prepend (JSUPtrLink *ptr)
 
bool insert (JSUPtrLink *before, JSUPtrLink *ptr)
 
bool remove (JSUPtrLink *ptr)
 
JSUPtrLinkgetNthLink (u32 i) const
 
JSUPtrLinkgetFirstLink () const
 
JSUPtrLinkgetLastLink () const
 
u32 getNumLinks () const
 

Constructor & Destructor Documentation

◆ Z2SoundObjAnime()

Z2SoundObjAnime::Z2SoundObjAnime ( )

Member Function Documentation

◆ ageSounds_()

void Z2SoundObjAnime::ageSounds_ ( )

◆ getSoundID()

u32 Z2SoundObjAnime::getSoundID ( JAUSoundAnimationSound const i_sound,
JGeometry::TVec3< f32 > const param_1,
f32  param_2 
)

◆ init()

void Z2SoundObjAnime::init ( Vec param_0,
u8  param_1 
)
virtual

Reimplemented from Z2SoundObjBase.

◆ initAnime()

void Z2SoundObjAnime::initAnime ( void param_0,
bool  param_1,
f32  param_2,
f32  param_3 
)

◆ playsSound()

bool Z2SoundObjAnime::playsSound ( JAUSoundAnimationSound const i_sound,
JGeometry::TVec3< f32 > const param_1,
f32  param_2 
)

◆ setLoopEndFrame()

void Z2SoundObjAnime::setLoopEndFrame ( f32  i_frame)
inline

◆ setLoopFrame()

void Z2SoundObjAnime::setLoopFrame ( f32  i_startFrame,
f32  i_endFrame 
)
inline

◆ setLoopStartFrame()

void Z2SoundObjAnime::setLoopStartFrame ( f32  i_frame)
inline

◆ startSoundInner()

void Z2SoundObjAnime::startSoundInner ( JGeometry::TVec3< f32 > const param_0,
f32  param_1,
Z2SoundStarter param_2,
u32  param_3,
s8  param_4 
)

◆ stopAnime()

void Z2SoundObjAnime::stopAnime ( )
inline

◆ updateAnime()

void Z2SoundObjAnime::updateAnime ( f32  param_0,
f32  param_1 
)

◆ updateSoundLifeTime_()

void Z2SoundObjAnime::updateSoundLifeTime_ ( f32  param_0,
f32  param_1 
)

Member Data Documentation

◆ field_0x24

int Z2SoundObjAnime::field_0x24

◆ field_0x3c

int Z2SoundObjAnime::field_0x3c

◆ mCurSoundFrame

f32 Z2SoundObjAnime::mCurSoundFrame

◆ mCurSoundIndex

int Z2SoundObjAnime::mCurSoundIndex

◆ mEndSoundFrame

f32 Z2SoundObjAnime::mEndSoundFrame

◆ mEndSoundIndex

int Z2SoundObjAnime::mEndSoundIndex

◆ mpAnimation

JAUSoundAnimation* Z2SoundObjAnime::mpAnimation

◆ mReverse

bool Z2SoundObjAnime::mReverse

◆ mStartSoundFrame

f32 Z2SoundObjAnime::mStartSoundFrame

◆ mStartSoundIndex

int Z2SoundObjAnime::mStartSoundIndex

The documentation for this class was generated from the following files: