mirror of
https://github.com/zeldaret/tp
synced 2026-08-13 04:09:51 -04:00
d_meter2 wip / d_s_play / d_file_sel_info (#179)
* d_meter2 wip * d_s_play * d_file_sel_info * format * tag_lv5soup / tag_setBall / fix dKyeff * d_cc_uty
This commit is contained in:
@@ -136,6 +136,9 @@ public:
|
||||
void SetSe(u8 se) { mSe = se; }
|
||||
void SetMtrl(u8 mtrl) { mMtrl = mtrl; }
|
||||
void SetAtSpl(dCcG_At_Spl spl) { mSpl = spl; }
|
||||
u8 GetSe() { return mSe; }
|
||||
u8 GetSpl() { return mSpl; }
|
||||
u8 GetMtrl() { return mMtrl; }
|
||||
|
||||
// private:
|
||||
/* 0x1C */ u8 mSe;
|
||||
@@ -207,6 +210,9 @@ public:
|
||||
cXyz* GetAtVecP() { return mGObjAt.GetVecP(); }
|
||||
void SetAtSpl(dCcG_At_Spl spl) { mGObjAt.SetAtSpl(spl); }
|
||||
void SetAtHitCallback(dCcD_AtHitCallback callback) { mGObjAt.SetHitCallback(callback); }
|
||||
u8 GetAtSe() { return mGObjAt.GetSe(); }
|
||||
s32 GetAtSpl() { return mGObjAt.GetSpl(); }
|
||||
u8 GetAtMtrl() { return mGObjAt.GetMtrl(); }
|
||||
|
||||
static u32 const m_hitSeID[24];
|
||||
|
||||
|
||||
@@ -2,5 +2,22 @@
|
||||
#define D_CC_D_CC_UTY_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
|
||||
struct dCcU_AtInfo {
|
||||
/* 0x00 */ cCcD_Obj* mpCollider;
|
||||
/* 0x04 */ fopAc_ac_c* mpActor;
|
||||
/* 0x08 */ Z2Creature* mpSound;
|
||||
/* 0x0C */ u8 field_0xc[2];
|
||||
/* 0x0E */ s16 mHitDirection;
|
||||
/* 0x10 */ u8 field_0x10[4];
|
||||
/* 0x14 */ u32 mHitBit;
|
||||
/* 0x18 */ u32 field_0x18;
|
||||
/* 0x1C */ u16 mAttackPower;
|
||||
/* 0x1E */ u8 mPowerType;
|
||||
/* 0x1F */ s8 mHitStatus; // maybe inaccurate name
|
||||
/* 0x20 */ u8 mHitType;
|
||||
};
|
||||
|
||||
#endif /* D_CC_D_CC_UTY_H */
|
||||
|
||||
Reference in New Issue
Block a user