summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphAnimator
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-11-17 18:38:04 -0500
committerGitHub <noreply@github.com>2025-11-17 15:38:04 -0800
commitbd2def28db1f529298039b6312b6b53f1575fbb7 (patch)
tree3216aedaaf199bcc2aeb872425b7313a7c52a63e /include/JSystem/J3DGraphAnimator
parent4ab97e8f2613e2caf63227db3790d33f9bb2d791 (diff)
d_a_demo00 OK (#2817)
* Misc small matches * Add J3DFrameCtrl::EMode_NULL enum * Improve weak bss fakematch and remove a functionvalue fakematch * demo00 OK
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DAnimation.h11
-rw-r--r--include/JSystem/J3DGraphAnimator/J3DJoint.h2
2 files changed, 7 insertions, 6 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DAnimation.h b/include/JSystem/J3DGraphAnimator/J3DAnimation.h
index 1003219d24..1ebc3f67c3 100644
--- a/include/JSystem/J3DGraphAnimator/J3DAnimation.h
+++ b/include/JSystem/J3DGraphAnimator/J3DAnimation.h
@@ -919,11 +919,12 @@ public:
class J3DFrameCtrl {
public:
enum Attribute_e {
- EMode_NONE,
- EMode_RESET,
- EMode_LOOP,
- EMode_REVERSE,
- EMode_LOOP_REVERSE,
+ /* -1 */ EMode_NULL = -1,
+ /* 0x0 */ EMode_NONE,
+ /* 0x1 */ EMode_RESET,
+ /* 0x2 */ EMode_LOOP,
+ /* 0x3 */ EMode_REVERSE,
+ /* 0x4 */ EMode_LOOP_REVERSE,
};
J3DFrameCtrl() { this->init(0); }
diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h
index beb4004dcf..9510ceb415 100644
--- a/include/JSystem/J3DGraphAnimator/J3DJoint.h
+++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h
@@ -84,7 +84,7 @@ public:
static J3DMtxCalc* mCurrentMtxCalc;
- u8 getKind() { return mKind & 15; }
+ u8 getKind() const { return mKind & 15; }
private:
friend struct J3DJointFactory;