Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
JAISeqDataMgr.h
Go to the documentation of this file.
1#ifndef JAISEQDATAMGR_H
2#define JAISEQDATAMGR_H
3
5
10struct JAISeqData {
15
16 void set(void* param_0, u32 param_1) {
19 }
20
21 /* 0x00 */ void* field_0x0;
22 /* 0x04 */ u32 field_0x4;
23};
24
31 if ((u32)addr + size < (u32)seqData.field_0x0) {
32 return false;
33 }
34 if ((u32)seqData.field_0x0 + seqData.field_0x4 < (u32)addr) {
35 return false;
36 }
37 return true;
38 }
39
40 /* 0x00 */ u8* addr;
41 /* 0x04 */ u32 size;
42};
43
49 virtual ~JAISeqDataUser();
50 virtual bool isUsingSeqData(JAISeqDataRegion const&) = 0;
51 virtual int releaseSeqData(JAISeqDataRegion const&) = 0;
52};
53
65
66#endif /* JAISEQDATAMGR_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition JAISeqDataMgr.h:58
virtual ~JAISeqDataMgr()
Definition JAISeqDataMgr.cpp:5
virtual int releaseSeqData()=0
virtual SeqDataReturnValue getSeqData(JAISoundID, JAISeqData *)=0
SeqDataReturnValue
Definition JAISeqDataMgr.h:59
@ SeqDataReturnValue_1
Definition JAISeqDataMgr.h:59
@ SeqDataReturnValue_2
Definition JAISeqDataMgr.h:59
@ SeqDataReturnValue_0
Definition JAISeqDataMgr.h:59
virtual bool setSeqDataUser(JAISeqDataUser *)=0
Definition JAISeqDataMgr.h:29
bool intersects(JAISeqData &seqData) const
Definition JAISeqDataMgr.h:30
u32 size
Definition JAISeqDataMgr.h:41
u8 * addr
Definition JAISeqDataMgr.h:40
Definition JAISeqDataMgr.h:48
virtual bool isUsingSeqData(JAISeqDataRegion const &)=0
virtual int releaseSeqData(JAISeqDataRegion const &)=0
virtual ~JAISeqDataUser()
Definition JAISeqDataMgr.cpp:3
Definition JAISeqDataMgr.h:10
u32 field_0x4
Definition JAISeqDataMgr.h:22
void set(void *param_0, u32 param_1)
Definition JAISeqDataMgr.h:16
void * field_0x0
Definition JAISeqDataMgr.h:21
JAISeqData(void *param_0, u32 param_1)
Definition JAISeqDataMgr.h:11
Definition d_a_obj_sekizoa.cpp:447
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8