Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_kgate.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_KGATE_H
2#define D_A_OBJ_KGATE_H
3
6#include "d/d_cc_d.h"
7
17public:
18 /* 805880C8 */ void initBaseMtx();
19 /* 8058827C */ void setBaseMtx();
20 /* 80588BF8 */ int create1st();
21 /* 80588D00 */ int checkAreaL(cXyz const*, cXyz const*);
22 /* 805890D4 */ int checkAreaR(cXyz const*, cXyz const*);
23 /* 805894A4 */ BOOL checkOpen();
24 /* 805895D0 */ BOOL checkDirL(fopAc_ac_c*);
25 /* 80589664 */ BOOL checkDirR(fopAc_ac_c*);
26 /* 805896F8 */ void setAtkSE();
27 /* 80589774 */ void setCrkSE();
28 /* 805897F0 */ void action();
29 /* 805898A0 */ void action_typeA();
30 /* 80589F40 */ void action_typeB();
31 /* 8058A1B0 */ void actionWaitEvent();
32 /* 8058A294 */ void actionEvent();
33 /* 8058A2FC */ void actionDead();
34 /* 8058A300 */ void event_proc_call();
35 /* 8058A3A4 */ void demoProc();
36 /* 8058A508 */ int getDemoAction();
37
38 /* 805889A4 */ virtual int CreateHeap();
39 /* 805887A0 */ virtual int Create();
40 /* 8058A550 */ virtual int Execute(Mtx**);
41 /* 8058A5B8 */ virtual int Draw();
42 /* 8058A6F4 */ virtual int Delete();
43
45 u8 getSwNo() { return fopAcM_GetParamBit(this, 0, 8); }
46 u8 getEventID() { return fopAcM_GetParamBit(this, 0x14, 8); }
47 u8 getNameArg() { return fopAcM_GetParamBit(this, 0x10, 4); }
48
49private:
51 /* 0x5A8 */ J3DModel* mpGateModel;
52 /* 0x5AC */ J3DModel* mpGateModel2;
53 /* 0x5B0 */ J3DModel* mpKeyModel;
54 /* 0x5B4 */ J3DModel* mpHookModel;
56 /* 0x5F4 */ dCcD_Cyl field_0x5f4[4];
57 /* 0xAE4 */ dBgW* mpBgW;
58 /* 0xAE8 */ Mtx field_0xae8;
59 /* 0xB18 */ Mtx field_0xb18;
60 /* 0xB48 */ u8 field_0xB48[0xB78 - 0xB48];
61 /* 0xB78 */ s16 mGateRAngle;
62 /* 0xB7A */ s16 mGateLAngle;
63 /* 0xB7C */ u8 field_0xB7C[0xB94 - 0xB7C];
64 /* 0xB94 */ f32 field_0xb94;
65 /* 0xB98 */ f32 field_0xb98;
66 /* 0xB9C */ int mCounter;
67 /* 0xBA0 */ s16 mGateLMove;
68 /* 0xBA2 */ s16 mGateRMove;
69 /* 0xBA4 */ u8 mAction;
70 /* 0xBA5 */ u8 mMapToolID;
71 /* 0xBA6 */ s16 mEventID;
72 /* 0xBA8 */ int mStaffID;
73 /* 0xBAC */ u8 mTimer;
74 /* 0xBAD */ bool mCreatedSmokeEff;
75 /* 0xBAE */ s16 field_0xbae;
76 /* 0xBB0 */ s16 field_0xbb0;
77 /* 0xBB2 */ s16 field_0xbb2;
78 /* 0xBB4 */ f32 field_0xbb4;
79 /* 0xBB8 */ cXyz field_0xbb8;
80 /* 0xBC4 */ cXyz field_0xbc4;
81 /* 0xBD0 */ s16 field_0xbd0;
82 /* 0xBD2 */ u8 field_0xBD2[0xBD4 - 0xBD2];
83 /* 0xBD4 */ cXyz mEffPos;
84 /* 0xBE0 */ csXyz mKeyRot;
85 /* 0xBE8 */ f32 field_0xbe8;
86 /* 0xBEC */ u8 mNameArg;
87 /* 0xBED */ u8 field_0xbed;
88 /* 0xBEE */ u8 field_0xBEE[0xBF0 - 0xBEE];
89 /* 0xBF0 */ cXyz field_0xbf0;
90 /* 0xBFC */ cXyz field_0xbfc;
91};
92
93#endif /* D_A_OBJ_KGATE_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
Coro Gate.
Definition d_a_obj_kgate.h:16
s16 mGateLAngle
Definition d_a_obj_kgate.h:62
J3DModel * mpGateModel
Definition d_a_obj_kgate.h:51
J3DModel * mpHookModel
Definition d_a_obj_kgate.h:54
BOOL checkOpen()
Definition d_a_obj_kgate.cpp:551
BOOL checkDirL(fopAc_ac_c *)
Definition d_a_obj_kgate.cpp:580
int checkAreaR(cXyz const *, cXyz const *)
Definition d_a_obj_kgate.cpp:465
virtual int Create()
Definition d_a_obj_kgate.cpp:241
int getDemoAction()
Definition d_a_obj_kgate.cpp:960
u8 field_0xB48[0xB78 - 0xB48]
Definition d_a_obj_kgate.h:60
dBgW * mpBgW
Definition d_a_obj_kgate.h:57
dCcD_Stts field_0x5b8
Definition d_a_obj_kgate.h:55
BOOL checkDirR(fopAc_ac_c *)
Definition d_a_obj_kgate.cpp:596
void setBaseMtx()
Definition d_a_obj_kgate.cpp:116
void initBaseMtx()
Definition d_a_obj_kgate.cpp:82
void event_proc_call()
Definition d_a_obj_kgate.cpp:908
u8 field_0xbed
Definition d_a_obj_kgate.h:87
s16 field_0xbae
Definition d_a_obj_kgate.h:75
void actionWaitEvent()
Definition d_a_obj_kgate.cpp:880
u8 field_0xBD2[0xBD4 - 0xBD2]
Definition d_a_obj_kgate.h:82
void setAction(u8 i_action)
Definition d_a_obj_kgate.h:44
void action_typeB()
Definition d_a_obj_kgate.cpp:819
s16 field_0xbd0
Definition d_a_obj_kgate.h:81
int mStaffID
Definition d_a_obj_kgate.h:72
cXyz field_0xbf0
Definition d_a_obj_kgate.h:89
J3DModel * mpKeyModel
Definition d_a_obj_kgate.h:53
void action_typeA()
Definition d_a_obj_kgate.cpp:633
s16 field_0xbb0
Definition d_a_obj_kgate.h:76
int create1st()
Definition d_a_obj_kgate.cpp:351
virtual int Draw()
Definition d_a_obj_kgate.cpp:980
Mtx field_0xb18
Definition d_a_obj_kgate.h:59
void action()
Definition d_a_obj_kgate.cpp:622
void setCrkSE()
Definition d_a_obj_kgate.cpp:617
request_of_phase_process_class mPhase
Definition d_a_obj_kgate.h:50
u8 getEventID()
Definition d_a_obj_kgate.h:46
dCcD_Cyl field_0x5f4[4]
Definition d_a_obj_kgate.h:56
s16 mGateLMove
Definition d_a_obj_kgate.h:67
s16 mGateRAngle
Definition d_a_obj_kgate.h:61
u8 getSwNo()
Definition d_a_obj_kgate.h:45
cXyz mEffPos
Definition d_a_obj_kgate.h:83
csXyz mKeyRot
Definition d_a_obj_kgate.h:84
cXyz field_0xbfc
Definition d_a_obj_kgate.h:90
cXyz field_0xbc4
Definition d_a_obj_kgate.h:80
int mCounter
Definition d_a_obj_kgate.h:66
virtual int Delete()
Definition d_a_obj_kgate.cpp:1008
bool mCreatedSmokeEff
Definition d_a_obj_kgate.h:74
f32 field_0xb98
Definition d_a_obj_kgate.h:65
u8 mNameArg
Definition d_a_obj_kgate.h:86
u8 mAction
Definition d_a_obj_kgate.h:69
Mtx field_0xae8
Definition d_a_obj_kgate.h:58
int checkAreaL(cXyz const *, cXyz const *)
Definition d_a_obj_kgate.cpp:381
void setAtkSE()
Definition d_a_obj_kgate.cpp:612
u8 mMapToolID
Definition d_a_obj_kgate.h:70
u8 getNameArg()
Definition d_a_obj_kgate.h:47
virtual int CreateHeap()
Definition d_a_obj_kgate.cpp:301
void actionDead()
Definition d_a_obj_kgate.cpp:904
u8 field_0xB7C[0xB94 - 0xB7C]
Definition d_a_obj_kgate.h:63
f32 field_0xbe8
Definition d_a_obj_kgate.h:85
virtual int Execute(Mtx **)
Definition d_a_obj_kgate.cpp:968
u8 field_0xBEE[0xBF0 - 0xBEE]
Definition d_a_obj_kgate.h:88
s16 field_0xbb2
Definition d_a_obj_kgate.h:77
J3DModel * mpGateModel2
Definition d_a_obj_kgate.h:52
s16 mGateRMove
Definition d_a_obj_kgate.h:68
s16 mEventID
Definition d_a_obj_kgate.h:71
f32 field_0xbb4
Definition d_a_obj_kgate.h:78
void demoProc()
Definition d_a_obj_kgate.cpp:917
f32 field_0xb94
Definition d_a_obj_kgate.h:64
cXyz field_0xbb8
Definition d_a_obj_kgate.h:79
u8 mTimer
Definition d_a_obj_kgate.h:73
void actionEvent()
Definition d_a_obj_kgate.cpp:894
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