Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2SoundObject.h
Go to the documentation of this file.
1#ifndef Z2SOUNDOBJECT_H
2#define Z2SOUNDOBJECT_H
3
6
8
10public:
13
14 void deleteObject();
16
17 bool isAlive() const { return mIsInitialized; }
19
20 virtual void framework(u32, s8);
21 virtual void dispose();
22 virtual bool stopOK(Z2SoundHandlePool& pool);
23 virtual void init(Vec* pSoundPos, u8 pNumHandles);
26
29 /* 0x1C */ u16 field_0x1c;
30 /* 0x1E */ s8 field_0x1e;
31 /* 0x1F */ bool mIsInitialized;
32};
33
43
45public:
46 /* 802BEB94 */ Z2SoundObjAnime();
47 /* 802BEBFC */ void initAnime(void*, bool, f32, f32);
48 /* 802BED68 */ void ageSounds_();
49 /* 802BEED4 */ void updateAnime(f32, f32);
50 /* 802BF304 */ void updateSoundLifeTime_(f32, f32);
51 /* 802BF660 */ void startSoundInner(JGeometry::TVec3<f32> const&, f32, Z2SoundStarter*, u32,
52 s8);
53 /* 802BF890 */ u32 getSoundID(JAUSoundAnimationSound const*,
55 /* 802BF898 */ bool playsSound(JAUSoundAnimationSound const*, JGeometry::TVec3<f32> const&,
56 f32);
57
58 /* 802BEBDC */ virtual void init(Vec*, u8);
59
73
75 /* 0x24 */ int field_0x24;
76 /* 0x28 */ f32 mCurSoundFrame;
78 /* 0x30 */ f32 mEndSoundFrame;
79 /* 0x34 */ int mStartSoundIndex;
80 /* 0x38 */ int mEndSoundIndex;
81 /* 0x3C */ int field_0x3c;
82 /* 0x40 */ int mCurSoundIndex;
83 /* 0x44 */ bool mReverse;
84};
85
99
101public:
102 /* 802BEB38 */ Z2SoundObjArrow();
103 /* 802BEB74 */ virtual void init(Vec*, u8);
104};
105
106#endif /* Z2SOUNDOBJECT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JAUSoundAnimator.h:12
Definition JAUSoundAnimator.h:94
int getStartSoundIndex(f32) const
Definition JAUSoundAnimator.cpp:9
int getEndSoundIndex(f32) const
Definition JAUSoundAnimator.cpp:20
Definition Z2SoundObject.h:86
virtual Z2SoundHandlePool * startSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:217
Z2DopplerSoundObjBase()
Definition Z2SoundObject.cpp:185
JGeometry::TVec3< f32 > field_0x2c
Definition Z2SoundObject.h:97
JGeometry::TVec3< f32 > field_0x20
Definition Z2SoundObject.h:96
~Z2DopplerSoundObjBase()
Definition Z2SoundObject.cpp:191
virtual Z2SoundHandlePool * startLevelSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:232
virtual void framework(u32, s8)
Definition Z2SoundObject.cpp:205
Definition Z2SoundHandles.h:10
Definition Z2SoundHandles.h:16
Definition Z2SoundObject.h:44
Z2SoundObjAnime()
Definition Z2SoundObject.cpp:306
bool playsSound(JAUSoundAnimationSound const *, JGeometry::TVec3< f32 > const &, f32)
Definition Z2SoundObject.cpp:510
void updateSoundLifeTime_(f32, f32)
Definition Z2SoundObject.cpp:420
f32 mCurSoundFrame
Definition Z2SoundObject.h:76
int field_0x3c
Definition Z2SoundObject.h:81
void setLoopEndFrame(f32 i_frame)
Definition Z2SoundObject.h:65
u32 getSoundID(JAUSoundAnimationSound const *, JGeometry::TVec3< f32 > const &, f32)
Definition Z2SoundObject.cpp:503
f32 mStartSoundFrame
Definition Z2SoundObject.h:77
void initAnime(void *, bool, f32, f32)
Definition Z2SoundObject.cpp:318
void updateAnime(f32, f32)
Definition Z2SoundObject.cpp:370
void startSoundInner(JGeometry::TVec3< f32 > const &, f32, Z2SoundStarter *, u32, s8)
Definition Z2SoundObject.cpp:462
int field_0x24
Definition Z2SoundObject.h:75
void setLoopFrame(f32 i_startFrame, f32 i_endFrame)
Definition Z2SoundObject.h:69
void ageSounds_()
Definition Z2SoundObject.cpp:342
int mCurSoundIndex
Definition Z2SoundObject.h:82
int mEndSoundIndex
Definition Z2SoundObject.h:80
bool mReverse
Definition Z2SoundObject.h:83
f32 mEndSoundFrame
Definition Z2SoundObject.h:78
int mStartSoundIndex
Definition Z2SoundObject.h:79
void setLoopStartFrame(f32 i_frame)
Definition Z2SoundObject.h:61
JAUSoundAnimation * mpAnimation
Definition Z2SoundObject.h:74
void stopAnime()
Definition Z2SoundObject.h:60
Definition Z2SoundObject.h:100
Z2SoundObjArrow()
Definition Z2SoundObject.cpp:298
Definition Z2SoundObject.h:9
bool mIsInitialized
Definition Z2SoundObject.h:31
void deleteObject()
Definition Z2SoundObject.cpp:37
virtual Z2SoundHandlePool * startLevelSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:115
s8 field_0x1e
Definition Z2SoundObject.h:30
virtual void framework(u32, s8)
Definition Z2SoundObject.cpp:42
virtual Z2SoundHandlePool * startSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:78
virtual bool stopOK(Z2SoundHandlePool &pool)
Definition Z2SoundObject.cpp:71
virtual void dispose()
Definition Z2SoundObject.cpp:51
~Z2SoundObjBase()
Definition Z2SoundObject.cpp:25
void setSoundStarter(Z2SoundStarter *i_soundStarter)
Definition Z2SoundObject.h:18
Z2SoundHandlePool * startCollisionSE(u32, u32, Z2SoundObjBase *)
Definition Z2SoundObject.cpp:152
Z2SoundObjBase()
Definition Z2SoundObject.cpp:15
JGeometry::TVec3< f32 > * mSoundPos
Definition Z2SoundObject.h:28
bool isAlive() const
Definition Z2SoundObject.h:17
u16 field_0x1c
Definition Z2SoundObject.h:29
Z2SoundStarter * mSoundStarter
Definition Z2SoundObject.h:27
Definition Z2SoundObject.h:34
Z2SoundObjSimple()
Definition Z2SoundObject.cpp:247
~Z2SoundObjSimple()
Definition Z2SoundObject.h:37
virtual Z2SoundHandlePool * startLevelSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:270
virtual Z2SoundHandlePool * startSound(JAISoundID, u32, s8)
Definition Z2SoundObject.cpp:255
static initFunc init[]
Definition d_menu_collect.cpp:42
Definition d_a_obj_sekizoa.cpp:447
Definition JGeometry.h:55
Definition d_a_hozelda.cpp:18
Definition Z2SoundStarter.h:6
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8