Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_scene_exit.h
Go to the documentation of this file.
1#ifndef D_A_SCENE_EXIT_H
2#define D_A_SCENE_EXIT_H
3
5
14class daScex_c : public fopAc_ac_c {
15public:
17 /* 80485838 */ int checkWork();
18 /* 80485A50 */ int execute();
19
20 u8 getArg1() { return (fopAcM_GetParam(this) >> 8) & 0xFF; }
21 u8 getArg0() { return fopAcM_GetParam(this); }
22 u32 getSwNo() { return fopAcM_GetParam(this) >> 0x18; }
23 u16 getOffEventBit() { return home.angle.z & 0xFFF; }
24 u16 getOnEventBit() { return home.angle.x & 0xFFF; }
25 u8 getPathID() { return (fopAcM_GetParam(this) >> 0x10) & 0xFF; }
27
29 cXyz spC;
31 if (spC.y >= 0.0f && spC.y <= scale.y && fabsf(spC.x) <= scale.x && fabsf(spC.z) <= scale.z) {
32 return TRUE;
33 }
34
35 return FALSE;
36 }
37
38 /* 0x568 */ Mtx mMatrix;
39 /* 0x598 */ u8 field_0x598;
40 /* 0x599 */ bool mSceneChangeOK;
41};
42
43#endif /* D_A_SCENE_EXIT_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:79
Scene Exit.
Definition d_a_scene_exit.h:14
u16 getOnEventBit()
Definition d_a_scene_exit.h:24
Mtx mMatrix
Definition d_a_scene_exit.h:38
BOOL checkArea(const cXyz *param_0)
Definition d_a_scene_exit.h:28
int execute()
Definition d_a_scene_exit.cpp:125
u8 field_0x598
Definition d_a_scene_exit.h:39
u16 getOffEventBit()
Definition d_a_scene_exit.h:23
u8 getArg0()
Definition d_a_scene_exit.h:21
bool mSceneChangeOK
Definition d_a_scene_exit.h:40
u8 getArg1()
Definition d_a_scene_exit.h:20
u32 getSwNo()
Definition d_a_scene_exit.h:22
int checkWork()
Definition d_a_scene_exit.cpp:42
daScex_c()
Definition d_a_scene_exit.h:16
u8 getPathID()
Definition d_a_scene_exit.h:25
void setSceneChangeOK()
Definition d_a_scene_exit.h:26
u32 fopAcM_GetParam(const void *i_actor)
Definition f_op_actor_mng.h:166
void mDoMtx_multVec(Mtx m, const Vec *src, Vec *dst)
Definition m_Do_mtx.h:39
float fabsf(float f)
Definition math.h:38
f32 Mtx[3][4]
Definition mtx.h:15
s16 x
Definition vec.h:19
s16 z
Definition vec.h:19
f32 z
Definition vec.h:11
f32 x
Definition vec.h:11
f32 y
Definition vec.h:11
csXyz angle
Definition f_op_actor.h:171
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:19
actor_place home
Definition f_op_actor.h:213
cXyz scale
Definition f_op_actor.h:217
int BOOL
Definition types.h:27
unsigned long u32
Definition types.h:10
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8