Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JASSeqCtrl.h
Go to the documentation of this file.
1#ifndef JASSEQCTRL_H
2#define JASSEQCTRL_H
3
5
6class JASTrack;
7class JASSeqParser;
8
14public:
24
25 /* 802938BC */ JASSeqCtrl();
26 /* 80293924 */ void init();
27 /* 80293980 */ void start(void*, u32);
28 /* 802939C4 */ int tickProc(JASTrack*);
29 /* 80293ABC */ void interrupt(JASSeqCtrl::IntrType);
30 /* 80293AE0 */ void setIntrMask(u32);
31 /* 80293AF0 */ void clrIntrMask(u32);
32 /* 80293B00 */ int retIntr();
33 /* 80293B28 */ int findIntr();
34 /* 80293B78 */ void checkIntr();
35 /* 80293BE8 */ void timerProcess();
36
37 const JASSeqReader* getSeqReader() const { return &mReader; }
38 void* getBase() { return mReader.getBase(); }
44 void* getCur() { return mReader.getCur(); }
45 u32 readByte() { return mReader.readByte(); }
46 u32 read16() { return mReader.read16(); }
47 u32 read24() { return mReader.read24(); }
48 bool call(u32 param_0) { return mReader.call(param_0); }
49 bool ret() { return mReader.ret(); }
52 bool loopEnd() { return mReader.loopEnd(); }
55 void clrIntr() { field_0x44 = NULL; }
62 void waitNoteFinish() { field_0x51 = 1; }
63
66 /* 0x40 */ s32 field_0x40;
67 /* 0x44 */ void* field_0x44;
68 /* 0x48 */ u32 field_0x48;
69 /* 0x4c */ u16 field_0x4c;
70 /* 0x4e */ u16 field_0x4e;
71 /* 0x50 */ u8 field_0x50;
72 /* 0x51 */ u8 field_0x51;
73 /* 0x52 */ u16 field_0x52;
74 /* 0x54 */ u32 field_0x54;
75 /* 0x58 */ u32 field_0x58;
77};
78
79#endif /* JASSEQCTRL_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JASSeqCtrl.h:13
void clrIntrMask(u32)
Definition JASSeqCtrl.cpp:98
u32 readByte()
Definition JASSeqCtrl.h:45
JASSeqReader mReader
Definition JASSeqCtrl.h:64
bool loopEnd()
Definition JASSeqCtrl.h:52
void jump(u32 param_0)
Definition JASSeqCtrl.h:50
void checkIntr()
Definition JASSeqCtrl.cpp:126
int readMidiValue()
Definition JASSeqCtrl.h:53
u8 getByte(u32 param_0)
Definition JASSeqCtrl.h:40
bool call(u32 param_0)
Definition JASSeqCtrl.h:48
void setIntrTimer(u32 param_0, u32 param_1)
Definition JASSeqCtrl.h:57
JASSeqParser * field_0x3c
Definition JASSeqCtrl.h:65
u16 get16(u32 param_0)
Definition JASSeqCtrl.h:41
u8 field_0x50
Definition JASSeqCtrl.h:71
int tickProc(JASTrack *)
Definition JASSeqCtrl.cpp:53
void interrupt(JASSeqCtrl::IntrType)
Definition JASSeqCtrl.cpp:86
void clrIntr()
Definition JASSeqCtrl.h:55
u16 field_0x52
Definition JASSeqCtrl.h:73
JASSeqCtrl()
Definition JASSeqCtrl.cpp:15
void * getCur()
Definition JASSeqCtrl.h:44
void timerProcess()
Definition JASSeqCtrl.cpp:140
u16 field_0x4e
Definition JASSeqCtrl.h:70
u32 field_0x54
Definition JASSeqCtrl.h:74
IntrType
Definition JASSeqCtrl.h:15
@ INTRTYPE_VALUE_1
Definition JASSeqCtrl.h:17
@ INTRTYPE_VALUE_3
Definition JASSeqCtrl.h:19
@ INTRTYPE_VALUE_6
Definition JASSeqCtrl.h:22
@ INTRTYPE_VALUE_5
Definition JASSeqCtrl.h:21
@ INTRTYPE_VALUE_2
Definition JASSeqCtrl.h:18
@ INTRTYPE_VALUE_0
Definition JASSeqCtrl.h:16
@ INTRTYPE_VALUE_4
Definition JASSeqCtrl.h:20
void * field_0x44
Definition JASSeqCtrl.h:67
void waitNoteFinish()
Definition JASSeqCtrl.h:62
void * getBase()
Definition JASSeqCtrl.h:38
s32 field_0x40
Definition JASSeqCtrl.h:66
u32 get24(int param_0)
Definition JASSeqCtrl.h:42
bool ret()
Definition JASSeqCtrl.h:49
u32 read24()
Definition JASSeqCtrl.h:47
static JASSeqParser sDefaultParser
Definition JASSeqCtrl.h:76
void init()
Definition JASSeqCtrl.cpp:31
u32 field_0x48
Definition JASSeqCtrl.h:68
const JASSeqReader * getSeqReader() const
Definition JASSeqCtrl.h:37
u32 get32(u32 param_0)
Definition JASSeqCtrl.h:43
u8 field_0x51
Definition JASSeqCtrl.h:72
int findIntr()
Definition JASSeqCtrl.cpp:114
void * getAddr(u32 param_0)
Definition JASSeqCtrl.h:39
bool loopStart(u32 param_0)
Definition JASSeqCtrl.h:51
int retIntr()
Definition JASSeqCtrl.cpp:103
void setIntrMask(u32)
Definition JASSeqCtrl.cpp:93
void setIntrTable(u32 param_0)
Definition JASSeqCtrl.h:56
u32 read16()
Definition JASSeqCtrl.h:46
u16 field_0x4c
Definition JASSeqCtrl.h:69
u32 field_0x58
Definition JASSeqCtrl.h:75
void wait(s32 param_0)
Definition JASSeqCtrl.h:54
Definition JASSeqParser.h:12
Definition JASSeqReader.h:10
void * getAddr(u32 param_0)
Definition JASSeqReader.h:33
void jump(u32 param_1)
Definition JASSeqReader.h:20
bool call(u32)
Definition JASSeqReader.cpp:34
u32 read16()
Definition JASSeqReader.h:39
bool loopEnd()
Definition JASSeqReader.cpp:59
int readMidiValue()
Definition JASSeqReader.cpp:92
u8 getByte(u32 param_0)
Definition JASSeqReader.h:34
u32 get32(u32 param_0)
Definition JASSeqReader.h:36
bool loopStart(u32)
Definition JASSeqReader.cpp:46
u32 readByte()
Definition JASSeqReader.h:38
u32 get24(int param_0)
Definition JASSeqReader.h:28
u32 read24()
Definition JASSeqReader.h:44
u16 get16(u32 param_0)
Definition JASSeqReader.h:35
u32 * getBase()
Definition JASSeqReader.h:32
bool ret()
Definition JASSeqReader.cpp:81
u8 * getCur()
Definition JASSeqReader.h:37
@ start
Definition strtoul.c:8
Definition JASTrack.h:23
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8