Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASDrumSet.h
Go to the documentation of this file.
1#ifndef JASDRUMSET_H
2#define JASDRUMSET_H
3
5
6struct JKRHeap;
7
12struct JASDrumSet : public JASInst {
13 struct TPerc {
14 /* 802984C4 */ TPerc();
15 /* 802984E4 */ void setRelease(u32);
16
19 void setPan(f32 pan) { mPan = pan; }
20
21 /* 0x00 */ f32 mVolume;
22 /* 0x04 */ f32 mPitch;
23 /* 0x08 */ f32 mPan;
24 /* 0x0C */ u16 field_0xc;
25 /* 0x0E */ u16 field_0xe;
26 /* 0x10 */ f32 field_0x10;
27 /* 0x14 */ f32 field_0x14;
28 };
29
30 /* 802982EC */ JASDrumSet();
31 /* 80298314 */ virtual ~JASDrumSet();
32 /* 80298370 */ void newPercArray(u8, JKRHeap*);
33 /* 802983CC */ virtual bool getParam(int, int, JASInstParam*) const;
34 /* 802984B4 */ void setPerc(int, JASDrumSet::TPerc*);
35 /* 802984EC */ virtual u32 getType() const;
36
37 /* 0x4 */ TPerc** field_0x4;
38 /* 0x8 */ u8 field_0x8;
39};
40
41#endif /* JASDRUMSET_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JKRHeap.h:16
Definition JASDrumSet.h:13
u16 field_0xe
Definition JASDrumSet.h:25
void setRelease(u32)
Definition JASDrumSet.cpp:116
f32 mPitch
Definition JASDrumSet.h:22
f32 field_0x14
Definition JASDrumSet.h:27
u16 field_0xc
Definition JASDrumSet.h:24
f32 field_0x10
Definition JASDrumSet.h:26
void setPan(f32 pan)
Definition JASDrumSet.h:19
f32 mPan
Definition JASDrumSet.h:23
TPerc()
Definition JASDrumSet.cpp:107
void setVolume(f32 volume)
Definition JASDrumSet.h:17
void setPitch(f32 pitch)
Definition JASDrumSet.h:18
f32 mVolume
Definition JASDrumSet.h:21
Definition JASDrumSet.h:12
void newPercArray(u8, JKRHeap *)
Definition JASDrumSet.cpp:39
virtual bool getParam(int, int, JASInstParam *) const
Definition JASDrumSet.cpp:58
void setPerc(int, JASDrumSet::TPerc *)
Definition JASDrumSet.cpp:100
TPerc ** field_0x4
Definition JASDrumSet.h:37
virtual ~JASDrumSet()
Definition JASDrumSet.cpp:35
JASDrumSet()
Definition JASDrumSet.cpp:29
u8 field_0x8
Definition JASDrumSet.h:38
virtual u32 getType() const
Definition JASDrumSet.cpp:121
Definition JASBasicInst.h:13
Definition JASBasicInst.h:35
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