summaryrefslogtreecommitdiff
path: root/include/JSystem/J3DGraphBase/J3DPacket.h
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2023-05-09 10:41:27 +0300
committerTal Hayon <talhayon1@gmail.com>2023-05-09 10:41:27 +0300
commitff07b43bfac8a9b00e648fd3efc1b26f6dcf35d1 (patch)
tree36827ce8c1d178600daa071b55ec047c3b1f980f /include/JSystem/J3DGraphBase/J3DPacket.h
parent44b0fdbb0d73226eb8f365572f75d2ee026f1040 (diff)
J3DJoint OK
Diffstat (limited to 'include/JSystem/J3DGraphBase/J3DPacket.h')
-rw-r--r--include/JSystem/J3DGraphBase/J3DPacket.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/JSystem/J3DGraphBase/J3DPacket.h b/include/JSystem/J3DGraphBase/J3DPacket.h
index 00fa7590f0..790e734825 100644
--- a/include/JSystem/J3DGraphBase/J3DPacket.h
+++ b/include/JSystem/J3DGraphBase/J3DPacket.h
@@ -102,6 +102,7 @@ public:
void lock() { onFlag(LOCKED); }
void unlock() { offFlag(LOCKED); }
J3DTexMtxObj* getTexMtxObj() const { return mpTexMtxObj; }
+ bool isLocked() const { return checkFlag(1); }
public:
/* 0x10 */ u32 mFlags;
@@ -150,6 +151,7 @@ public:
J3DShapePacket* getShapePacket() const { return mpShapePacket; }
void setShapePacket(J3DShapePacket* packet) { mpShapePacket = packet; }
void setInitShapePacket(J3DShapePacket* packet) { mpInitShapePacket = packet; }
+ void setMaterialAnmID(J3DMaterialAnm* materialAnm) { mpMaterialAnm = materialAnm; }
bool isChanged() const { return mDiffFlag & 0x80000000; }
virtual ~J3DMatPacket();