Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_door_shutter.h
Go to the documentation of this file.
1#ifndef D_A_DOOR_SHUTTER_H
2#define D_A_DOOR_SHUTTER_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_msg_flow.h"
9#include "d/d_bg_s_acch.h"
10
11struct daDoor20_c;
12
14public:
15 /* 804660F4 */ void calcMtx(daDoor20_c*);
16 /* 804661B0 */ void closeInit(daDoor20_c*);
17 /* 804662C0 */ int closeProc(daDoor20_c*);
18 /* 8046634C */ void openInit(daDoor20_c*);
19 /* 80466458 */ int openProc(daDoor20_c*);
20 /* 804664E8 */ int create(daDoor20_c*);
21 /* 80466538 */ void draw(daDoor20_c*);
22
29};
30
39class daDoor20_c : public fopAc_ac_c {
40public:
47
48 /* 80460B38 */ char* getStopBmdName();
49 /* 80460B70 */ J3DModelData* getStopModelData();
50 /* 80460B94 */ char* getAlwaysArcName();
51 /* 80460BA4 */ char* getArcName();
52 /* 80460C40 */ char* getBmdName();
53 /* 80460CF0 */ char* getBtk();
54 /* 80460D5C */ J3DModelData* getModelData();
55 /* 80460D80 */ f32 getSize2X();
56 /* 80460DAC */ int CreateHeap();
57 /* 8046129C */ void setEventPrm();
58 /* 804616EC */ int checkOpenMsgDoor(int*);
59 /* 8046178C */ int adjustmentAngle();
60 /* 80461874 */ int adjustmentProc();
61 /* 80461A44 */ void setAngle();
62 /* 80461A60 */ void openInit_0();
63 /* 80461D24 */ void openInit_1();
64 /* 80461EC4 */ int openInit(int);
65 /* 80461F60 */ int openProc(int);
66 /* 804622A8 */ void openEnd_0();
67 /* 804622AC */ void openEnd_1();
68 /* 80462328 */ int openEnd(int);
69 /* 80462398 */ void closeInit_0();
70 /* 8046266C */ void closeInit_1();
71 /* 80462738 */ int closeInit(int);
72 /* 804627C4 */ int closeProc(int);
73 /* 804627E8 */ void closeEnd_0();
74 /* 804627EC */ void closeEnd_1();
75 /* 80462868 */ int closeEnd(int);
76 /* 80462928 */ void openInit2();
77 /* 80462A1C */ void closeEnd2();
78 /* 80462A5C */ void calcMtx_2();
79 /* 80462B58 */ void calcMtx();
80 /* 80462C2C */ int CreateInit();
81 /* 80462EB4 */ void setKey();
82 /* 80462F2C */ int create();
83 /* 80462FE0 */ int demoProc();
84 /* 80463E30 */ int orderStopEvent();
85 /* 80463FBC */ int actionWait();
86 /* 80464118 */ int actionStopClose();
87 /* 8046416C */ int actionDemo();
88 /* 804641EC */ int actionInit();
89 /* 80464240 */ int execute();
90 /* 804643B0 */ int draw();
91 /* 80464638 */ void setDoorAngleSpec();
92 /* 804647BC */ int _delete();
93 /* 80464858 */ int createKey();
94 /* 80464AE4 */ int deleteKey();
95 /* 80464B3C */ int adjoinPlayer();
96 /* 80464BD8 */ int frontCheckOld();
97 /* 80464C68 */ int frontCheck();
98 /* 80464CEC */ int drawCheck(int);
99 /* 80464E18 */ int checkExecute();
100 /* 80464EC4 */ void startDemoProc();
101 /* 80464F64 */ void makeEventId();
102 /* 804653B0 */ void initProc();
103 /* 80465400 */ void initOpenDemo(int);
104 /* 80465490 */ int checkArea(f32, f32, f32);
105 /* 80465620 */ void openInitCom(int);
106 /* 804656F0 */ void closeEndCom();
107 /* 8046581C */ void getRestartPos(cXyz*);
108 /* 80465960 */ void setGoal();
109 /* 80465AC0 */ int chkMakeStop();
110 /* 80465B34 */ int chkStopF();
111 /* 80465C04 */ int chkStopB();
112 /* 80465CC0 */ void setStopDemo();
113 /* 80465DA8 */ int chkStopClose();
114 /* 80465E8C */ void setStop();
115 /* 80465F20 */ int chkStopOpen();
116 /* 8046609C */ int chkMakeKey();
117
118 /* 80460D00 */ virtual char* getDzbName();
119 /* 80465918 */ virtual int getDemoAction();
120
123 bool checkFlag(u16 flag) { return field_0x68e & flag; }
125
126private:
129 /* 0x57C */ J3DModel* mModel1;
130 /* 0x580 */ J3DModel* mModel2;
133 /* 0x5BC */ J3DModel* field_0x5bc;
135 /* 0x5C4 */ dBgW* field_0x5c4;
136 /* 0x5C8 */ s8 field_0x5c8;
137 /* 0x5C9 */ bool field_0x5c9;
138 /* 0x5CA */ u8 field_0x5ca[0x5dd - 0x5ca];
139 /* 0x5DD */ u8 field_0x5dd;
140 /* 0x5E0 */ cXyz field_0x5e0;
141 /* 0x5EC */ u32 field_0x5ec;
142 /* 0x5F0 */ bool field_0x5f0;
143 /* 0x5F1 */ u8 field_0x5f1;
144 /* 0x5F4 */ Mtx field_0x5f4;
146 /* 0x670 */ s16 field_0x670;
147 /* 0x672 */ bool field_0x672;
148 /* 0x673 */ u8 field_0x673;
149 /* 0x674 */ u8 field_0x674;
150 /* 0x678 */ int field_0x678;
151 /* 0x67C */ u8 field_0x67c;
152 /* 0x67D */ s8 field_0x67d;
153 /* 0x67E */ u8 field_0x67e;
154 /* 0x67F */ u8 field_0x67f;
155 /* 0x680 */ cXyz field_0x680;
156 /* 0x68C */ u8 field_0x68c;
157 /* 0x68D */ u8 field_0x68d;
158 /* 0x68E */ u16 field_0x68e;
159 /* 0x690 */ u8 mAction;
160 /* 0x691 */ u8 field_0x691;
161 /* 0x692 */ s16 field_0x692[19];
162 /* 0x6B8 */ u8 field_0x6b8[19];
163 /* 0x6CB */ u8 field_0x6cb;
164 /* 0x6CC */ u32 field_0x6cc;
166 /* 0x6DC */ s16 field_0x6dc;
169 /* 0x8F8 */ u32 field_0x8f8;
170};
171
172STATIC_ASSERT(sizeof(daDoor20_c) == 0x8FC);
173
174#endif /* D_A_DOOR_SHUTTER_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_w.h:252
Definition d_a_door_shutter.h:13
int openProc(daDoor20_c *)
Definition d_a_door_shutter.cpp:2203
void openInit(daDoor20_c *)
Definition d_a_door_shutter.cpp:2191
u8 field_0x9
Definition d_a_door_shutter.h:26
int closeProc(daDoor20_c *)
Definition d_a_door_shutter.cpp:2178
u8 field_0xb
Definition d_a_door_shutter.h:28
int create(daDoor20_c *)
Definition d_a_door_shutter.cpp:2218
void calcMtx(daDoor20_c *)
Definition d_a_door_shutter.cpp:2152
f32 field_0x4
Definition d_a_door_shutter.h:24
void draw(daDoor20_c *)
Definition d_a_door_shutter.cpp:2227
void closeInit(daDoor20_c *)
Definition d_a_door_shutter.cpp:2166
u8 field_0x8
Definition d_a_door_shutter.h:25
J3DModel * field_0x0
Definition d_a_door_shutter.h:23
u8 field_0xa
Definition d_a_door_shutter.h:27
Sliding Door.
Definition d_a_door_shutter.h:39
int deleteKey()
Definition d_a_door_shutter.cpp:1479
void closeInit_1()
Definition d_a_door_shutter.cpp:645
void openEnd_1()
Definition d_a_door_shutter.cpp:587
void initProc()
Definition d_a_door_shutter.cpp:1808
int actionStopClose()
Definition d_a_door_shutter.cpp:1252
u8 field_0x673
Definition d_a_door_shutter.h:148
u8 field_0x67e
Definition d_a_door_shutter.h:153
int openEnd(int)
Definition d_a_door_shutter.cpp:592
int frontCheckOld()
Definition d_a_door_shutter.cpp:1503
void openEnd_0()
Definition d_a_door_shutter.cpp:583
int adjustmentAngle()
Definition d_a_door_shutter.cpp:345
bool checkFlag(u16 flag)
Definition d_a_door_shutter.h:123
void onFlag(u16 flag)
Definition d_a_door_shutter.h:121
void initOpenDemo(int)
Definition d_a_door_shutter.cpp:1814
void setDoorAngleSpec()
Definition d_a_door_shutter.cpp:1378
int execute()
Definition d_a_door_shutter.cpp:1283
u8 field_0x691
Definition d_a_door_shutter.h:160
int chkStopB()
Definition d_a_door_shutter.cpp:2020
int chkStopOpen()
Definition d_a_door_shutter.cpp:2108
int actionWait()
Definition d_a_door_shutter.cpp:1213
s8 field_0x5c8
Definition d_a_door_shutter.h:136
int chkStopClose()
Definition d_a_door_shutter.cpp:2061
int createKey()
Definition d_a_door_shutter.cpp:1428
request_of_phase_process_class mPhase1
Definition d_a_door_shutter.h:127
int openInit(int)
Definition d_a_door_shutter.cpp:488
u16 field_0x68e
Definition d_a_door_shutter.h:158
char * getAlwaysArcName()
Definition d_a_door_shutter.cpp:33
void closeEnd_0()
Definition d_a_door_shutter.cpp:680
int actionDemo()
Definition d_a_door_shutter.cpp:1261
J3DModel * field_0x5bc
Definition d_a_door_shutter.h:133
int actionInit()
Definition d_a_door_shutter.cpp:1273
virtual int getDemoAction()
Definition d_a_door_shutter.cpp:1958
Mtx field_0x5f4
Definition d_a_door_shutter.h:144
cXyz field_0x680
Definition d_a_door_shutter.h:155
void offFlag(u16 flag)
Definition d_a_door_shutter.h:122
void closeEndCom()
Definition d_a_door_shutter.cpp:1877
int chkStopF()
Definition d_a_door_shutter.cpp:2001
ActionType
Definition d_a_door_shutter.h:41
@ ACTION_STOP_CLOSE
Definition d_a_door_shutter.h:44
@ ACTION_WAIT
Definition d_a_door_shutter.h:43
@ ACTION_INIT
Definition d_a_door_shutter.h:42
@ ACTION_DEMO
Definition d_a_door_shutter.h:45
bool field_0x5f0
Definition d_a_door_shutter.h:142
virtual char * getDzbName()
Definition d_a_door_shutter.cpp:100
void openInitCom(int)
Definition d_a_door_shutter.cpp:1857
u8 field_0x5f1
Definition d_a_door_shutter.h:143
int _delete()
Definition d_a_door_shutter.cpp:1413
u8 field_0x68d
Definition d_a_door_shutter.h:157
void setEventPrm()
Definition d_a_door_shutter.cpp:215
void calcMtx_2()
Definition d_a_door_shutter.cpp:741
J3DModel * mModel1
Definition d_a_door_shutter.h:129
int checkOpenMsgDoor(int *)
Definition d_a_door_shutter.cpp:329
J3DModelData * getModelData()
Definition d_a_door_shutter.cpp:115
void getRestartPos(cXyz *)
Definition d_a_door_shutter.cpp:1901
int chkMakeKey()
Definition d_a_door_shutter.cpp:2143
void setKey()
Definition d_a_door_shutter.cpp:846
u32 field_0x6cc
Definition d_a_door_shutter.h:164
void setAction(u8 action)
Definition d_a_door_shutter.h:124
dBgW * field_0x5c4
Definition d_a_door_shutter.h:135
void closeEnd2()
Definition d_a_door_shutter.cpp:734
void setGoal()
Definition d_a_door_shutter.cpp:1963
int closeInit(int)
Definition d_a_door_shutter.cpp:656
int CreateInit()
Definition d_a_door_shutter.cpp:783
char * getArcName()
Definition d_a_door_shutter.cpp:56
void setAngle()
Definition d_a_door_shutter.cpp:399
int checkExecute()
Definition d_a_door_shutter.cpp:1564
void calcMtx()
Definition d_a_door_shutter.cpp:758
dDoor_stop_c mDoorStop
Definition d_a_door_shutter.h:165
int field_0x678
Definition d_a_door_shutter.h:150
bool field_0x5c9
Definition d_a_door_shutter.h:137
u8 mAction
Definition d_a_door_shutter.h:159
dMsgFlow_c field_0x624
Definition d_a_door_shutter.h:145
f32 getSize2X()
Definition d_a_door_shutter.cpp:120
int adjustmentProc()
Definition d_a_door_shutter.cpp:363
u8 field_0x6cb
Definition d_a_door_shutter.h:163
void makeEventId()
Definition d_a_door_shutter.cpp:1714
int frontCheck()
Definition d_a_door_shutter.cpp:1517
char * getBtk()
Definition d_a_door_shutter.cpp:95
int adjoinPlayer()
Definition d_a_door_shutter.cpp:1488
J3DModelData * getStopModelData()
Definition d_a_door_shutter.cpp:28
request_of_phase_process_class mPhase2
Definition d_a_door_shutter.h:128
int orderStopEvent()
Definition d_a_door_shutter.cpp:1188
int demoProc()
Definition d_a_door_shutter.cpp:878
J3DModel * mModel2
Definition d_a_door_shutter.h:130
int draw()
Definition d_a_door_shutter.cpp:1325
char * getStopBmdName()
Definition d_a_door_shutter.cpp:18
int create()
Definition d_a_door_shutter.cpp:856
s16 field_0x692[19]
Definition d_a_door_shutter.h:161
u32 field_0x8f8
Definition d_a_door_shutter.h:169
void startDemoProc()
Definition d_a_door_shutter.cpp:1583
u8 field_0x6b8[19]
Definition d_a_door_shutter.h:162
bool field_0x672
Definition d_a_door_shutter.h:147
void setStopDemo()
Definition d_a_door_shutter.cpp:2037
cXyz field_0x5e0
Definition d_a_door_shutter.h:140
int chkMakeStop()
Definition d_a_door_shutter.cpp:1990
mDoExt_bckAnm field_0x5a0
Definition d_a_door_shutter.h:132
mDoExt_bckAnm field_0x584
Definition d_a_door_shutter.h:131
dBgS_ObjAcch field_0x6de
Definition d_a_door_shutter.h:167
int closeEnd(int)
Definition d_a_door_shutter.cpp:689
char * getBmdName()
Definition d_a_door_shutter.cpp:77
void openInit2()
Definition d_a_door_shutter.cpp:713
int checkArea(f32, f32, f32)
Definition d_a_door_shutter.cpp:1826
int CreateHeap()
Definition d_a_door_shutter.cpp:130
int closeProc(int)
Definition d_a_door_shutter.cpp:675
u8 field_0x674
Definition d_a_door_shutter.h:149
s16 field_0x6dc
Definition d_a_door_shutter.h:166
u8 field_0x5dd
Definition d_a_door_shutter.h:139
u8 field_0x67f
Definition d_a_door_shutter.h:154
u8 field_0x5ca[0x5dd - 0x5ca]
Definition d_a_door_shutter.h:138
void openInit_0()
Definition d_a_door_shutter.cpp:423
mDoExt_btkAnm * field_0x5c0
Definition d_a_door_shutter.h:134
void openInit_1()
Definition d_a_door_shutter.cpp:463
void setStop()
Definition d_a_door_shutter.cpp:2093
void closeEnd_1()
Definition d_a_door_shutter.cpp:684
int openProc(int)
Definition d_a_door_shutter.cpp:511
u8 field_0x67c
Definition d_a_door_shutter.h:151
u32 field_0x5ec
Definition d_a_door_shutter.h:141
void closeInit_0()
Definition d_a_door_shutter.cpp:612
u8 field_0x68c
Definition d_a_door_shutter.h:156
dBgS_AcchCir field_0x8b8
Definition d_a_door_shutter.h:168
int drawCheck(int)
Definition d_a_door_shutter.cpp:1533
s8 field_0x67d
Definition d_a_door_shutter.h:152
s16 field_0x670
Definition d_a_door_shutter.h:146
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daDoor20_c)==0x8FC)
static volatile BOOL flag
Definition dspproc.cpp:20
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_obj_sekizoa.cpp:318
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
signed char s8
Definition types.h:4
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
unsigned char u8
Definition types.h:8