Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_cc_mass_s.h
Go to the documentation of this file.
1#ifndef D_CC_D_CC_MASS_S_H
2#define D_CC_D_CC_MASS_S_H
3
5
7
9private:
10 /* 0x00 */ cCcD_Obj* mpObj;
11 /* 0x04 */ u8 mPriority;
14 /* 0x1C vtable */
15
16public:
18 virtual ~dCcMassS_Obj() {}
19 void Set(cCcD_Obj* p_obj, u8 priority, dCcMassS_ObjCallback callback);
20 void Clear();
21
22 cCcD_Obj* GetObj() { return mpObj; }
23 u8 GetPriority() const { return mPriority; }
26}; // Size = 0x20
27
28STATIC_ASSERT(0x20 == sizeof(dCcMassS_Obj));
29
31private:
32 /* 0x00 */ cCcD_Obj* mpArea;
33 /* 0x04 */ cCcD_Obj* mpAtObj;
34 /* 0x08 */ cCcD_Obj* mpCoObj;
35 /* 0x0C */ f32 mCoHitLen;
36
37public:
38 void ClearPointer();
43 cCcD_Obj* GetAtHitObj() const { return mpAtObj; }
44};
45
47public:
49 /* 0x0040 */ s32 mMassObjCount;
50 /* 0x0044 */ dCcMassS_Obj mMassObjs[10];
51 /* 0x0184 */ s32 mMassAreaCount;
52 /* 0x0188 */ dCcMassS_Obj mMassAreas[2];
53 /* 0x01C8 */ cCcD_CylAttr mCylAttr;
54 /* 0x0200 */ u8 field_0x200;
55 /* 0x0200 */ u8 field_0x201;
56 /* 0x0202 */ u8 field_0x202;
57 /* 0x0203 */ u8 mResultCam;
58 /* 0x0204 */ Vec mCamTopPos;
59 /* 0x0210 */ f32 mCamTopDist;
60 /* 0x0214 */ Vec mCamBottomPos;
61 /* 0x0220 */ f32 mCamBottomDist;
62 /* 0x0224 */ cCcD_CpsAttr mCpsAttr;
64 /* 0x0274 vtable */
65
66public:
68 virtual ~dCcMassS_Mng() {}
69 /* 800855E4 */ void Ct();
70 /* 80085630 */ void SetAttr(f32 radius, f32 height, u8 param_2, u8 param_3);
71 /* 80085690 */ void Prepare();
73 /* 80085CF0 */ void Clear();
74 /* 80085D98 */ void Set(cCcD_Obj* p_obj, u8 priority);
75 /* 80085E6C */ void SetCam(cM3dGCps const& cps);
76 /* 80085EB0 */ u32 GetResultCam() const;
77 /* 80085EB8 */ void GetCamTopPos(Vec* p_out);
78};
79
80STATIC_ASSERT(sizeof(dCcMassS_Mng) == 0x278);
81
82#endif /* D_CC_D_CC_MASS_S_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition c_cc_d.h:143
Definition c_cc_d.h:214
Definition c_cc_d.h:261
Definition c_cc_d.h:246
Definition c_m3d_g_cps.h:13
Definition d_cc_mass_s.h:30
cCcD_Obj * GetAtHitObj() const
Definition d_cc_mass_s.h:43
cCcD_Obj * mpCoObj
Definition d_cc_mass_s.h:34
cCcD_Obj * mpArea
Definition d_cc_mass_s.h:32
void SetAreaHitObj(cCcD_Obj *obj)
Definition d_cc_mass_s.h:39
void SetCoHitObj(cCcD_Obj *obj)
Definition d_cc_mass_s.h:40
void SetAtHitObj(cCcD_Obj *obj)
Definition d_cc_mass_s.h:41
void ClearPointer()
Definition d_cc_mass_s.cpp:29
cCcD_Obj * mpAtObj
Definition d_cc_mass_s.h:33
void SetCoHitLen(f32 len)
Definition d_cc_mass_s.h:42
f32 mCoHitLen
Definition d_cc_mass_s.h:35
Definition d_cc_mass_s.h:46
Vec mCamBottomPos
Definition d_cc_mass_s.h:60
void Prepare()
Definition d_cc_mass_s.cpp:68
u8 field_0x200
Definition d_cc_mass_s.h:54
virtual ~dCcMassS_Mng()
Definition d_cc_mass_s.h:68
void Ct()
Definition d_cc_mass_s.cpp:45
u8 mResultCam
Definition d_cc_mass_s.h:57
void Set(cCcD_Obj *p_obj, u8 priority)
Definition d_cc_mass_s.cpp:246
Vec mCamTopPos
Definition d_cc_mass_s.h:58
cCcD_CpsAttr mCpsAttr
Definition d_cc_mass_s.h:62
f32 mCamBottomDist
Definition d_cc_mass_s.h:61
void Clear()
Definition d_cc_mass_s.cpp:227
u32 Chk(cXyz *p_xyz, fopAc_ac_c **p_actor, dCcMassS_HitInf *p_hitInf)
Definition d_cc_mass_s.cpp:119
dCcMassS_Obj mMassObjs[10]
Definition d_cc_mass_s.h:50
s32 mMassObjCount
Definition d_cc_mass_s.h:49
u8 field_0x201
Definition d_cc_mass_s.h:55
dCcMassS_Mng()
Definition d_cc_mass_s.cpp:37
cCcD_DivideArea mDivideArea
Definition d_cc_mass_s.h:48
cCcD_CylAttr mCylAttr
Definition d_cc_mass_s.h:53
u32 GetResultCam() const
Definition d_cc_mass_s.cpp:270
f32 mCamTopDist
Definition d_cc_mass_s.h:59
s32 mMassAreaCount
Definition d_cc_mass_s.h:51
u8 field_0x202
Definition d_cc_mass_s.h:56
dCcMassS_Obj mMassAreas[2]
Definition d_cc_mass_s.h:52
void SetCam(cM3dGCps const &cps)
Definition d_cc_mass_s.cpp:263
void SetAttr(f32 radius, f32 height, u8 param_2, u8 param_3)
Definition d_cc_mass_s.cpp:60
void GetCamTopPos(Vec *p_out)
Definition d_cc_mass_s.cpp:276
cCcD_DivideInfo mDivideInfo
Definition d_cc_mass_s.h:63
Definition d_cc_mass_s.h:8
cCcD_Obj * GetObj()
Definition d_cc_mass_s.h:22
cCcD_DivideInfo mDivideInfo
Definition d_cc_mass_s.h:13
cCcD_DivideInfo & GetDivideInfo()
Definition d_cc_mass_s.h:25
virtual ~dCcMassS_Obj()
Definition d_cc_mass_s.h:18
u8 GetPriority() const
Definition d_cc_mass_s.h:23
void Set(cCcD_Obj *p_obj, u8 priority, dCcMassS_ObjCallback callback)
Definition d_cc_mass_s.cpp:13
dCcMassS_Obj()
Definition d_cc_mass_s.cpp:42
cCcD_Obj * mpObj
Definition d_cc_mass_s.h:10
u8 mPriority
Definition d_cc_mass_s.h:11
dCcMassS_ObjCallback mpCallback
Definition d_cc_mass_s.h:12
void Clear()
Definition d_cc_mass_s.cpp:20
dCcMassS_ObjCallback GetCallback() const
Definition d_cc_mass_s.h:24
void(* dCcMassS_ObjCallback)(fopAc_ac_c *, cXyz *, u32)
Definition d_cc_mass_s.h:6
STATIC_ASSERT(0x20==sizeof(dCcMassS_Obj))
Definition d_a_hozelda.cpp:18
Definition d_a_npc_fguard.cpp:141
Definition d_a_hozelda.cpp:20
Definition d_a_ep.cpp:19
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8