Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_door_bossL5.h
Go to the documentation of this file.
1#ifndef D_A_DOOR_BOSSL5_H
2#define D_A_DOOR_BOSSL5_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#include "f_pc/f_pc_manager.h"
10#include "f_op/f_op_actor_mng.h"
11
20class daBdoorL5_c : public fopAc_ac_c {
21public:
28
29 typedef int (daBdoorL5_c::*actionFunc)();
30
31 /* 80670C38 */ const char* getArcName();
32 /* 80670C44 */ const char* getAlwaysArcName();
33 /* 80670C54 */ const char* getBmd();
34 /* 80670C64 */ const char* getDzb();
35 /* 80670C74 */ const char* getAnmArcName();
36 /* 80670C84 */ s32 getOpenAnm();
37 /* 80670C8C */ s32 getCloseAnm();
38 /* 80670C94 */ J3DModelData* getDoorModelData();
39 /* 80670D10 */ int CreateHeap();
40 /* 80670F08 */ void calcMtx();
41 /* 80670F5C */ int CreateInit();
42 /* 8067106C */ int create();
43 /* 806712DC */ int getDemoAction();
44 /* 80671324 */ void demoProc();
45 /* 806715D0 */ int openInit();
46 /* 80671670 */ int openProc();
47 /* 80671718 */ int openEnd();
48 /* 80671720 */ int closeInit();
49 /* 806717FC */ int closeProc();
50 /* 80671820 */ int closeEnd();
51 /* 80671878 */ int unlockInit();
52 /* 80671954 */ void calcGoal(cXyz*, int);
53 /* 80671A7C */ void smokeInit();
54 /* 80671B14 */ int createKey();
55 /* 80671C14 */ int checkArea();
56 /* 80671D44 */ int checkFront();
57 /* 80671DE4 */ int checkOpen();
58 /* 80671E70 */ int actionWait();
59 /* 80671E78 */ int actionCloseWait();
60 /* 80671F58 */ int actionOpen();
61 /* 80672004 */ int actionEnd();
62 /* 80672164 */ int execute();
63 /* 8067228C */ int draw();
64 /* 80672374 */ int Delete();
65
67 int deleteKey() {
68 if (mKeyHoleId != -1 && fpcM_IsCreating(mKeyHoleId) == 0) {
70 mKeyHoleId = -1;
71 }
72 return 1;
73 }
74
75private:
79 /* 0x580 */ J3DModel* field_0x580;
81 /* 0x588 */ dBgW* field_0x588;
82 /* 0x58C */ u32 mKeyHoleId;
83 /* 0x590 */ u8 field_0x590;
84 /* 0x591 */ u8 mAction;
85 /* 0x592 */ u8 field_0x592;
86 /* 0x593 */ u8 field_0x593;
87 /* 0x594 */ u8 field_0x594;
88 /* 0x596 */ s16 field_0x596;
89 /* 0x598 */ s16 field_0x598;
90 /* 0x59A */ s16 field_0x59a;
91 /* 0x59C */ int field_0x59c;
92 /* 0x5A0 */ int field_0x5a0;
93 /* 0x5A4 */ cXyz field_0x5a4;
94 /* 0x5B0 */ csXyz field_0x5b0;
95 /* 0x5B6 */ u16 field_0x5b6;
98};
99
100STATIC_ASSERT(sizeof(daBdoorL5_c) == 0x7D0);
101
102#endif /* D_A_DOOR_BOSSL5_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_bg_w.h:252
Snowpeak Ruins Boss Door.
Definition d_a_door_bossL5.h:20
u32 mKeyHoleId
Definition d_a_door_bossL5.h:82
J3DModelData * getDoorModelData()
Definition d_a_door_bossL5.cpp:50
int openProc()
Definition d_a_door_bossL5.cpp:291
u8 field_0x593
Definition d_a_door_bossL5.h:86
u8 field_0x590
Definition d_a_door_bossL5.h:83
int createKey()
Definition d_a_door_bossL5.cpp:368
const char * getAlwaysArcName()
Definition d_a_door_bossL5.cpp:20
u16 field_0x5b6
Definition d_a_door_bossL5.h:95
u8 mAction
Definition d_a_door_bossL5.h:84
const char * getArcName()
Definition d_a_door_bossL5.cpp:14
int actionEnd()
Definition d_a_door_bossL5.cpp:470
s16 field_0x598
Definition d_a_door_bossL5.h:89
mDoExt_bckAnm * field_0x584
Definition d_a_door_bossL5.h:80
int field_0x59c
Definition d_a_door_bossL5.h:91
request_of_phase_process_class mPhase3
Definition d_a_door_bossL5.h:78
int checkOpen()
Definition d_a_door_bossL5.cpp:414
request_of_phase_process_class mPhase1
Definition d_a_door_bossL5.h:76
const char * getAnmArcName()
Definition d_a_door_bossL5.cpp:34
void smokeInit()
Definition d_a_door_bossL5.cpp:360
int draw()
Definition d_a_door_bossL5.cpp:510
void setAction(u8 action)
Definition d_a_door_bossL5.h:66
void calcGoal(cXyz *, int)
Definition d_a_door_bossL5.cpp:340
dBgS_AcchCir field_0x790
Definition d_a_door_bossL5.h:97
const char * getBmd()
Definition d_a_door_bossL5.cpp:25
u8 field_0x594
Definition d_a_door_bossL5.h:87
void calcMtx()
Definition d_a_door_bossL5.cpp:131
dBgW * field_0x588
Definition d_a_door_bossL5.h:81
s16 field_0x59a
Definition d_a_door_bossL5.h:90
ActionType
Definition d_a_door_bossL5.h:22
@ ACTION_END
Definition d_a_door_bossL5.h:26
@ ACTION_WAIT
Definition d_a_door_bossL5.h:23
@ ACTION_CLOSE_WAIT
Definition d_a_door_bossL5.h:24
@ ACTION_OPEN
Definition d_a_door_bossL5.h:25
cXyz field_0x5a4
Definition d_a_door_bossL5.h:93
int openInit()
Definition d_a_door_bossL5.cpp:281
int(daBdoorL5_c::* actionFunc)()
Definition d_a_door_bossL5.h:29
int unlockInit()
Definition d_a_door_bossL5.cpp:326
s16 field_0x596
Definition d_a_door_bossL5.h:88
int actionOpen()
Definition d_a_door_bossL5.cpp:459
int execute()
Definition d_a_door_bossL5.cpp:496
void demoProc()
Definition d_a_door_bossL5.cpp:196
request_of_phase_process_class mPhase2
Definition d_a_door_bossL5.h:77
int field_0x5a0
Definition d_a_door_bossL5.h:92
int openEnd()
Definition d_a_door_bossL5.cpp:300
csXyz field_0x5b0
Definition d_a_door_bossL5.h:94
int closeInit()
Definition d_a_door_bossL5.cpp:305
u8 field_0x592
Definition d_a_door_bossL5.h:85
int closeEnd()
Definition d_a_door_bossL5.cpp:320
int closeProc()
Definition d_a_door_bossL5.cpp:315
int checkArea()
Definition d_a_door_bossL5.cpp:386
int create()
Definition d_a_door_bossL5.cpp:160
dBgS_ObjAcch field_0x5b8
Definition d_a_door_bossL5.h:96
s32 getOpenAnm()
Definition d_a_door_bossL5.cpp:39
int getDemoAction()
Definition d_a_door_bossL5.cpp:191
const char * getDzb()
Definition d_a_door_bossL5.cpp:30
int checkFront()
Definition d_a_door_bossL5.cpp:405
int actionCloseWait()
Definition d_a_door_bossL5.cpp:438
int Delete()
Definition d_a_door_bossL5.cpp:523
int deleteKey()
Definition d_a_door_bossL5.h:67
s32 getCloseAnm()
Definition d_a_door_bossL5.cpp:44
J3DModel * field_0x580
Definition d_a_door_bossL5.h:79
int actionWait()
Definition d_a_door_bossL5.cpp:433
int CreateInit()
Definition d_a_door_bossL5.cpp:138
int CreateHeap()
Definition d_a_door_bossL5.cpp:105
static void action(b_bh_class *param_0)
Definition d_a_b_bh.cpp:886
STATIC_ASSERT(sizeof(daBdoorL5_c)==0x7D0)
void fopAcM_delete(fopAc_ac_c *i_actor)
Definition f_op_actor_mng.cpp:139
BOOL fpcM_IsCreating(fpc_ProcID pID)
Definition f_pc_manager.cpp:41
Definition d_a_ep.cpp:51
Definition d_a_ep.cpp:155
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:66
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:14
unsigned long u32
Definition types.h:10
signed short s16
Definition types.h:5
unsigned short u16
Definition types.h:9
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8