blob: 08cf6343539f091a8c016ed90ba7dc5847ef6c74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
#ifndef JAISOUNDPARAMS_H
#define JAISOUNDPARAMS_H
#include "dolphin/types.h"
class JAISound;
namespace JAInter {
class MoveParaSet {
public:
MoveParaSet(f32 param_1=1.0f) { init(param_1); }
int set(f32 param_1, u32 param_2);
BOOL move();
void init(f32 value) {
mCurrentValue = value;
mTargetValue = value;
mMoveCounter = 0;
}
/* 0x00 */ f32 mTargetValue;
/* 0x04 */ f32 mCurrentValue;
/* 0x08 */ f32 mMoveAmount;
/* 0x0C */ u32 mMoveCounter;
};
class MoveParaSetInitHalf : public MoveParaSet {
public:
MoveParaSetInitHalf() : MoveParaSet(0.5f) {}
};
class MoveParaSetInitZero : public MoveParaSet {
public:
MoveParaSetInitZero() : MoveParaSet(0.0f) {}
};
class LinkSound {
public:
void init(JAISound* param_1, u32 param_2);
JAISound* getSound();
void releaseSound(JAISound* param_1);
/* 0x00 */ JAISound* field_0x0;
/* 0x04 */ JAISound* field_0x4;
/* 0x08 */ JAISound* Buffer;
};
// unsure which JAI header this class goes in, but it can't be JAISequenceMgr.h or it breaks weak func order
class MuteBit {
public:
MuteBit() {
init();
}
void init() {
mBitNow = 0;
mBitUpdate = 0;
}
bool getBitNow() { return mBitNow; }
void setBitNow(bool bit) { mBitNow = bit; }
bool getBitTarget() { return mBitTarget; }
bool getBitUpdate() { return mBitUpdate; }
private:
u8 mBitNow : 1;
u8 mBitTarget : 1;
u8 mBitUpdate : 1;
};
}
#endif /* JAISOUNDPARAMS_H */
|