Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_a_obj_lv3Candle.h
Go to the documentation of this file.
1#ifndef D_A_OBJ_LV3CANDLE_H
2#define D_A_OBJ_LV3CANDLE_H
3
4#include "d/d_cc_d.h"
6#include "m_Do/m_Do_hostIO.h"
7
8
17class daLv3Candle_c : public fopAc_ac_c {
18public:
19 /* 80C57B38 */ void setBaseMtx();
20 /* 80C57BC0 */ int CreateHeap();
21 /* 80C57C40 */ cPhs__Step create();
22 /* 80C57F6C */ static int createHeapCallBack(fopAc_ac_c*);
23 /* 80C57F8C */ void lightInit();
24 /* 80C58018 */ void pointLightProc();
25 /* 80C580A0 */ int Execute();
26 /* 80C582FC */ int Draw();
27 /* 80C583A0 */ int Delete();
28
29 u8 getSwBit() { return fopAcM_GetParamBit(this, 0, 8); }
30 u8 getType() { return fopAcM_GetParamBit(this, 8, 8); }
31
32private:
34 /* 0x570 */ J3DModel* mpModel;
35 /* 0x574 */ u8 mType;
36 /* 0x578 */ dCcD_Stts mStts;
37 /* 0x5B4 */ dCcD_Sph mSph;
38 /* 0x6EC */ cXyz mTorchPos;
39 /* 0x6F8 */ u32 field_0x6f8; // Unused?
40 /* 0x6FC */ cXyz mLightPos;
41 /* 0x708 */ u8 mIsLit;
42 /* 0x70C */ f32 mIntensity;
44 /* 0x730 */ u8 mTgHit;
46
47 static dCcD_SrcGObjInf const mCcDObjInfo;
48 static dCcD_SrcSph mCcDSph;
49
50}; // Size: 0x754
51
52STATIC_ASSERT(sizeof(daLv3Candle_c) == 0x754);
53
55public:
56 /* 80C57ACC */ daLv3Candle_HIO_c();
57 /* 80C58484 */ virtual ~daLv3Candle_HIO_c() {}
58
59 /* 0x00 vtable */
60 /* 0x04 */ u8 field_0x04;
61};
62
63#endif /* D_A_OBJ_LV3CANDLE_H */
cPhs__Step
Definition c_phase.h:8
Definition Z2SoundObject.h:34
Definition d_cc_d.h:432
Definition d_a_obj_lv3Candle.h:54
virtual ~daLv3Candle_HIO_c()
Definition d_a_obj_lv3Candle.h:57
u8 field_0x04
Definition d_a_obj_lv3Candle.h:60
daLv3Candle_HIO_c()
Definition d_a_obj_lv3Candle.cpp:17
Lakebed Temple Torch.
Definition d_a_obj_lv3Candle.h:17
u8 getSwBit()
Definition d_a_obj_lv3Candle.h:29
int Execute()
Definition d_a_obj_lv3Candle.cpp:145
u8 mTgHit
Definition d_a_obj_lv3Candle.h:44
cPhs__Step create()
Definition d_a_obj_lv3Candle.cpp:60
cXyz mTorchPos
Definition d_a_obj_lv3Candle.h:38
int CreateHeap()
Definition d_a_obj_lv3Candle.cpp:47
u8 mType
Definition d_a_obj_lv3Candle.h:35
u8 mIsLit
Definition d_a_obj_lv3Candle.h:41
u32 field_0x6f8
Definition d_a_obj_lv3Candle.h:39
void pointLightProc()
Definition d_a_obj_lv3Candle.cpp:133
f32 mIntensity
Definition d_a_obj_lv3Candle.h:42
J3DModel * mpModel
Definition d_a_obj_lv3Candle.h:34
u8 getType()
Definition d_a_obj_lv3Candle.h:30
dCcD_Sph mSph
Definition d_a_obj_lv3Candle.h:37
static int createHeapCallBack(fopAc_ac_c *)
Definition d_a_obj_lv3Candle.cpp:109
static dCcD_SrcSph mCcDSph
Definition d_a_obj_lv3Candle.h:30
void setBaseMtx()
Definition d_a_obj_lv3Candle.cpp:36
int Delete()
Definition d_a_obj_lv3Candle.cpp:206
void lightInit()
Definition d_a_obj_lv3Candle.cpp:114
cXyz mLightPos
Definition d_a_obj_lv3Candle.h:40
LIGHT_INFLUENCE mLight
Definition d_a_obj_lv3Candle.h:43
request_of_phase_process_class mPhaseReq
Definition d_a_obj_lv3Candle.h:33
dCcD_Stts mStts
Definition d_a_obj_lv3Candle.h:36
static dCcD_SrcGObjInf const mCcDObjInfo
Definition d_a_obj_lv3Candle.h:23
Z2SoundObjSimple mSound
Definition d_a_obj_lv3Candle.h:45
int Draw()
Definition d_a_obj_lv3Candle.cpp:194
Definition m_Do_hostIO.h:5
STATIC_ASSERT(sizeof(daLv3Candle_c)==0x754)
u32 fopAcM_GetParamBit(void *ac, u8 shift, u8 bit)
Definition f_op_actor_mng.h:228
Definition d_a_ep.cpp:155
Definition d_a_ep.cpp:149
Definition d_a_hozelda.cpp:20
Definition d_cc_d.h:85
Definition d_cc_d.h:92
Definition d_a_npc_fguard.cpp:70
Definition d_a_ep.cpp:19
Definition d_a_hozelda.cpp:14
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
unsigned char u8
Definition types.h:8