Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
Z2WolfHowlMgr.h
Go to the documentation of this file.
1#ifndef Z2WOLFHOWLMGR_H
2#define Z2WOLFHOWLMGR_H
3
6
7/*
8 * Z2WolfHowlData
9 * mLineNum: Number of lines/points within the song
10 * mSongData: u16 array which corresponds to each line/point
11 *
12 * The high byte of each u16 line corresponds to bar type (low, middle, high)
13 * The low byte of each u16 line corresponds to length of note
14 */
15
20
25
26class Z2WolfHowlMgr : public JASGlobalInstance<Z2WolfHowlMgr> {
27public:
29
30 void resetState();
31 void calcVolumeMod(f32);
34 void calcPitchMod(f32, f32);
39 s8 checkLine();
42 int startGuideMelody(bool);
43 void skipCorrectDemo();
44
46 u32 getTimer() { return mTimer; }
49
50private:
56 /* 0x14 */ f32 mNowInputValue;
57 /* 0x18 */ f32 field_0x18;
58 /* 0x1C */ f32 field_0x1c;
59 /* 0x20 */ f32 field_0x20;
60 /* 0x24 */ f32 field_0x24;
61 /* 0x28 */ f32 field_0x28;
62 /* 0x2C */ u8 field_0x2c[4];
63 /* 0x30 */ f32 field_0x30;
64 /* 0x34 */ f32 field_0x34;
65 /* 0x38 */ f32 field_0x38[10];
66 /* 0x60 */ f32 field_0x60[10];
67 /* 0x88 */ u32 mTimer;
68 /* 0x8C */ u8 mReleaseTimer;
69 /* 0x8D */ u8 field_0x8d;
70 /* 0x8E */ s8 mCorrectCurveID;
71 /* 0x8F */ u8 field_0x8f;
72 /* 0x90 */ s16 field_0x90;
73 /* 0x92 */ u16 field_0x92[20];
74 /* 0xBA */ u8 field_0xba;
75 /* 0xBB */ s8 field_0xbb;
76 /* 0xBC */ u8 field_0xbc;
77 /* 0xBD */ s8 field_0xbd;
78 /* 0xBE */ u16 field_0xbe;
79};
80
81#endif /* Z2WOLFHOWLMGR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JAISoundHandles.h:14
Definition JASGadget.h:12
Definition Z2WolfHowlMgr.h:26
f32 getNowInputValue()
Definition Z2WolfHowlMgr.cpp:178
f32 mNowInputValue
Definition Z2WolfHowlMgr.h:56
JAISoundHandle field_0x04
Definition Z2WolfHowlMgr.h:52
s8 startWolfHowlSound(f32, f32, bool, f32)
Definition Z2WolfHowlMgr.cpp:225
u16 field_0x92[20]
Definition Z2WolfHowlMgr.h:73
Z2WolfHowlMgr()
Definition Z2WolfHowlMgr.cpp:100
u8 field_0x8d
Definition Z2WolfHowlMgr.h:69
u8 getReleaseTimer()
Definition Z2WolfHowlMgr.h:47
f32 field_0x28
Definition Z2WolfHowlMgr.h:61
void setCorrectCurve(s8 i_curve)
Definition Z2WolfHowlMgr.h:45
s8 checkLine()
Definition Z2WolfHowlMgr.cpp:386
f32 field_0x38[10]
Definition Z2WolfHowlMgr.h:65
int startGuideMelody(bool)
Definition Z2WolfHowlMgr.cpp:495
f32 field_0x18
Definition Z2WolfHowlMgr.h:57
u8 getCorrectCurveID()
Definition Z2WolfHowlMgr.h:48
void startWindStoneSound(s8, Vec *)
Definition Z2WolfHowlMgr.cpp:462
Z2WolfHowlData * mpCurSong
Definition Z2WolfHowlMgr.h:54
s8 field_0xbd
Definition Z2WolfHowlMgr.h:77
s8 getOnLineNum()
Definition Z2WolfHowlMgr.cpp:448
s16 field_0x90
Definition Z2WolfHowlMgr.h:72
void resetState()
Definition Z2WolfHowlMgr.cpp:131
f32 field_0x30
Definition Z2WolfHowlMgr.h:63
JAISoundHandle field_0x08
Definition Z2WolfHowlMgr.h:53
u8 field_0xbc
Definition Z2WolfHowlMgr.h:76
void setCorrectData(s8, Z2WolfHowlData *)
Definition Z2WolfHowlMgr.cpp:277
s8 mCorrectCurveID
Definition Z2WolfHowlMgr.h:70
u32 mTimer
Definition Z2WolfHowlMgr.h:67
f32 getNowPitch()
Definition Z2WolfHowlMgr.cpp:168
f32 field_0x34
Definition Z2WolfHowlMgr.h:64
f32 field_0x20
Definition Z2WolfHowlMgr.h:59
f32 field_0x60[10]
Definition Z2WolfHowlMgr.h:66
u8 mReleaseTimer
Definition Z2WolfHowlMgr.h:68
u8 field_0x2c[4]
Definition Z2WolfHowlMgr.h:62
void calcVolumeMod(f32)
Definition Z2WolfHowlMgr.cpp:149
JAISoundHandle field_0x00
Definition Z2WolfHowlMgr.h:51
u8 field_0x8f
Definition Z2WolfHowlMgr.h:71
void calcPitchMod(f32, f32)
Definition Z2WolfHowlMgr.cpp:183
Z2WolfHowlData * mpSongList
Definition Z2WolfHowlMgr.h:55
u16 field_0xbe
Definition Z2WolfHowlMgr.h:78
SongNote getCorrectLine(u8)
Definition Z2WolfHowlMgr.cpp:345
f32 field_0x24
Definition Z2WolfHowlMgr.h:60
u8 getCorrectLineNum()
Definition Z2WolfHowlMgr.cpp:358
u32 getTimer()
Definition Z2WolfHowlMgr.h:46
s8 field_0xbb
Definition Z2WolfHowlMgr.h:75
u8 field_0xba
Definition Z2WolfHowlMgr.h:74
f32 field_0x1c
Definition Z2WolfHowlMgr.h:58
void skipCorrectDemo()
Definition Z2WolfHowlMgr.cpp:510
Definition Z2WolfHowlMgr.h:16
u8 barType
Definition Z2WolfHowlMgr.h:17
u8 length
Definition Z2WolfHowlMgr.h:18
Definition d_a_hozelda.cpp:18
Definition Z2WolfHowlMgr.h:21
SongNote * mSongData
Definition Z2WolfHowlMgr.h:23
u8 mLineNum
Definition Z2WolfHowlMgr.h:22
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8