Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_rgate.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_RGATE_H
2#define D_A_OBJ_RGATE_H
3
6#include "d/d_cc_d.h"
7
17public:
18 /* 80CB9DF8 */ void initBaseMtx();
19 /* 80CB9F4C */ void setBaseMtx();
20 /* 80CBA828 */ int create1st();
21 /* 80CBA8A8 */ int checkAreaL(cXyz const*, cXyz const*);
22 /* 80CBAC38 */ int checkAreaR(cXyz const*, cXyz const*);
23 /* 80CBAFC4 */ BOOL checkOpen();
24 /* 80CBB0F0 */ BOOL checkDirL(fopAc_ac_c*);
25 /* 80CBB180 */ BOOL checkDirR(fopAc_ac_c*);
26 /* 80CBB210 */ void setAtkSE();
27 /* 80CBB28C */ void setCrkSE();
28 /* 80CBB308 */ void action();
29 /* 80CBB370 */ void action_typeA();
30 /* 80CBBA10 */ void actionWaitEvent();
31 /* 80CBBAF4 */ void actionEvent();
32 /* 80CBBB5C */ void actionDead();
33 /* 80CBBB60 */ void event_proc_call();
34 /* 80CBBC04 */ void demoProc();
35 /* 80CBBD68 */ int getDemoAction();
36
37 /* 80CBA654 */ virtual int CreateHeap();
38 /* 80CBA468 */ virtual int Create();
39 /* 80CBBDB0 */ virtual int Execute(Mtx**);
40 /* 80CBBE18 */ virtual int Draw();
41 /* 80CBBF34 */ virtual int Delete();
42
44
45 u8 getSwNo() { return fopAcM_GetParamBit(this, 0, 8); }
46 u8 getEventID() { return fopAcM_GetParamBit(this, 0x14, 8); }
47
49 /* 0x5A8 */ J3DModel* mpGateModel;
50 /* 0x5AC */ J3DModel* mpKeyModel;
51 /* 0x5B0 */ J3DModel* mpHookModel;
52 /* 0x5B4 */ dCcD_Stts mCcStatus;
53 /* 0x5F0 */ dCcD_Cyl mCyls[4];
54 /* 0xAE0 */ dBgW* mpBgW;
55 /* 0xAE4 */ Mtx field_0xae4;
56 /* 0xB14 */ Mtx field_0xb14;
57 /* 0xB44 */ u8 field_0xB44[0xB74 - 0xB44];
58 /* 0xB74 */ s16 mGateRAngle;
59 /* 0xB76 */ s16 mGateLAngle;
60 /* 0xB78 */ u8 field_0xB78[0xB90 - 0xB78];
61 /* 0xB90 */ f32 field_0xb90;
62 /* 0xB94 */ f32 field_0xb94;
63 /* 0xB98 */ int mCounter;
64 /* 0xB9C */ s16 mGateLMove;
65 /* 0xB9E */ s16 mGateRMove;
66 /* 0xBA0 */ u8 mAction;
67 /* 0xBA1 */ u8 mMapToolID;
68 /* 0xBA2 */ s16 mEventID;
69 /* 0xBA4 */ int mStaffID;
70 /* 0xBA8 */ u8 mTimer;
71 /* 0xBA9 */ bool mCreatedSmokeEff;
72 /* 0xBAA */ s16 field_0xbaa;
73 /* 0xBAC */ s16 field_0xbac;
74 /* 0xBAE */ s16 field_0xbae;
75 /* 0xBB0 */ f32 field_0xbb0;
76 /* 0xBB4 */ cXyz field_0xbb4;
77 /* 0xBC0 */ cXyz field_0xbc0;
78 /* 0xBCC */ s16 field_0xbcc;
79 /* 0xBD0 */ cXyz mEffPos;
80 /* 0xBDC */ csXyz mKeyRot;
81 /* 0xBE4 */ f32 field_0xbe4;
82 /* 0xBE8 */ cXyz field_0xbe8;
83 /* 0xBF4 */ cXyz field_0xbf4;
84 /* 0xC00 */ Mtx field_0xc00;
85 /* 0xC30 */ Mtx field_0xc30;
86};
87
88STATIC_ASSERT(sizeof(daObjRgate_c) == 0xC60);
89
90#endif /* D_A_OBJ_RGATE_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_s_movebg_actor.h:10
Definition d_bg_w.h:252
Rider Gate.
Definition d_a_obj_rgate.h:16
int mStaffID
Definition d_a_obj_rgate.h:69
J3DModel * mpGateModel
Definition d_a_obj_rgate.h:49
void demoProc()
Definition d_a_obj_rgate.cpp:803
u8 mMapToolID
Definition d_a_obj_rgate.h:67
f32 field_0xbb0
Definition d_a_obj_rgate.h:75
int checkAreaR(cXyz const *, cXyz const *)
Definition d_a_obj_rgate.cpp:420
Mtx field_0xc30
Definition d_a_obj_rgate.h:85
void setAtkSE()
Definition d_a_obj_rgate.cpp:559
bool mCreatedSmokeEff
Definition d_a_obj_rgate.h:71
s16 mGateRAngle
Definition d_a_obj_rgate.h:58
BOOL checkOpen()
Definition d_a_obj_rgate.cpp:498
cXyz field_0xbc0
Definition d_a_obj_rgate.h:77
void setAction(u8 i_action)
Definition d_a_obj_rgate.h:43
f32 field_0xbe4
Definition d_a_obj_rgate.h:81
void actionDead()
Definition d_a_obj_rgate.cpp:790
virtual int Create()
Definition d_a_obj_rgate.cpp:238
dCcD_Cyl mCyls[4]
Definition d_a_obj_rgate.h:53
dCcD_Stts mCcStatus
Definition d_a_obj_rgate.h:52
s16 field_0xbae
Definition d_a_obj_rgate.h:74
void initBaseMtx()
Definition d_a_obj_rgate.cpp:93
int mCounter
Definition d_a_obj_rgate.h:63
int create1st()
Definition d_a_obj_rgate.cpp:330
u8 getSwNo()
Definition d_a_obj_rgate.h:45
csXyz mKeyRot
Definition d_a_obj_rgate.h:80
BOOL checkDirR(fopAc_ac_c *)
Definition d_a_obj_rgate.cpp:543
s16 field_0xbcc
Definition d_a_obj_rgate.h:78
Mtx field_0xc00
Definition d_a_obj_rgate.h:84
u8 field_0xB44[0xB74 - 0xB44]
Definition d_a_obj_rgate.h:57
cXyz mEffPos
Definition d_a_obj_rgate.h:79
J3DModel * mpHookModel
Definition d_a_obj_rgate.h:51
cXyz field_0xbe8
Definition d_a_obj_rgate.h:82
void actionEvent()
Definition d_a_obj_rgate.cpp:780
cXyz field_0xbf4
Definition d_a_obj_rgate.h:83
int checkAreaL(cXyz const *, cXyz const *)
Definition d_a_obj_rgate.cpp:344
s16 mEventID
Definition d_a_obj_rgate.h:68
u8 mTimer
Definition d_a_obj_rgate.h:70
void setBaseMtx()
Definition d_a_obj_rgate.cpp:120
f32 field_0xb94
Definition d_a_obj_rgate.h:62
virtual int Execute(Mtx **)
Definition d_a_obj_rgate.cpp:854
BOOL checkDirL(fopAc_ac_c *)
Definition d_a_obj_rgate.cpp:527
virtual int Draw()
Definition d_a_obj_rgate.cpp:866
Mtx field_0xb14
Definition d_a_obj_rgate.h:56
void action()
Definition d_a_obj_rgate.cpp:569
void actionWaitEvent()
Definition d_a_obj_rgate.cpp:766
void event_proc_call()
Definition d_a_obj_rgate.cpp:794
virtual int CreateHeap()
Definition d_a_obj_rgate.cpp:286
cXyz field_0xbb4
Definition d_a_obj_rgate.h:76
int getDemoAction()
Definition d_a_obj_rgate.cpp:846
u8 field_0xB78[0xB90 - 0xB78]
Definition d_a_obj_rgate.h:60
u8 mAction
Definition d_a_obj_rgate.h:66
s16 mGateRMove
Definition d_a_obj_rgate.h:65
J3DModel * mpKeyModel
Definition d_a_obj_rgate.h:50
s16 mGateLMove
Definition d_a_obj_rgate.h:64
u8 getEventID()
Definition d_a_obj_rgate.h:46
Mtx field_0xae4
Definition d_a_obj_rgate.h:55
f32 field_0xb90
Definition d_a_obj_rgate.h:61
virtual int Delete()
Definition d_a_obj_rgate.cpp:892
void action_typeA()
Definition d_a_obj_rgate.cpp:579
void setCrkSE()
Definition d_a_obj_rgate.cpp:564
request_of_phase_process_class mPhase
Definition d_a_obj_rgate.h:48
s16 field_0xbaa
Definition d_a_obj_rgate.h:72
dBgW * mpBgW
Definition d_a_obj_rgate.h:54
s16 mGateLAngle
Definition d_a_obj_rgate.h:59
s16 field_0xbac
Definition d_a_obj_rgate.h:73
STATIC_ASSERT(sizeof(daObjRgate_c)==0xC60)
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_ep.cpp:66
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:14
int BOOL
Definition types.h:27
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned char u8
Definition types.h:8