Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_bg_obj.h
Go to the documentation of this file.
1#ifndef D_A_BG_OBJ_H
2#define D_A_BG_OBJ_H
3
5#include "d/d_bg_w.h"
6#include "d/d_cc_d.h"
8
9class daBgObj_c;
13typedef void (daBgObj_c::*tgSetFunc)();
14typedef int (daBgObj_c::*actionFunc)();
15
25public:
27 public:
28 /* 804597E8 */ u8* initParticleBlock(u8*);
29 /* 80459814 */ u8* initSoundBlock(u8*);
30 /* 80459840 */ u8* initTexShareBlock(u8*);
31 /* 804598F4 */ u8* initFarInfoBlock(u8*);
32 /* 80459904 */ bool Set(void*);
33
34 /* 0x00 */ u16 mSpecType;
35 /* 0x02 */ u8 field_0x02;
36 /* 0x03 */ u8 field_0x03;
37 /* 0x04 */ u32 mParticleNum;
38 /* 0x08 */ u8* mpParticleBlock;
39 /* 0x0C */ u32 mSoundNum;
40 /* 0x10 */ u8* mpSoundBlock;
41 /* 0x14 */ u8 field_0x14;
42 /* 0x15 */ u8 field_0x15;
43 /* 0x16 */ u8 field_0x16;
44 /* 0x18 */ u8* mpTexShareBlock;
45 /* 0x1C */ u8 mTexShareNum;
46 /* 0x20 */ f32 mpFarInfoBlock;
47 };
48
49 /* 80459B64 */ void release(dBgW*);
50 /* 80459BB4 */ void regist(dBgW*);
51 /* 80459BEC */ void initAtt();
52 /* 80459D0C */ void setAttentionInfo(fopAc_ac_c*);
53 /* 80459D3C */ void initBaseMtx();
54 /* 80459D94 */ void setBaseMtx();
55 /* 80459E04 */ void settingCullSizeBoxForCo(int);
56 /* 80459F14 */ void settingCullSizeBoxForCull(int);
57 /* 8045A0EC */ int CreateInitType0();
58 /* 8045A160 */ int CreateInitType1();
59 /* 8045A2F0 */ int CreateHeapType0();
60 /* 8045A574 */ int CreateHeapType1();
61 /* 8045A83C */ void doShareTexture();
62 /* 8045A9E8 */ int create1st();
63 /* 8045AAF0 */ void setColCommon();
64 /* 8045AB80 */ void set_tri_0();
65 /* 8045ACC0 */ void set_tri_1();
66 /* 8045AE00 */ void set_cyl_0();
67 /* 8045AE98 */ void set_tri_2();
68 /* 8045AFD4 */ void set_tri_3();
69 /* 8045B17C */ void setParticle();
70 /* 8045B3A0 */ void setSe();
71 /* 8045B44C */ BOOL checkDestroy();
72 /* 8045B534 */ BOOL checkHitAt(cCcD_Obj*);
73 /* 8045B5E0 */ void orderWait_tri();
74 /* 8045B7FC */ void orderWait_cyl();
75 /* 8045B9C4 */ void orderWait_spec();
76 /* 8045BB38 */ int actionOrderWait();
77 /* 8045BBE0 */ int actionOrder();
78 /* 8045BD50 */ int actionEvent();
79 /* 8045BDB0 */ int actionWait();
80 /* 8045BDB8 */ int ExecuteType0();
81 /* 8045BED0 */ int ExecuteType1();
82 /* 8045C25C */ void indirectProc(J3DModel*);
83
84 /* 8045A940 */ virtual int CreateHeap();
85 /* 8045A2B8 */ virtual int Create();
86 /* 8045BFBC */ virtual int Execute(f32 (**)[3][4]);
87 /* 8045C078 */ virtual int Draw();
88 /* 8045C2E8 */ virtual int Delete();
89
91
95 static tgSetFunc mTgSetFunc[];
96
98 /* 0x5A8 */ J3DModel* field_0x5a8[2][2];
99 /* 0x5B8 */ mDoExt_btkAnm* field_0x5b8[2][2];
100 /* 0x5C8 */ mDoExt_brkAnm* field_0x5c8[2][2];
101 /* 0x5D8 */ dBgW* mpBgW2;
102 /* 0x5DC */ dCcD_Stts mStts;
103 /* 0x618 */ dCcD_Tri mTris[4];
104 /* 0xB88 */ dCcD_Cyl mCyl;
105 /* 0xCC4 */ u8 field_0xcc4;
106 /* 0xCC5 */ u8 mAction;
107 /* 0xCC6 */ s16 mEventIdx;
108 /* 0xCC8 */ u8 field_0xcc8;
109 /* 0xCC9 */ u8 field_0xcc9;
110 /* 0xCCA */ u16 field_0xcca;
111 /* 0xCCC */ u16 field_0xccc;
113 /* 0xCF4 */ csXyz field_0xcf4;
114 /* 0xCFC */ u32 mAttnActorID;
115 /* 0xD00 */ u8 field_0xd00;
116 /* 0xD01 */ u8 field_0xd01;
117 /* 0xD02 */ u8 field_0xd02;
118};
119
120namespace daBgObj_prm {
122 return (fopAcM_GetParam(i_this) >> 0x15) & 0xFF;
123}
124
126 return i_this->field_0xccc & 0xFF;
127}
128
130 return (i_this->field_0xccc >> 8) & 0xFF;
131}
132
134 return i_this->field_0xcca & 0xFF;
135}
136}; // namespace daBgObj_prm
137
144
145
146#endif /* D_A_BG_OBJ_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
Definition d_cc_d.h:455
Definition d_a_bg_obj.h:26
u8 * mpParticleBlock
Definition d_a_bg_obj.h:38
u8 field_0x15
Definition d_a_bg_obj.h:42
u8 * initTexShareBlock(u8 *)
Definition d_a_bg_obj.cpp:278
f32 mpFarInfoBlock
Definition d_a_bg_obj.h:46
u8 field_0x16
Definition d_a_bg_obj.h:43
u32 mParticleNum
Definition d_a_bg_obj.h:37
u32 mSoundNum
Definition d_a_bg_obj.h:39
bool Set(void *)
Definition d_a_bg_obj.cpp:324
u8 field_0x02
Definition d_a_bg_obj.h:35
u8 * mpTexShareBlock
Definition d_a_bg_obj.h:44
u8 mTexShareNum
Definition d_a_bg_obj.h:45
u8 field_0x03
Definition d_a_bg_obj.h:36
u8 field_0x14
Definition d_a_bg_obj.h:41
u8 * mpSoundBlock
Definition d_a_bg_obj.h:40
u16 mSpecType
Definition d_a_bg_obj.h:34
u8 * initParticleBlock(u8 *)
Definition d_a_bg_obj.cpp:260
u8 * initSoundBlock(u8 *)
Definition d_a_bg_obj.cpp:269
u8 * initFarInfoBlock(u8 *)
Definition d_a_bg_obj.cpp:306
Moving Background Obj?
Definition d_a_bg_obj.h:24
void set_tri_1()
Definition d_a_bg_obj.cpp:878
void setBaseMtx()
Definition d_a_bg_obj.cpp:495
mDoExt_brkAnm * field_0x5c8[2][2]
Definition d_a_bg_obj.h:100
u8 field_0xd00
Definition d_a_bg_obj.h:115
int CreateInitType0()
Definition d_a_bg_obj.cpp:539
void initAtt()
Definition d_a_bg_obj.cpp:476
void orderWait_tri()
Definition d_a_bg_obj.cpp:1005
dCcD_Tri mTris[4]
Definition d_a_bg_obj.h:103
dCcD_Stts mStts
Definition d_a_bg_obj.h:102
virtual int Execute(f32(**)[3][4])
Definition d_a_bg_obj.cpp:1249
void settingCullSizeBoxForCo(int)
Definition d_a_bg_obj.cpp:514
virtual int Draw()
Definition d_a_bg_obj.cpp:1268
J3DModel * field_0x5a8[2][2]
Definition d_a_bg_obj.h:98
int ExecuteType0()
Definition d_a_bg_obj.cpp:1203
s16 mEventIdx
Definition d_a_bg_obj.h:107
u8 field_0xd02
Definition d_a_bg_obj.h:117
BOOL checkDestroy()
Definition d_a_bg_obj.cpp:950
BOOL checkHitAt(cCcD_Obj *)
Definition d_a_bg_obj.cpp:972
void set_tri_2()
Definition d_a_bg_obj.cpp:888
void regist(dBgW *)
Definition d_a_bg_obj.cpp:449
dCcD_Cyl mCyl
Definition d_a_bg_obj.h:104
u8 field_0xd01
Definition d_a_bg_obj.h:116
u8 field_0xcc8
Definition d_a_bg_obj.h:108
void set_tri_0()
Definition d_a_bg_obj.cpp:873
int actionOrderWait()
Definition d_a_bg_obj.cpp:1128
void orderWait_spec()
Definition d_a_bg_obj.cpp:1096
void release(dBgW *)
Definition d_a_bg_obj.cpp:442
request_of_phase_process_class mPhase
Definition d_a_bg_obj.h:97
int actionEvent()
Definition d_a_bg_obj.cpp:1188
u16 field_0xcca
Definition d_a_bg_obj.h:110
int create1st()
Definition d_a_bg_obj.cpp:825
u8 field_0xcc9
Definition d_a_bg_obj.h:109
void initBaseMtx()
Definition d_a_bg_obj.cpp:487
void orderWait_cyl()
Definition d_a_bg_obj.cpp:1052
mDoExt_btkAnm * field_0x5b8[2][2]
Definition d_a_bg_obj.h:99
spec_data_c mSpecData
Definition d_a_bg_obj.h:112
void set_tri_3()
Definition d_a_bg_obj.cpp:893
void settingCullSizeBoxForCull(int)
Definition d_a_bg_obj.cpp:534
csXyz field_0xcf4
Definition d_a_bg_obj.h:113
int actionOrder()
Definition d_a_bg_obj.cpp:1150
static createInitFunc mCreateInitFunc[]
Definition d_a_bg_obj.h:641
void setAttentionInfo(fopAc_ac_c *)
Definition d_a_bg_obj.cpp:482
virtual int Create()
Definition d_a_bg_obj.cpp:649
virtual int CreateHeap()
Definition d_a_bg_obj.cpp:812
void doShareTexture()
Definition d_a_bg_obj.cpp:784
void setSe()
Definition d_a_bg_obj.cpp:937
int actionWait()
Definition d_a_bg_obj.cpp:1198
int CreateHeapType1()
Definition d_a_bg_obj.cpp:723
int ExecuteType1()
Definition d_a_bg_obj.cpp:1235
u16 field_0xccc
Definition d_a_bg_obj.h:111
u32 mAttnActorID
Definition d_a_bg_obj.h:114
static createHeapFunc mCreateHeapFunc[]
Definition d_a_bg_obj.h:633
static tgSetFunc mTgSetFunc[]
Definition d_a_bg_obj.h:667
void indirectProc(J3DModel *)
Definition d_a_bg_obj.cpp:1313
void set_cyl_0()
Definition d_a_bg_obj.cpp:883
u8 field_0xcc4
Definition d_a_bg_obj.h:105
dBgW * mpBgW2
Definition d_a_bg_obj.h:101
int CreateInitType1()
Definition d_a_bg_obj.cpp:553
void setAction(u8 i_action)
Definition d_a_bg_obj.h:90
u8 mAction
Definition d_a_bg_obj.h:106
void setColCommon()
Definition d_a_bg_obj.cpp:856
virtual int Delete()
Definition d_a_bg_obj.cpp:1326
void setParticle()
Definition d_a_bg_obj.cpp:927
static executeFunc mExecuteFunc[]
Definition d_a_bg_obj.h:659
int CreateHeapType0()
Definition d_a_bg_obj.cpp:673
int(daBgObj_c::* executeFunc)()
Definition d_a_bg_obj.h:12
int(daBgObj_c::* createHeapFunc)()
Definition d_a_bg_obj.h:10
int(daBgObj_c::* createInitFunc)()
Definition d_a_bg_obj.h:11
void(daBgObj_c::* tgSetFunc)()
Definition d_a_bg_obj.h:13
int(daBgObj_c::* actionFunc)()
Definition d_a_bg_obj.h:14
u32 fopAcM_GetParam(const void *pActor)
Definition f_op_actor_mng.h:224
Definition d_a_bg_obj.h:120
u8 getEvId(daBgObj_c *i_this)
Definition d_a_bg_obj.h:121
u8 getSwBit(daBgObj_c *i_this)
Definition d_a_bg_obj.h:125
u8 getObjArg0(daBgObj_c *i_this)
Definition d_a_bg_obj.h:133
u8 getSwBit2(daBgObj_c *i_this)
Definition d_a_bg_obj.h:129
Definition d_a_ep.cpp:155
Definition d_a_npc_fguard.cpp:141
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_obj_sekizoa.cpp:56
Definition d_a_hozelda.cpp:47
Definition d_a_hozelda.cpp:14
Definition d_a_bg_obj.h:138
u16 field_0x0
Definition d_a_bg_obj.h:140
u16 field_0x2
Definition d_a_bg_obj.h:141
u8 field_0x4
Definition d_a_bg_obj.h:142
int BOOL
Definition types.h:27
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