summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_obj_lv3Candle.h
blob: b82ad0b8c455bc97f51690102996a2312f5aa9df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef D_A_OBJ_LV3CANDLE_H
#define D_A_OBJ_LV3CANDLE_H

#include "d/d_cc_d.h"
#include "f_op/f_op_actor_mng.h"
#include "d/d_kankyo.h"


/**
 * @ingroup actors-objects
 * @class daLv3Candle_c
 * @brief Lakebed Temple Torch
 *
 * @details
 *
 */
class daLv3Candle_c : public fopAc_ac_c {
public:
    void setBaseMtx();
    int CreateHeap();
    cPhs_Step create();
    static int createHeapCallBack(fopAc_ac_c*);
    void lightInit();
    void pointLightProc();
    int Execute();
    int Draw();
    int Delete();

    int getSwBit() { return fopAcM_GetParamBit(this, 0, 8); }
    int getType() { return fopAcM_GetParamBit(this, 8, 8); }

private:
    /* 0x568 */ request_of_phase_process_class mPhaseReq;
    /* 0x570 */ J3DModel* mpModel;
    /* 0x574 */ u8 mType;
    /* 0x578 */ dCcD_Stts mStts;
    /* 0x5B4 */ dCcD_Sph mSph;
    /* 0x6EC */ cXyz mTorchPos;
    /* 0x6F8 */ u32 field_0x6f8;  // Unused?
    /* 0x6FC */ cXyz mLightPos;
    /* 0x708 */ u8 mIsLit;
    /* 0x70C */ f32 mIntensity;
    /* 0x710 */ LIGHT_INFLUENCE mLight;
    /* 0x730 */ u8 mTgHit;
    /* 0x734 */ Z2SoundObjSimple mSound;

    static dCcD_SrcGObjInf const mCcDObjInfo;
    static dCcD_SrcSph mCcDSph;

};  // Size: 0x754

STATIC_ASSERT(sizeof(daLv3Candle_c) == 0x754);

#endif /* D_A_OBJ_LV3CANDLE_H */