summaryrefslogtreecommitdiff
path: root/include/d/col
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2026-05-23 22:58:30 +0200
committerrobojumper <robojumper@gmail.com>2026-05-25 00:55:20 +0200
commit916f07e2867eb7b4e5276dea5692f8d1ab67f9ec (patch)
treebab6ba628a292f215b03d54e3aa3f7d06b86e5cb /include/d/col
parent483ac7b934e4e3443366640320ae9b1ade65fe90 (diff)
dAcArrow_c 99%
Diffstat (limited to 'include/d/col')
-rw-r--r--include/d/col/c/c_cc_d.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/d/col/c/c_cc_d.h b/include/d/col/c/c_cc_d.h
index edd178ee..384d253d 100644
--- a/include/d/col/c/c_cc_d.h
+++ b/include/d/col/c/c_cc_d.h
@@ -552,6 +552,10 @@ public:
return mSrc.mDamage;
}
+ void SetInfo_0x0(u8 val) {
+ mSrc.mInfo.field_0x0 = val;
+ }
+
const cCcD_SrcGObjAt &GetSrc() const {
return mSrc;
}
@@ -605,6 +609,9 @@ public:
void Set_0x4C(u32 f) {
field_0x4C = f;
}
+ bool Chk_0x4C(u32 f) const {
+ return field_0x4C & f;
+ }
u32 MskType(u32 mask) const {
return mSrc.mType & mask;
@@ -930,6 +937,10 @@ public:
mTg.Set_0x4C(f);
}
+ bool ChkTg_0x4C(u32 f) const {
+ return mTg.Chk_0x4C(f);
+ }
+
void SetAtCallback(cCcD_HitCallback cb) {
mAt.SetCallback(cb);
}
@@ -981,12 +992,21 @@ public:
void OnAt_0x40() {
mAt.OnSPrm(0x40);
}
+ void OnAt_0x1000() {
+ mAt.OnSPrm(0x1000);
+ }
+ void OnAt_0x2000() {
+ mAt.OnSPrm(0x2000);
+ }
// Related to Beetle (no hook)
void OnAt_0x4000() {
mAt.OnSPrm(0x4000);
}
+ void SetAtInfo_0x0(u8 amount) {
+ mAt.SetInfo_0x0(amount);
+ }
void SetAtDamage(u8 amount) {
mAt.SetAtDamage(amount);