Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_iceleaf.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_ICELEAF_H
2#define D_A_OBJ_ICELEAF_H
3
5#include "d/d_cc_d.h"
6#include "d/d_bg_s_acch.h"
7
16class daObjIceLeaf_c : public fopAc_ac_c {
17public:
24
31
32 /* 80C24738 */ void initBaseMtx();
33 /* 80C24774 */ void setBaseMtx();
34 /* 80C249E4 */ int Create();
35 /* 80C24BC4 */ void setAnmPos();
36 /* 80C24C9C */ int CreateHeap();
37 /* 80C24E14 */ int create();
38 /* 80C25158 */ int execute();
39 /* 80C25360 */ void action();
40 /* 80C2541C */ void modeDropWait();
41 /* 80C25614 */ void modeDrop();
42 /* 80C258F8 */ void modePlayerWait();
43 /* 80C25904 */ void modeRide();
44 /* 80C25908 */ void event_proc_call();
45 /* 80C259C4 */ void actionWait();
46 /* 80C259C8 */ void actionOrderEvent();
47 /* 80C25A68 */ void actionEvent();
48 /* 80C25AC4 */ void actionDead();
49 /* 80C25AC8 */ void setFallSE();
50 /* 80C25BB8 */ int draw();
51 /* 80C25C50 */ int _delete();
52
53 void offRide() { mRide = false; }
54 void onRide() { mRide = true; }
55 void setBreakEffect() { mBreakEffect = true; }
56 void deleteActor() { mDeleteActor = true; }
59
60 u8 getEvId() { return fopAcM_GetParamBit(this, 0, 8); }
61 u8 checkRideStatus() { return fopAcM_GetParamBit(this, 0x10, 8); }
62 u8 getSwbit() { return fopAcM_GetParamBit(this, 8, 8); }
63
64private:
66 /* 0x570 */ J3DModel* mpModel;
67 /* 0x574 */ dBgS_ObjAcch mAcch;
69 /* 0x78C */ dCcD_Stts mStts;
70 /* 0x7C8 */ dCcD_Cyl mCyl;
71 /* 0x904 */ mDoExt_bckAnm* mpBck;
73 /* 0x928 */ u8 mMode;
74 /* 0x929 */ u8 mAction;
75 /* 0x92A */ u8 mEvId;
76 /* 0x92B */ u8 field_0x92b;
77 /* 0x92C */ s16 mEventID;
78 /* 0x930 */ Mtx mMtx;
79 /* 0x960 */ u8 mRide;
80 /* 0x961 */ u8 mDeleteActor;
81 /* 0x962 */ u8 mBreakEffect;
82 /* 0x964 */ cXyz mFallSEPos;
83 /* 0x970 */ cXyz mFallStartSEPos;
84};
85
86STATIC_ASSERT(sizeof(daObjIceLeaf_c) == 0x97c);
87
88
89#endif /* D_A_OBJ_ICELEAF_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Ice Leaf.
Definition d_a_obj_iceleaf.h:16
J3DTransformInfo mTransformInfo
Definition d_a_obj_iceleaf.h:72
int draw()
Definition d_a_obj_iceleaf.cpp:411
void setBreakEffect()
Definition d_a_obj_iceleaf.h:55
void setFallSE()
Definition d_a_obj_iceleaf.cpp:394
void onRide()
Definition d_a_obj_iceleaf.h:54
void setBaseMtx()
Definition d_a_obj_iceleaf.cpp:45
void actionEvent()
Definition d_a_obj_iceleaf.cpp:383
u8 mDeleteActor
Definition d_a_obj_iceleaf.h:80
int _delete()
Definition d_a_obj_iceleaf.cpp:426
request_of_phase_process_class mPhase
Definition d_a_obj_iceleaf.h:65
u8 getSwbit()
Definition d_a_obj_iceleaf.h:62
daObjIceLeaf_ACTION
Definition d_a_obj_iceleaf.h:25
@ ACT_WAIT_e
Definition d_a_obj_iceleaf.h:26
@ ACT_ORDER_EVENT_e
Definition d_a_obj_iceleaf.h:27
@ ACT_DEAD_e
Definition d_a_obj_iceleaf.h:29
@ ACT_EVENT_e
Definition d_a_obj_iceleaf.h:28
void actionWait()
Definition d_a_obj_iceleaf.cpp:365
s16 mEventID
Definition d_a_obj_iceleaf.h:77
void setAnmPos()
Definition d_a_obj_iceleaf.cpp:156
J3DModel * mpModel
Definition d_a_obj_iceleaf.h:66
int CreateHeap()
Definition d_a_obj_iceleaf.cpp:172
dBgS_AcchCir mAcchCir
Definition d_a_obj_iceleaf.h:68
u8 mRide
Definition d_a_obj_iceleaf.h:79
daObjIceLeaf_MODE
Definition d_a_obj_iceleaf.h:18
@ MODE_RIDE_e
Definition d_a_obj_iceleaf.h:22
@ MODE_DROP_e
Definition d_a_obj_iceleaf.h:20
@ MODE_PLAYER_WAIT_e
Definition d_a_obj_iceleaf.h:21
@ MODE_DROP_WAIT_e
Definition d_a_obj_iceleaf.h:19
u8 checkRideStatus()
Definition d_a_obj_iceleaf.h:61
int execute()
Definition d_a_obj_iceleaf.cpp:212
void setMode(u8 i_mode)
Definition d_a_obj_iceleaf.h:58
cXyz mFallSEPos
Definition d_a_obj_iceleaf.h:82
void actionDead()
Definition d_a_obj_iceleaf.cpp:391
dCcD_Stts mStts
Definition d_a_obj_iceleaf.h:69
u8 mEvId
Definition d_a_obj_iceleaf.h:75
cXyz mFallStartSEPos
Definition d_a_obj_iceleaf.h:83
void offRide()
Definition d_a_obj_iceleaf.h:53
dCcD_Cyl mCyl
Definition d_a_obj_iceleaf.h:70
void modePlayerWait()
Definition d_a_obj_iceleaf.cpp:343
void modeDrop()
Definition d_a_obj_iceleaf.cpp:291
void event_proc_call()
Definition d_a_obj_iceleaf.cpp:352
void modeDropWait()
Definition d_a_obj_iceleaf.cpp:258
void actionOrderEvent()
Definition d_a_obj_iceleaf.cpp:368
void deleteActor()
Definition d_a_obj_iceleaf.h:56
u8 field_0x92b
Definition d_a_obj_iceleaf.h:76
void modeRide()
Definition d_a_obj_iceleaf.cpp:348
void setAction(u8 i_action)
Definition d_a_obj_iceleaf.h:57
int Create()
Definition d_a_obj_iceleaf.cpp:115
mDoExt_bckAnm * mpBck
Definition d_a_obj_iceleaf.h:71
Mtx mMtx
Definition d_a_obj_iceleaf.h:78
void action()
Definition d_a_obj_iceleaf.cpp:245
u8 getEvId()
Definition d_a_obj_iceleaf.h:60
dBgS_ObjAcch mAcch
Definition d_a_obj_iceleaf.h:67
u8 mMode
Definition d_a_obj_iceleaf.h:73
u8 mBreakEffect
Definition d_a_obj_iceleaf.h:81
u8 mAction
Definition d_a_obj_iceleaf.h:74
void initBaseMtx()
Definition d_a_obj_iceleaf.cpp:18
int create()
Definition d_a_obj_iceleaf.cpp:194
STATIC_ASSERT(sizeof(daObjIceLeaf_c)==0x97c)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:169
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:56
Definition d_a_hozelda.cpp:14
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8