Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_door_mbossL1.h
Go to the documentation of this file.
1#ifndef D_A_DOOR_MBOSSL1_H
2#define D_A_DOOR_MBOSSL1_H
3
4#include "dolphin/types.h"
5#include "f_op/f_op_actor.h"
7#include "d/d_bg_w.h"
8#include "d/d_bg_s_acch.h"
9
11public:
12 /* 806728B4 */ void calcMtx(fopAc_ac_c*);
13 /* 80672970 */ void closeInit(fopAc_ac_c*, u8);
14 /* 80672AE4 */ int closeProc(fopAc_ac_c*);
15 /* 80672B70 */ void openInit(fopAc_ac_c*, u8);
16 /* 80672CD8 */ int openProc(fopAc_ac_c*);
17 /* 80672D80 */ int create(J3DModelData*);
18 /* 80672DCC */ void draw(fopAc_ac_c*);
19 /* 80672E44 */ f32 getHeight();
20
21 /* 0x0 */ J3DModel* mModel;
22 /* 0x4 */ f32 field_0x4;
23 /* 0x8 */ u8 field_0x8;
24 /* 0x9 */ u8 field_0x9;
25 /* 0xA */ u8 field_0xa;
26 /* 0xB */ u8 field_0xb;
27};
28
37class daMBdoorL1_c : public fopAc_ac_c {
38public:
44
54
56
57 /* 80672E70 */ char* getAnmArcName();
58 /* 80672EE8 */ char* getArcName();
59 /* 80672F74 */ char* getAlwaysArcName();
60 /* 80672F84 */ int getDoorType();
61 /* 80672FE4 */ char* getOpenAnm();
62 /* 80673048 */ char* getCloseAnm();
63 /* 806730AC */ char* getBmd();
64 /* 80673100 */ char* getBtk();
65 /* 80673110 */ char* getDzb();
66 /* 80673140 */ J3DModelData* getDoorModelData();
67 /* 80673164 */ int CreateHeap();
68 /* 806735F8 */ void calcMtx();
69 /* 80673790 */ int createKey();
70 /* 806738CC */ int CreateInit();
71 /* 80673B9C */ int create();
72 /* 80673E78 */ int getDemoAction();
73 /* 80673EC0 */ void demoProc();
74 /* 80674AF4 */ int openInit();
75 /* 80674DA4 */ int openProc();
76 /* 80674FDC */ int openEnd();
77 /* 80675068 */ int closeInit();
78 /* 806752BC */ int closeProc();
79 /* 80675304 */ int closeEnd();
80 /* 806753CC */ int unlockInit();
81 /* 80675414 */ int unlock();
82 /* 80675470 */ int openInitKnob(int);
83 /* 80675678 */ int openProcKnob(int);
84 /* 80675734 */ int openEndKnob(int);
85 /* 80675894 */ void calcGoal(cXyz*, int);
86 /* 806759E4 */ int setAngle();
87 /* 80675ADC */ void setAngleQuickly();
88 /* 80675B30 */ int adjustmentProc();
89 /* 80675DB0 */ void setPos();
90 /* 80675EE4 */ void setStart(f32, f32);
91 /* 80676004 */ void smokeInit2();
92 /* 806760B4 */ int checkArea();
93 /* 806762A4 */ int checkFront();
94 /* 80676308 */ int checkOpen();
95 /* 806764D0 */ int checkFrontKey();
96 /* 80676568 */ int checkBackKey();
97 /* 80676570 */ int checkFrontStop();
98 /* 80676610 */ int checkBackStop();
99 /* 806766B0 */ int checkFrontSw();
100 /* 80676744 */ int checkBackSw();
101 /* 806767D8 */ int checkStopOpen();
102 /* 8067684C */ int startDemoEnd();
103 /* 806769A4 */ int checkMBossRoom();
104 /* 806769D0 */ int checkStopClose();
105 /* 80676AB4 */ int checkMakeStop();
106 /* 80676B64 */ int checkMakeKey();
107 /* 80676BE0 */ int actionWait();
108 /* 80676BE8 */ int actionCloseWait();
109 /* 80676DEC */ int actionStopClose();
110 /* 80676E40 */ int actionDemo();
111 /* 80676EB4 */ int actionOpen();
112 /* 80676ED8 */ int actionInit();
113 /* 80676FE4 */ int actionStartDemo();
114 /* 80677050 */ int execute();
115 /* 80677158 */ int draw();
116 /* 806771B4 */ void draw_sub0();
117 /* 806772C4 */ void draw_sub1();
118 /* 806773DC */ int Delete();
119
121 mAction = action;
122 }
123
124private:
128 /* 0x580 */ J3DModel* mModels[2];
129 /* 0x588 */ mDoExt_bckAnm* mBckAnms[2];
132 /* 0x598 */ dBgW* field_0x598;
133 /* 0x59C */ Mtx field_0x59c;
134 /* 0x5CC */ u8 mAction;
135 /* 0x5CD */ u8 field_0x5cd;
136 /* 0x5CE */ s16 field_0x5ce;
137 /* 0x5D0 */ s16 field_0x5d0;
138 /* 0x5D2 */ s16 field_0x5d2;
139 /* 0x5D4 */ s16 field_0x5d4[4];
140 /* 0x5DC */ u8 field_0x5dc;
141 /* 0x5DE */ u8 field_0x5dd;
142 /* 0x5DE */ u8 field_0x5de;
143 /* 0x5DF */ u8 field_0x5df;
144 /* 0x5E0 */ u8 field_0x5e0;
145 /* 0x5E1 */ u8 field_0x5e1;
146 /* 0x5E4 */ u32 field_0x5e4;
147 /* 0x5E8 */ u32 field_0x5e8;
148 /* 0x5EC */ int field_0x5ec;
149 /* 0x5F0 */ u32 mStopperId;
150 /* 0x5F4 */ s32 mKeyHoleId;
154 /* 0x81C */ cXyz field_0x81c;
155 /* 0x828 */ cXyz field_0x828;
156};
157
158STATIC_ASSERT(sizeof(daMBdoorL1_c) == 0x834);
159
160#endif /* D_A_DOOR_MBOSSL1_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_w.h:252
Definition d_a_door_mbossL1.h:10
f32 getHeight()
Definition d_a_door_mbossL1.cpp:218
int openProc(fopAc_ac_c *)
Definition d_a_door_mbossL1.cpp:183
int closeProc(fopAc_ac_c *)
Definition d_a_door_mbossL1.cpp:145
u8 field_0xa
Definition d_a_door_mbossL1.h:25
u8 field_0x8
Definition d_a_door_mbossL1.h:23
u8 field_0xb
Definition d_a_door_mbossL1.h:26
void openInit(fopAc_ac_c *, u8)
Definition d_a_door_mbossL1.cpp:158
J3DModel * mModel
Definition d_a_door_mbossL1.h:21
int create(J3DModelData *)
Definition d_a_door_mbossL1.cpp:199
void calcMtx(fopAc_ac_c *)
Definition d_a_door_mbossL1.cpp:37
u8 field_0x9
Definition d_a_door_mbossL1.h:24
f32 field_0x4
Definition d_a_door_mbossL1.h:22
void closeInit(fopAc_ac_c *, u8)
Definition d_a_door_mbossL1.cpp:120
void draw(fopAc_ac_c *)
Definition d_a_door_mbossL1.cpp:209
Mini Boss Door.
Definition d_a_door_mbossL1.h:37
int checkFrontSw()
Definition d_a_door_mbossL1.cpp:1488
u32 field_0x5e8
Definition d_a_door_mbossL1.h:147
mDoExt_bckAnm * mBckAnms[2]
Definition d_a_door_mbossL1.h:129
char * getBtk()
Definition d_a_door_mbossL1.cpp:319
dDoor_stop2_c mDoorStop
Definition d_a_door_mbossL1.h:151
void smokeInit2()
Definition d_a_door_mbossL1.cpp:1352
cXyz field_0x828
Definition d_a_door_mbossL1.h:155
u8 mAction
Definition d_a_door_mbossL1.h:134
s16 field_0x5d0
Definition d_a_door_mbossL1.h:137
u8 field_0x5e0
Definition d_a_door_mbossL1.h:144
int checkFront()
Definition d_a_door_mbossL1.cpp:1400
int checkMBossRoom()
Definition d_a_door_mbossL1.cpp:1545
char * getAlwaysArcName()
Definition d_a_door_mbossL1.cpp:267
char * getOpenAnm()
Definition d_a_door_mbossL1.cpp:286
int closeProc()
Definition d_a_door_mbossL1.cpp:1092
void setStart(f32, f32)
Definition d_a_door_mbossL1.cpp:1337
int checkMakeKey()
Definition d_a_door_mbossL1.cpp:1606
J3DModel * mModels[2]
Definition d_a_door_mbossL1.h:128
int checkStopClose()
Definition d_a_door_mbossL1.cpp:1555
int(daMBdoorL1_c::* actionFunc)()
Definition d_a_door_mbossL1.h:55
int getDoorType()
Definition d_a_door_mbossL1.cpp:272
int checkArea()
Definition d_a_door_mbossL1.cpp:1363
int unlock()
Definition d_a_door_mbossL1.cpp:1119
char * getDzb()
Definition d_a_door_mbossL1.cpp:324
int closeEnd()
Definition d_a_door_mbossL1.cpp:1099
request_of_phase_process_class mPhase3
Definition d_a_door_mbossL1.h:127
int closeInit()
Definition d_a_door_mbossL1.cpp:1066
int openProc()
Definition d_a_door_mbossL1.cpp:1019
int unlockInit()
Definition d_a_door_mbossL1.cpp:1110
void calcMtx()
Definition d_a_door_mbossL1.cpp:417
int checkMakeStop()
Definition d_a_door_mbossL1.cpp:1587
int actionDemo()
Definition d_a_door_mbossL1.cpp:1676
u8 field_0x5de
Definition d_a_door_mbossL1.h:142
int checkBackStop()
Definition d_a_door_mbossL1.cpp:1475
s16 field_0x5d4[4]
Definition d_a_door_mbossL1.h:139
int CreateInit()
Definition d_a_door_mbossL1.cpp:476
int actionWait()
Definition d_a_door_mbossL1.cpp:1616
s16 field_0x5d2
Definition d_a_door_mbossL1.h:138
u8 field_0x5cd
Definition d_a_door_mbossL1.h:135
int field_0x5ec
Definition d_a_door_mbossL1.h:148
DoorType
Definition d_a_door_mbossL1.h:39
@ DOOR_TYPE_1
Definition d_a_door_mbossL1.h:41
@ DOOR_TYPE_0
Definition d_a_door_mbossL1.h:40
@ DOOR_TYPE_2
Definition d_a_door_mbossL1.h:42
u8 field_0x5dd
Definition d_a_door_mbossL1.h:141
char * getBmd()
Definition d_a_door_mbossL1.cpp:308
int checkBackKey()
Definition d_a_door_mbossL1.cpp:1457
int actionStartDemo()
Definition d_a_door_mbossL1.cpp:1719
void demoProc()
Definition d_a_door_mbossL1.cpp:614
int openEndKnob(int)
Definition d_a_door_mbossL1.cpp:1175
int checkStopOpen()
Definition d_a_door_mbossL1.cpp:1514
cXyz field_0x81c
Definition d_a_door_mbossL1.h:154
request_of_phase_process_class mPhase1
Definition d_a_door_mbossL1.h:125
int execute()
Definition d_a_door_mbossL1.cpp:1729
int openInitKnob(int)
Definition d_a_door_mbossL1.cpp:1128
dBgS_AcchCir field_0x7dc
Definition d_a_door_mbossL1.h:153
int CreateHeap()
Definition d_a_door_mbossL1.cpp:338
int adjustmentProc()
Definition d_a_door_mbossL1.cpp:1260
int draw()
Definition d_a_door_mbossL1.cpp:1744
void setAngleQuickly()
Definition d_a_door_mbossL1.cpp:1250
int createKey()
Definition d_a_door_mbossL1.cpp:452
int actionStopClose()
Definition d_a_door_mbossL1.cpp:1667
void setPos()
Definition d_a_door_mbossL1.cpp:1311
int actionCloseWait()
Definition d_a_door_mbossL1.cpp:1622
int checkBackSw()
Definition d_a_door_mbossL1.cpp:1501
J3DModelData * getDoorModelData()
Definition d_a_door_mbossL1.cpp:333
u8 field_0x5dc
Definition d_a_door_mbossL1.h:140
void draw_sub0()
Definition d_a_door_mbossL1.cpp:1758
int getDemoAction()
Definition d_a_door_mbossL1.cpp:581
void calcGoal(cXyz *, int)
Definition d_a_door_mbossL1.cpp:1199
Mtx field_0x59c
Definition d_a_door_mbossL1.h:133
void draw_sub1()
Definition d_a_door_mbossL1.cpp:1776
u8 field_0x5df
Definition d_a_door_mbossL1.h:143
void setAction(u8 action)
Definition d_a_door_mbossL1.h:120
mDoExt_btkAnm * field_0x594
Definition d_a_door_mbossL1.h:131
u32 mStopperId
Definition d_a_door_mbossL1.h:149
int actionInit()
Definition d_a_door_mbossL1.cpp:1694
s16 field_0x5ce
Definition d_a_door_mbossL1.h:136
int checkOpen()
Definition d_a_door_mbossL1.cpp:1412
int openProcKnob(int)
Definition d_a_door_mbossL1.cpp:1160
u8 field_0x5e1
Definition d_a_door_mbossL1.h:145
char * getCloseAnm()
Definition d_a_door_mbossL1.cpp:297
s32 mKeyHoleId
Definition d_a_door_mbossL1.h:150
char * getArcName()
Definition d_a_door_mbossL1.cpp:242
int create()
Definition d_a_door_mbossL1.cpp:538
int openEnd()
Definition d_a_door_mbossL1.cpp:1058
ActionType
Definition d_a_door_mbossL1.h:45
@ ACTION_STOP_CLOSE
Definition d_a_door_mbossL1.h:52
@ ACTION_DEMO
Definition d_a_door_mbossL1.h:51
@ ACTION_INIT
Definition d_a_door_mbossL1.h:46
@ ACTION_START_DEMO
Definition d_a_door_mbossL1.h:47
@ ACTION_CLOSE_WAIT
Definition d_a_door_mbossL1.h:49
@ ACTION_WAIT
Definition d_a_door_mbossL1.h:48
@ ACTION_OPEN
Definition d_a_door_mbossL1.h:50
dBgW * field_0x598
Definition d_a_door_mbossL1.h:132
request_of_phase_process_class mPhase2
Definition d_a_door_mbossL1.h:126
int startDemoEnd()
Definition d_a_door_mbossL1.cpp:1528
int checkFrontKey()
Definition d_a_door_mbossL1.cpp:1444
int openInit()
Definition d_a_door_mbossL1.cpp:964
int setAngle()
Definition d_a_door_mbossL1.cpp:1228
dBgS_ObjAcch field_0x604
Definition d_a_door_mbossL1.h:152
char * getAnmArcName()
Definition d_a_door_mbossL1.cpp:229
mDoExt_bckAnm * field_0x590
Definition d_a_door_mbossL1.h:130
int Delete()
Definition d_a_door_mbossL1.cpp:1793
int checkFrontStop()
Definition d_a_door_mbossL1.cpp:1462
u32 field_0x5e4
Definition d_a_door_mbossL1.h:146
int actionOpen()
Definition d_a_door_mbossL1.cpp:1688
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daMBdoorL1_c)==0x834)
f32 Mtx[3][4]
Definition mtx.h:15
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_npc_fguard.cpp:98
Definition d_a_npc_fguard.cpp:94
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8