Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_crvfence.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_CRVFENCE_H
2#define D_A_OBJ_CRVFENCE_H
3
4#include "d/d_bg_s_acch.h"
6#include "d/d_cc_d.h"
8
19public:
20 BOOL CheckVec();
22 void BgRelease();
23 void PosSet(cXyz*);
24 void FenceMove(u8&, cXyz*, csXyz*, cXyz*, s16&);
25 void BrokenAction();
26 void NormalAction();
27 bool checkViewArea(cXyz*);
28 void Action();
29 void setBaseMtx();
30 int CreateHeap();
32 int Create();
33 int Execute(Mtx**);
34 int Draw();
35 int Delete();
36
37private:
38 /* 0x05A0 */ int field_0x5a0;
39 /* 0x05A4 */ int mAction;
40 /* 0x05A8 */ u8 field_0x5a8;
41 /* 0x05AA */ s16 field_0x5aa;
42 /* 0x05AC */ cXyz field_0x5ac;
43 /* 0x05B8 */ cXyz field_0x5b8;
44 /* 0x05C4 */ csXyz field_0x5c4;
45 /* 0x05CA */ u8 field_0x5ca;
46 /* 0x05CC */ s16 field_0x5cc;
47 /* 0x05D0 */ cXyz field_0x5d0;
48 /* 0x05DC */ cXyz field_0x5dc;
49 /* 0x05E8 */ csXyz field_0x5e8;
50 /* 0x05EE */ u8 field_0x5ee;
51 /* 0x05F0 */ s16 field_0x5f0;
52 /* 0x05F2 */ s16 field_0x5f2;
53 /* 0x05F4 */ bool field_0x5f4;
54 /* 0x05F8 */ cXyz field_0x5f8[6];
55 /* 0x0640 */ f32 field_0x640;
56 /* 0x0644 */ int field_0x644;
57 /* 0x0648 */ u8 field_0x648[0x65c - 0x648];
58 /* 0x065C */ J3DModel* field_0x65c;
59 /* 0x0660 */ J3DModel* field_0x660;
60 /* 0x0664 */ J3DModel* field_0x664;
62 /* 0x0670 */ dBgS_AcchCir mAcchCir;
63 /* 0x06B0 */ dBgS_ObjAcch mBgc;
64 /* 0x0888 */ dCcD_Stts mStts;
65 /* 0x08C4 */ dCcD_Sph mSphs[6];
66 /* 0x1014 */ u8 field_0x1014[0x103c - 0x1014];
67};
68
69STATIC_ASSERT(sizeof(daObjCRVFENCE_c) == 0x103c);
70
71
72#endif /* D_A_OBJ_CRVFENCE_H */
cPhs__Step
Definition c_phase.h:8
Definition J3DModel.h:43
Definition c_sxyz.h:10
Definition d_bg_s_acch.h:15
Definition d_bg_s_movebg_actor.h:11
Definition d_bg_s_acch.h:247
Definition d_cc_d.h:473
Definition d_cc_d.h:269
Caravan Fence.
Definition d_a_obj_crvfence.h:18
s16 field_0x5f2
Definition d_a_obj_crvfence.h:52
J3DModel * field_0x660
Definition d_a_obj_crvfence.h:59
cXyz field_0x5ac
Definition d_a_obj_crvfence.h:42
J3DModel * field_0x65c
Definition d_a_obj_crvfence.h:58
int CreateHeap()
Definition d_a_obj_crvfence.cpp:299
csXyz field_0x5c4
Definition d_a_obj_crvfence.h:44
void BrokenAction()
Definition d_a_obj_crvfence.cpp:106
bool field_0x5f4
Definition d_a_obj_crvfence.h:53
s16 field_0x5f0
Definition d_a_obj_crvfence.h:51
cXyz field_0x5f8[6]
Definition d_a_obj_crvfence.h:54
void BgRelease()
Definition d_a_obj_crvfence.cpp:64
int Create()
Definition d_a_obj_crvfence.cpp:379
void FenceMove(u8 &, cXyz *, csXyz *, cXyz *, s16 &)
Definition d_a_obj_crvfence.cpp:78
cXyz field_0x5b8
Definition d_a_obj_crvfence.h:43
dBgS_ObjAcch mBgc
Definition d_a_obj_crvfence.h:63
csXyz field_0x5e8
Definition d_a_obj_crvfence.h:49
void Action()
Definition d_a_obj_crvfence.cpp:260
s16 field_0x5aa
Definition d_a_obj_crvfence.h:41
void setBaseMtx()
Definition d_a_obj_crvfence.cpp:272
void NormalAction()
Definition d_a_obj_crvfence.cpp:172
int Execute(Mtx **)
Definition d_a_obj_crvfence.cpp:384
request_of_phase_process_class mPhase
Definition d_a_obj_crvfence.h:61
s16 field_0x5cc
Definition d_a_obj_crvfence.h:46
BOOL Wall_Check(cXyz, cXyz)
Definition d_a_obj_crvfence.cpp:43
u8 field_0x5ee
Definition d_a_obj_crvfence.h:50
dCcD_Stts mStts
Definition d_a_obj_crvfence.h:64
int Delete()
Definition d_a_obj_crvfence.cpp:413
u8 field_0x5ca
Definition d_a_obj_crvfence.h:45
u8 field_0x1014[0x103c - 0x1014]
Definition d_a_obj_crvfence.h:66
int Draw()
Definition d_a_obj_crvfence.cpp:391
u8 field_0x648[0x65c - 0x648]
Definition d_a_obj_crvfence.h:57
int field_0x5a0
Definition d_a_obj_crvfence.h:38
J3DModel * field_0x664
Definition d_a_obj_crvfence.h:60
BOOL CheckVec()
Definition d_a_obj_crvfence.cpp:33
u8 field_0x5a8
Definition d_a_obj_crvfence.h:40
int field_0x644
Definition d_a_obj_crvfence.h:56
cXyz field_0x5d0
Definition d_a_obj_crvfence.h:47
dCcD_Sph mSphs[6]
Definition d_a_obj_crvfence.h:65
bool checkViewArea(cXyz *)
Definition d_a_obj_crvfence.cpp:225
f32 field_0x640
Definition d_a_obj_crvfence.h:55
void PosSet(cXyz *)
Definition d_a_obj_crvfence.cpp:72
cPhs__Step create()
Definition d_a_obj_crvfence.cpp:326
dBgS_AcchCir mAcchCir
Definition d_a_obj_crvfence.h:62
cXyz field_0x5dc
Definition d_a_obj_crvfence.h:48
int mAction
Definition d_a_obj_crvfence.h:39
STATIC_ASSERT(sizeof(daObjCRVFENCE_c)==0x103c)
f32 Mtx[3][4]
Definition mtx.h:25
int BOOL
Definition types.h:33
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