progress on d_a_obj_ivy_rope (#109)

* init

* couple more funcs

* progress

* smol progress

* smol progress 2

* Dont get your hopes up, I just had some lingering things :P

* fix merge
This commit is contained in:
Elijah Thomas
2025-05-10 17:23:35 -04:00
committed by GitHub
parent 91e2efd1b2
commit e1aad98a2d
15 changed files with 1509 additions and 104 deletions
+17 -2
View File
@@ -293,6 +293,9 @@ public:
/* 0x38 */ int mRank;
cCcD_Stts(dAcObjBase_c *);
~cCcD_Stts() {
mpActor = nullptr;
}
void Move();
int GetID() const;
void PlusCcMove(f32, f32, f32);
@@ -357,6 +360,8 @@ enum dCcD_ObjAtType {
/* 0x 0200 0000 */ AT_TYPE_0x2000000 = (1 << 25),
/* 0x 0400 0000 */ AT_TYPE_KOLOKTOS_SWORD = (1 << 26),
/* 0x 0800 0000 */ AT_TYPE_0x8000000 = (1 << 27),
/* 0x 0148 8200 */ AT_TYPE_COMMON0 =
AT_TYPE_BUGNET | AT_TYPE_BEETLE | AT_TYPE_0x80000 | AT_TYPE_0x8000 | AT_TYPE_WIND,
};
enum cCcD_AtModifiers_e {
@@ -790,8 +795,14 @@ public:
mCo.OnSPrm(f);
}
void SetTgType(u32 flag) {
mTg.SetType(flag);
void SetTgType(u32 type) {
mTg.SetType(type);
}
void OnTgType(u32 type) {
mTg.OnType(type);
}
void OffTgType(u32 type) {
mTg.OffType(type);
}
void SetAtFlag(u32 flag) {
mAt.SetSPrm(flag);
@@ -913,6 +924,10 @@ public:
return mTg.MskSPrm(0x400);
}
void OnTg_0x200000() {
mTg.OnSPrm(0x200000);
}
void SetTg_0x4B(u8 val) {
mTg.Set_0x4B(val);
}