diff options
| author | Pheenoh <pheenoh@gmail.com> | 2022-10-15 15:32:34 -0600 |
|---|---|---|
| committer | Pheenoh <pheenoh@gmail.com> | 2022-12-20 16:28:41 -0700 |
| commit | 85ad8b190d7ad140f63d98d0ce83648a910b8ff0 (patch) | |
| tree | 0ed9630f3a65c50e6d01b1ff60d47b01d72513df /include/JSystem/J3DGraphAnimator | |
| parent | 84950e08b4a525a7d94c5726dbe6d53e6cb53cf1 (diff) | |
d_a_npc work
daBaseNpc_c::setBckAnm and J3DAnmTransform* daBaseNpc_c
daBaseNpc_c::setBtpAnm
daBaseNpc_c::attnSttsOn
daBaseNpc_c::orderEvent
daBaseNpc_c::setEnvTevColor
daBaseNpc_c::setRoomNo
daBaseNpc_c::checkEndAnm attempt
CheckCreateHeap
daNpcF_addIdx
daNpcF_subIdx
daNpcF_incIdx
daNpcF_decIdx
daNpcF_ActorMngr_c::initialize()
daNpcF_ActorMngr_c::entry
cleanup daNpcF_ActorMngr_c::entry
daNpcF_ActorMngr_c::remove
daNpcF_ActorMngr_c::getActorP
daNpcF_MatAnm_c::calc attempt
daNpcF_SPCurve_c::initialize
minor fixes
daNpcF_Path_c::initialize
daNpcF_Path_c::setPathInfo
daNpcF_Path_c::chkPassed
daNpcF_Path_c::reverse
daNpcF_Path_c::setNextIdx
daNpcF_Path_c::getNextIdx
daNpcF_Path_c::getBeforeIdx
daNpcF_Path_c::getBeforePos
daNpcF_Path_c::getNextPos
daNpcT_MatAnm_c::initialize
daNpcT_MatAnm_c::calc
daNpcT_addIdx
daNpcT_subIdx
daNpcT_decIdx
daNpcT_Path_c::hermite
daNpcT_Path_c::initialize
daNpcT_Path_c::setPathInfo attempt
daNpcT_Path_c::setNextPathInfo
daNpcT_Path_c::reverse
daNpcT_Path_c::setNextIdx
daNpcT_Path_c::getDstPos attempt
daNpcT_DmgStagger_c::setParam
Add FLOAT_LABEL where possible
fopEn_enemy / fix e_wb
move jasper's jsystem work over
d_attention / d_demo / d_lib work
remove asm
clean up dolphin files / work on some rels (#212)
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop
* dolphin OS work / cleanup
* dolphin GX work / cleanup
* finish changing dolphin files to C
* more files into C
* match rest of MSL_C math functions
* more dolphin files converted to C
* remove asm
* d_bg_w work
* remove asm
* d_a_alink work / kytag14
initial changes to d_a_e_yc
checkpoint until virtual destructor issue is solved
daNpcF_Lookat_c::adjustMoveDisAngle
daBaseNpc_c::setMtx
daBaseNpc_moveBgActor_c::daBaseNpc_moveBgActor_c()
daNpcT_c::ctrlFaceMotion
daNpcT_c::ctrlMsgAnm attempt
daNpcT_c::initTalk
daNpcF_clearMessageTmpBit
daNpcF_getDistTableIdx
daNpcF_offTmpBit
daNpcF_onTmpBit
daNpcF_chkTmpBit
daNpcF_onEvtBit
daNpcF_chkEvtBit
daNpcF_c::getDistTableIdx
daNpcF_chkPointInArea
daNpcF_chkDoBtnEqSpeak
daNpcF_getPlayerInfoFromPlayerList attempt
daNpcF_pntVsLineSegmentLengthSquare2D
daNpcF_c::chkPointInArea
daNpcF_c::chkPointInArea
daNpcF_c::getAttentionPos
daNpcT_chkTmpBit
daNpcT_offTmpBit
daNpcT_onTmpBit
daNpcT_chkEvtBit
daNpcT_offEvtBit
daNpcT_onEvtBit
daNpcT_chkDoBtnIsSpeak
daNpcT_getDistTableIdx
daBaseNpc_acMngr_c::entry
daNpcF_c::initTalk
undo override
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DAnimation.h | 1 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DJoint.h | 4 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DJointTree.h | 1 | ||||
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DModelData.h | 1 |
4 files changed, 6 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DAnimation.h b/include/JSystem/J3DGraphAnimator/J3DAnimation.h index 4daebd16ec..bcb65aeb6f 100644 --- a/include/JSystem/J3DGraphAnimator/J3DAnimation.h +++ b/include/JSystem/J3DGraphAnimator/J3DAnimation.h @@ -577,6 +577,7 @@ public: f32 getFrame() const { return mFrame; } s16 getEnd() const { return mEnd; } u8 getAttribute() const { return mAttribute; } + u8 getState() const { return mState; } void setAttribute(u8 attr) { mAttribute = attr; } void setEnd(s16 end) { mEnd = end; } void setRate(f32 rate) { mRate = rate; } diff --git a/include/JSystem/J3DGraphAnimator/J3DJoint.h b/include/JSystem/J3DGraphAnimator/J3DJoint.h index 0474f4eb5a..94ce45c74d 100644 --- a/include/JSystem/J3DGraphAnimator/J3DJoint.h +++ b/include/JSystem/J3DGraphAnimator/J3DJoint.h @@ -68,13 +68,15 @@ public: static J3DMtxCalc* mCurrentMtxCalc; private: + friend struct J3DJointFactory; + /* 0x00 */ void* mCallBackUserData; /* 0x04 */ J3DJointCallBack mCallBack; /* 0x08 */ void* field_0x8; /* 0x0C */ J3DJoint* mChild; /* 0x10 */ J3DJoint* mYounger; /* 0x14 */ u16 mJntNo; - /* 0x16 */ u8 mMtxType; + /* 0x16 */ u8 mKind; /* 0x17 */ u8 mScaleCompensate; /* 0x18 */ J3DTransformInfo mTransformInfo; /* 0x38 */ f32 mBoundingSphereRadius; diff --git a/include/JSystem/J3DGraphAnimator/J3DJointTree.h b/include/JSystem/J3DGraphAnimator/J3DJointTree.h index b8e8267339..4937fdae32 100644 --- a/include/JSystem/J3DGraphAnimator/J3DJointTree.h +++ b/include/JSystem/J3DGraphAnimator/J3DJointTree.h @@ -34,6 +34,7 @@ public: u16 getWEvlpMtxNum() const { return mWEvlpMtxNum; } u16 getJointNum() const { return mJointNum; } u16 getDrawMtxNum() const { return mDrawMtxData.mEntryNum; } + JUTNameTab* getJointName() const { return mJointName; } J3DJoint* getRootNode() { return mRootNode; } J3DJoint* getJointNodePointer(u16 idx) const { return mJointNodePointer[idx]; } J3DMtxCalc* getBasicMtxCalc() const { return mBasicMtxCalc; } diff --git a/include/JSystem/J3DGraphAnimator/J3DModelData.h b/include/JSystem/J3DGraphAnimator/J3DModelData.h index 5371f8113a..bc4c2ba9a6 100644 --- a/include/JSystem/J3DGraphAnimator/J3DModelData.h +++ b/include/JSystem/J3DGraphAnimator/J3DModelData.h @@ -33,6 +33,7 @@ public: J3DShape* getShapeNodePointer(u16 idx) const { return mShapeTable.getShapeNodePointer(idx); } J3DJoint* getJointNodePointer(u16 idx) const { return mJointTree.getJointNodePointer(idx); } J3DJointTree& getJointTree() { return mJointTree; } + JUTNameTab* getJointName() const { return mJointTree.getJointName(); } Mtx& getInvJointMtx(s32 idx) const { return mJointTree.getInvJointMtx(idx); } J3DTexture* getTexture() const { return mMaterialTable.getTexture(); } JUTNameTab* getTextureName() const { return mMaterialTable.getTextureName(); } |
