Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_bosswarp.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_BOSSWARP_H
2#define D_A_OBJ_BOSSWARP_H
3
5#include "d/d_msg_flow.h"
6
16public:
17 enum Action {
18 /* 0x0 */ ACT_WAIT,
19 /* 0x1 */ ACT_ORDER_EVENT,
20 /* 0x2 */ ACT_EVENT,
21 /* 0x3 */ ACT_WAIT_WARP,
23 /* 0x5 */ ACT_WARP_EVENT,
24 /* 0x6 */ ACT_DEAD,
26 /* 0x8 */ ACT_CHK_EVENT,
29 };
30
31 /* 80579700 */ void initBaseMtx();
32 /* 80579748 */ void setBaseMtx();
33 /* 805797B8 */ int Create();
34 /* 80579934 */ int CreateHeap();
35 /* 80579B70 */ cPhs__Step create();
36 /* 80579C30 */ void appear(int);
37 /* 80579D98 */ void set_appear();
38 /* 80579E08 */ void disappear(int);
39 /* 80579E5C */ BOOL checkDistance();
40 /* 80579FF8 */ int execute();
41 /* 8057A390 */ void event_proc_call();
42 /* 8057A4F4 */ void actionWait();
43 /* 8057A54C */ void actionOrderEvent();
44 /* 8057A610 */ void actionEvent();
45 /* 8057A678 */ void actionWaitWarp();
46 /* 8057A6E0 */ void actionOrderWarpEvent();
47 /* 8057A778 */ void actionWarpEvent();
48 /* 8057A7C4 */ void actionDead();
49 /* 8057A7C8 */ void actionOrderChkEvent();
50 /* 8057A8B4 */ void actionChkEvent();
51 /* 8057A994 */ void actionOrderCancelEvent();
52 /* 8057AA2C */ void actionCancelEvent();
53 /* 8057AA94 */ int demoProc();
54 /* 8057B0D8 */ void setGoal();
55 /* 8057B190 */ int draw();
56 /* 8057B23C */ int _delete();
57
58 u8 getSwNo() { return fopAcM_GetParamBit(this, 0, 8); }
59 u8 getSceneListNo() { return fopAcM_GetParamBit(this, 8, 8); }
60 bool isFirst() { return fopAcM_GetParamBit(this, 0x1b, 1); }
62
63private:
65 /* 0x570 */ J3DModel* mpModel;
66 /* 0x574 */ mDoExt_btkAnm* mpBtkAnm[2];
67 /* 0x57C */ mDoExt_brkAnm* mpBrkAnm;
68 /* 0x580 */ JPABaseEmitter* mpParticle[4];
69 /* 0x590 */ u8 mAction;
70 /* 0x591 */ bool field_0x591;
73 /* 0x595 */ bool field_0x595;
76 /* 0x599 */ u8 field_0x599;
77 /* 0x59C */ int mStaffId;
78 /* 0x5A0 */ int mTimer;
79 /* 0x5A4 */ cXyz mYstonePos;
81 /* 0x5BC */ cXyz mParticlePos;
83 /* 0x5CA */ u16 mCounter;
84 /* 0x5CC */ f32 mScaleF;
85 /* 0x5D0 */ dMsgFlow_c mMsgFlow;
86 /* 0x61C */ u16 mWarpChoice;
88 /* 0x620 */ cXyz field_0x620;
89 /* 0x62C */ bool mScalingUp;
90};
91
93
94#endif /* D_A_OBJ_BOSSWARP_H */
cPhs__Step
Definition c_phase.h:8
Definition JPAEmitter.h:94
Boss Warp.
Definition d_a_obj_bosswarp.h:15
J3DModel * mpModel
Definition d_a_obj_bosswarp.h:65
s16 mBossWarpInEventId
Definition d_a_obj_bosswarp.h:74
void actionEvent()
Definition d_a_obj_bosswarp.cpp:490
void actionOrderChkEvent()
Definition d_a_obj_bosswarp.cpp:534
mDoExt_brkAnm * mpBrkAnm
Definition d_a_obj_bosswarp.h:67
u8 mBossWarpInMapToolId
Definition d_a_obj_bosswarp.h:75
void actionWarpEvent()
Definition d_a_obj_bosswarp.cpp:522
s16 mWarpCancelEventId
Definition d_a_obj_bosswarp.h:87
void actionChkEvent()
Definition d_a_obj_bosswarp.cpp:551
bool mScalingUp
Definition d_a_obj_bosswarp.h:89
u16 mWarpChoice
Definition d_a_obj_bosswarp.h:86
void initBaseMtx()
Definition d_a_obj_bosswarp.cpp:229
void setAction(u8 action)
Definition d_a_obj_bosswarp.h:61
void actionOrderCancelEvent()
Definition d_a_obj_bosswarp.cpp:570
cXyz mYstoneTargetPos
Definition d_a_obj_bosswarp.h:80
bool field_0x591
Definition d_a_obj_bosswarp.h:70
void actionDead()
Definition d_a_obj_bosswarp.cpp:529
void appear(int)
Definition d_a_obj_bosswarp.cpp:323
u8 mAction
Definition d_a_obj_bosswarp.h:69
cXyz mParticlePos
Definition d_a_obj_bosswarp.h:81
request_of_phase_process_class mPhaseReq
Definition d_a_obj_bosswarp.h:64
bool field_0x595
Definition d_a_obj_bosswarp.h:73
int execute()
Definition d_a_obj_bosswarp.cpp:378
u16 mCounter
Definition d_a_obj_bosswarp.h:83
void actionOrderEvent()
Definition d_a_obj_bosswarp.cpp:477
int CreateHeap()
Definition d_a_obj_bosswarp.cpp:276
void disappear(int)
Definition d_a_obj_bosswarp.cpp:354
s16 mBossClearEventId
Definition d_a_obj_bosswarp.h:71
int Create()
Definition d_a_obj_bosswarp.cpp:243
void actionCancelEvent()
Definition d_a_obj_bosswarp.cpp:582
void actionWait()
Definition d_a_obj_bosswarp.cpp:470
bool isFirst()
Definition d_a_obj_bosswarp.h:60
int mTimer
Definition d_a_obj_bosswarp.h:78
u8 field_0x599
Definition d_a_obj_bosswarp.h:76
void setBaseMtx()
Definition d_a_obj_bosswarp.cpp:236
s16 mWarpCheckEventId
Definition d_a_obj_bosswarp.h:82
void actionWaitWarp()
Definition d_a_obj_bosswarp.cpp:501
void actionOrderWarpEvent()
Definition d_a_obj_bosswarp.cpp:510
int mStaffId
Definition d_a_obj_bosswarp.h:77
mDoExt_btkAnm * mpBtkAnm[2]
Definition d_a_obj_bosswarp.h:66
void setGoal()
Definition d_a_obj_bosswarp.cpp:966
cXyz mYstonePos
Definition d_a_obj_bosswarp.h:79
dMsgFlow_c mMsgFlow
Definition d_a_obj_bosswarp.h:85
int _delete()
Definition d_a_obj_bosswarp.cpp:985
u8 getSceneListNo()
Definition d_a_obj_bosswarp.h:59
int demoProc()
Definition d_a_obj_bosswarp.cpp:683
int draw()
Definition d_a_obj_bosswarp.cpp:974
u8 mBossClearMapToolId
Definition d_a_obj_bosswarp.h:72
void event_proc_call()
Definition d_a_obj_bosswarp.cpp:451
void set_appear()
Definition d_a_obj_bosswarp.cpp:347
Action
Definition d_a_obj_bosswarp.h:17
@ ACT_WAIT
Definition d_a_obj_bosswarp.h:18
@ ACT_WARP_EVENT
Definition d_a_obj_bosswarp.h:23
@ ACT_CHK_EVENT
Definition d_a_obj_bosswarp.h:26
@ ACT_WAIT_WARP
Definition d_a_obj_bosswarp.h:21
@ ACT_ORDER_EVENT
Definition d_a_obj_bosswarp.h:19
@ ACT_ORDER_CHK_EVENT
Definition d_a_obj_bosswarp.h:25
@ ACT_ORDER_CANCEL_EVENT
Definition d_a_obj_bosswarp.h:27
@ ACT_CANCEL_EVENT
Definition d_a_obj_bosswarp.h:28
@ ACT_EVENT
Definition d_a_obj_bosswarp.h:20
@ ACT_DEAD
Definition d_a_obj_bosswarp.h:24
@ ACT_ORDER_WARP_EVENT
Definition d_a_obj_bosswarp.h:22
u8 getSwNo()
Definition d_a_obj_bosswarp.h:58
cXyz field_0x620
Definition d_a_obj_bosswarp.h:88
f32 mScaleF
Definition d_a_obj_bosswarp.h:84
BOOL checkDistance()
Definition d_a_obj_bosswarp.cpp:366
cPhs__Step create()
Definition d_a_obj_bosswarp.cpp:308
JPABaseEmitter * mpParticle[4]
Definition d_a_obj_bosswarp.h:68
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daObjBossWarp_c)==0x630)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_obj_sekizoa.cpp:318
Definition d_a_ep.cpp:19
Definition d_a_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
int BOOL
Definition types.h:27
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8