Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_lv5IceWall.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LV5ICEWALL_H
2#define D_A_OBJ_LV5ICEWALL_H
3
6#include "d/d_cc_d.h"
7
17public:
22
23 /* 80C6B51C */ void setBaseMtx();
24 /* 80C6B69C */ int create();
25 /* 80C6BBC4 */ void procMain();
26 /* 80C6BC50 */ void init_modeWait();
27 /* 80C6BC6C */ void modeWait();
28 /* 80C6C170 */ void init_modeBreak();
29 /* 80C6C1C0 */ void modeBreak();
30
31 /* 80C6B5E4 */ virtual int CreateHeap();
32 /* 80C6BB60 */ virtual int Execute(Mtx**);
33 /* 80C6C374 */ virtual int Draw();
34 /* 80C6C44C */ virtual int Delete();
35
36 int getSwBit1() { return fopAcM_GetParamBit(this, 0, 8); }
37
38 int getScaleX() { return fopAcM_GetParamBit(this, 0x10, 5); }
39 int getScaleY() { return fopAcM_GetParamBit(this, 0x15, 5); }
40 int getScaleZ() { return fopAcM_GetParamBit(this, 0x1A, 5); }
41
42 static const dCcD_SrcGObjInf mCcDObjInfo;
43 static dCcD_SrcCyl mCcDCyl;
44
45private:
46 /* 0x5A0 */ dCcD_Stts mCcStts;
47 /* 0x5DC */ dCcD_Cyl mCcCyl[2];
49 /* 0x85C */ J3DModel* mpModel[2];
50 /* 0x864 */ u8 mMode;
51 /* 0x865 */ u8 mIsBreaking;
52 /* 0x866 */ u8 mHitcount;
53 /* 0x867 */ u8 mIsBreakSwBit;
54 /* 0x868 */ u8 mIsBreakingSwBit;
55 /* 0x86C */ cXyz mScale;
56 /* 0x878 */ u32 mEmitter0ID;
57 /* 0x87C */ u32 mEmitter1ID;
58 /* 0x880 */ u32 mEmitter2ID;
59};
60
61STATIC_ASSERT(sizeof(daIceWall_c) == 0x884);
62
64public:
65 /* 80C6B42C */ daIceWall_HIO_c();
66 /* 80C6C550 */ virtual ~daIceWall_HIO_c() {}
67
68 /* 0x04 */ cXyz xyz;
69 /* 0x10 */ u8 hitcount;
70 /* 0x11 */ u8 hitcount2;
71};
72
73
74#endif /* D_A_OBJ_LV5ICEWALL_H */
Definition d_bg_s_movebg_actor.h:10
Definition d_a_obj_lv5IceWall.h:63
u8 hitcount
Definition d_a_obj_lv5IceWall.h:69
daIceWall_HIO_c()
Definition d_a_obj_lv5IceWall.cpp:29
virtual ~daIceWall_HIO_c()
Definition d_a_obj_lv5IceWall.h:66
cXyz xyz
Definition d_a_obj_lv5IceWall.h:68
u8 hitcount2
Definition d_a_obj_lv5IceWall.h:70
Snowpeak Ruins Ice Wall.
Definition d_a_obj_lv5IceWall.h:16
dCcD_Cyl mCcCyl[2]
Definition d_a_obj_lv5IceWall.h:47
void modeWait()
Definition d_a_obj_lv5IceWall.cpp:167
u32 mEmitter2ID
Definition d_a_obj_lv5IceWall.h:58
u8 mIsBreakSwBit
Definition d_a_obj_lv5IceWall.h:53
void setBaseMtx()
Definition d_a_obj_lv5IceWall.cpp:39
int getScaleZ()
Definition d_a_obj_lv5IceWall.h:40
u8 mMode
Definition d_a_obj_lv5IceWall.h:50
int getScaleX()
Definition d_a_obj_lv5IceWall.h:38
static const dCcD_SrcGObjInf mCcDObjInfo
Definition d_a_obj_lv5IceWall.h:74
dCcD_Stts mCcStts
Definition d_a_obj_lv5IceWall.h:46
request_of_phase_process_class mPhase
Definition d_a_obj_lv5IceWall.h:48
int create()
Definition d_a_obj_lv5IceWall.cpp:95
u8 mIsBreaking
Definition d_a_obj_lv5IceWall.h:51
void procMain()
Definition d_a_obj_lv5IceWall.cpp:150
u8 mIsBreakingSwBit
Definition d_a_obj_lv5IceWall.h:54
void modeBreak()
Definition d_a_obj_lv5IceWall.cpp:264
cXyz mScale
Definition d_a_obj_lv5IceWall.h:55
u32 mEmitter0ID
Definition d_a_obj_lv5IceWall.h:56
void init_modeBreak()
Definition d_a_obj_lv5IceWall.cpp:255
int getScaleY()
Definition d_a_obj_lv5IceWall.h:39
virtual int Execute(Mtx **)
Definition d_a_obj_lv5IceWall.cpp:141
daIceWall_MODE
Definition d_a_obj_lv5IceWall.h:18
@ MODE_BREAK
Definition d_a_obj_lv5IceWall.h:20
@ MODE_WAIT
Definition d_a_obj_lv5IceWall.h:19
J3DModel * mpModel[2]
Definition d_a_obj_lv5IceWall.h:49
u8 mHitcount
Definition d_a_obj_lv5IceWall.h:52
void init_modeWait()
Definition d_a_obj_lv5IceWall.cpp:161
static dCcD_SrcCyl mCcDCyl
Definition d_a_obj_lv5IceWall.h:82
int getSwBit1()
Definition d_a_obj_lv5IceWall.h:36
virtual int CreateHeap()
Definition d_a_obj_lv5IceWall.cpp:50
virtual int Draw()
Definition d_a_obj_lv5IceWall.cpp:288
u32 mEmitter1ID
Definition d_a_obj_lv5IceWall.h:57
virtual int Delete()
Definition d_a_obj_lv5IceWall.cpp:301
STATIC_ASSERT(sizeof(daIceWall_c)==0x884)
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:20
Definition d_a_npc_fguard.cpp:86
Definition d_a_npc_fguard.cpp:74
Definition d_cc_d.h:85
Definition d_a_npc_fguard.cpp:70
Definition f_op_actor_mng.h:74
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
unsigned char u8
Definition types.h:8