Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_hbombkoya.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_HBOMBKOYA_H
2#define D_A_OBJ_HBOMBKOYA_H
3
5#include "d/d_cc_d.h"
6#include "d/d_event_lib.h"
8
19 public dEvLib_callback_c {
20public:
21 struct PSetTbl {
22 /* 0x00 */ Vec m_position;
23 /* 0x0C */ int m_startTime; // The time at which this table is able to be used
24 /* 0x10 */ f32 m_scale;
25 };
26
28
29 int create1st();
30 bool setParticle(u16*, int, PSetTbl*, int, int);
31 virtual ~daObjHBombkoya_c() {}
32
33 virtual int CreateHeap();
34 virtual int Create();
35 virtual int Execute(Mtx**);
36 virtual int Draw();
37 virtual int Delete();
38
39 int getSwNo() { return fopAcM_GetParamBit(this, 0, 8); }
40 int getSw2No() { return fopAcM_GetParamBit(this, 8, 8); }
41
42private:
43 /* 0x5A8 */ // dEvLib_callback_c
44 /* 0x5B8 */ Mtx mBgMtx;
45 /* 0x5E8 */ Mtx mMtx;
46 /* 0x618 */ J3DModel* mpModel;
47 /* 0x61C */ int mTimer;
48 /* 0x620 */ bool mActive;
49 /* 0x624 */ u32 mEmitterKeys[9];
50 /* 0x648 */ dCcD_Stts mStts;
51 /* 0x684 */ dCcD_Cyl mCyl;
52};
53
55
56
57#endif /* D_A_OBJ_HBOMBKOYA_H */
Definition J3DModel.h:43
Definition d_bg_s_movebg_actor.h:11
Definition d_cc_d.h:461
Definition d_cc_d.h:269
Definition d_event_lib.h:24
Destructable Bomb House.
Definition d_a_obj_hbombkoya.h:19
virtual int Execute(Mtx **)
Definition d_a_obj_hbombkoya.cpp:115
dCcD_Stts mStts
Definition d_a_obj_hbombkoya.h:50
virtual int Delete()
Definition d_a_obj_hbombkoya.cpp:241
int getSw2No()
Definition d_a_obj_hbombkoya.h:40
virtual int CreateHeap()
Definition d_a_obj_hbombkoya.cpp:34
virtual ~daObjHBombkoya_c()
Definition d_a_obj_hbombkoya.h:31
daObjHBombkoya_c()
Definition d_a_obj_hbombkoya.h:27
Mtx mBgMtx
Definition d_a_obj_hbombkoya.h:44
virtual int Create()
Definition d_a_obj_hbombkoya.cpp:61
int create1st()
Definition d_a_obj_hbombkoya.cpp:14
virtual int Draw()
Definition d_a_obj_hbombkoya.cpp:228
J3DModel * mpModel
Definition d_a_obj_hbombkoya.h:46
Mtx mMtx
Definition d_a_obj_hbombkoya.h:45
bool setParticle(u16 *, int, PSetTbl *, int, int)
Definition d_a_obj_hbombkoya.cpp:87
bool mActive
Definition d_a_obj_hbombkoya.h:48
int mTimer
Definition d_a_obj_hbombkoya.h:47
dCcD_Cyl mCyl
Definition d_a_obj_hbombkoya.h:51
int getSwNo()
Definition d_a_obj_hbombkoya.h:39
u32 mEmitterKeys[9]
Definition d_a_obj_hbombkoya.h:49
STATIC_ASSERT(sizeof(daObjHBombkoya_c)==0x7c0)
f32 Mtx[3][4]
Definition mtx.h:25
unsigned long u32
Definition types.h:12
float f32
Definition types.h:25
unsigned short int u16
Definition types.h:10
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:196
Definition mtx.h:13
Definition d_a_obj_hbombkoya.h:21
Vec m_position
Definition d_a_obj_hbombkoya.h:22
int m_startTime
Definition d_a_obj_hbombkoya.h:23
f32 m_scale
Definition d_a_obj_hbombkoya.h:24
Definition c_phase.h:17