Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_bhashi.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_BHASHI_H
2#define D_A_OBJ_BHASHI_H
3
6#include "d/d_cc_d.h"
7#include "d/d_cc_uty.h"
8
9class Hahen_c {
10public:
11 Hahen_c();
12 void Wall_Check();
13 void HahenMotion();
14 bool CheckCull();
15 bool checkViewArea();
16 void Roll_Set(cXyz*, f32, s16);
17
18 /* 0x00 */ cXyz pos;
19 /* 0x0C */ cXyz speed;
20 /* 0x18 */ cXyz scale;
21 /* 0x24 */ csXyz rotation;
22 /* 0x2A */ csXyz rot_speed;
23 /* 0x30 */ u8 status;
24 /* 0x31 */ u8 field_0x31;
25};
26
36public:
37 void initCcCylinder();
38 void setCcCylinder();
39 void Set_Hahen();
40 void Set_Speed(s16, s16, f32, f32);
41 void Obj_Damage(cXyz);
42 void Obj_Damage();
43 void Rolling(cXyz*, f32, f32);
44 void setBaseMtx();
45 int create();
46
47 virtual int CreateHeap();
48 virtual int Create();
49 virtual int Execute(Mtx**);
50 virtual int Draw();
51 virtual int Delete();
52
53private:
54 /* 0x05A0 */ u8 field_0x5A0[0x05A4 - 0x05A0];
55 /* 0x05A4 */ int mMode;
56 /* 0x05A8 */ s16 field_0x5a8;
57 /* 0x05AC */ Hahen_c mHahen[60];
58 /* 0x11DC */ f32 field_0x11dc;
59 /* 0x11E0 */ s16 field_0x11e0;
60 /* 0x11E2 */ u8 mSwbit;
61 /* 0x11E4 */ s16 mDamageTimer;
62 /* 0x11E6 */ u8 field_0x11E6[0x11EC - 0x11E6];
63 /* 0x11EC */ J3DModel* mpPillarMdl;
64 /* 0x11F0 */ J3DModel* mpHahenMdls[60];
66 /* 0x12E8 */ dCcD_Stts mCcStts;
67 /* 0x1324 */ dCcD_Cyl mCcCyl;
68 /* 0x1460 */ u8 field_0x1460;
69 /* 0x1461 */ u8 mIsHahenSimpleEntry;
70};
71
72STATIC_ASSERT(sizeof(daObjBHASHI_c) == 0x1464);
73
74#endif /* D_A_OBJ_BHASHI_H */
Definition d_a_obj_bhashi.h:9
void Roll_Set(cXyz *, f32, s16)
Definition d_a_obj_bhashi.cpp:302
cXyz pos
Definition d_a_obj_bhashi.h:18
u8 field_0x31
Definition d_a_obj_bhashi.h:24
void HahenMotion()
Definition d_a_obj_bhashi.cpp:228
csXyz rotation
Definition d_a_obj_bhashi.h:21
bool checkViewArea()
Definition d_a_obj_bhashi.cpp:284
Hahen_c()
Definition d_a_obj_bhashi.cpp:211
csXyz rot_speed
Definition d_a_obj_bhashi.h:22
cXyz scale
Definition d_a_obj_bhashi.h:20
void Wall_Check()
Definition d_a_obj_bhashi.cpp:216
bool CheckCull()
Definition d_a_obj_bhashi.cpp:276
u8 status
Definition d_a_obj_bhashi.h:23
cXyz speed
Definition d_a_obj_bhashi.h:19
Definition J3DModel.h:43
Definition c_sxyz.h:10
Definition d_bg_s_movebg_actor.h:11
Definition d_cc_d.h:461
Definition d_cc_d.h:269
Pillar.
Definition d_a_obj_bhashi.h:35
void Rolling(cXyz *, f32, f32)
Definition d_a_obj_bhashi.cpp:290
s16 field_0x11e0
Definition d_a_obj_bhashi.h:59
void setBaseMtx()
Definition d_a_obj_bhashi.cpp:321
void initCcCylinder()
Definition d_a_obj_bhashi.cpp:13
J3DModel * mpPillarMdl
Definition d_a_obj_bhashi.h:63
u8 field_0x1460
Definition d_a_obj_bhashi.h:68
virtual int Execute(Mtx **)
Definition d_a_obj_bhashi.cpp:426
virtual int CreateHeap()
Definition d_a_obj_bhashi.cpp:349
virtual int Draw()
Definition d_a_obj_bhashi.cpp:463
s16 field_0x5a8
Definition d_a_obj_bhashi.h:56
dCcD_Cyl mCcCyl
Definition d_a_obj_bhashi.h:67
void Set_Speed(s16, s16, f32, f32)
Definition d_a_obj_bhashi.cpp:68
Hahen_c mHahen[60]
Definition d_a_obj_bhashi.h:57
s16 mDamageTimer
Definition d_a_obj_bhashi.h:61
dCcD_Stts mCcStts
Definition d_a_obj_bhashi.h:66
int create()
Definition d_a_obj_bhashi.cpp:371
int mMode
Definition d_a_obj_bhashi.h:55
u8 field_0x11E6[0x11EC - 0x11E6]
Definition d_a_obj_bhashi.h:62
u8 mSwbit
Definition d_a_obj_bhashi.h:60
f32 field_0x11dc
Definition d_a_obj_bhashi.h:58
J3DModel * mpHahenMdls[60]
Definition d_a_obj_bhashi.h:64
u8 field_0x5A0[0x05A4 - 0x05A0]
Definition d_a_obj_bhashi.h:54
u8 mIsHahenSimpleEntry
Definition d_a_obj_bhashi.h:69
virtual int Delete()
Definition d_a_obj_bhashi.cpp:485
void Set_Hahen()
Definition d_a_obj_bhashi.cpp:52
virtual int Create()
Definition d_a_obj_bhashi.cpp:421
void setCcCylinder()
Definition d_a_obj_bhashi.cpp:35
request_of_phase_process_class mPhase
Definition d_a_obj_bhashi.h:65
void Obj_Damage()
Definition d_a_obj_bhashi.cpp:148
STATIC_ASSERT(sizeof(daObjBHASHI_c)==0x1464)
f32 Mtx[3][4]
Definition mtx.h:25
signed short int s16
Definition types.h:9
float f32
Definition types.h:25
unsigned char u8
Definition types.h:8
Definition c_xyz.h:7
Definition c_phase.h:17