File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 33#pragma once
44
55#include " RenderVisual.h"
6+ #include " Layers\xrRender\KinematicsAddBoneTransform.hpp" // --#SM+#--
67
78typedef void (*UpdateCallback)(IKinematics* P);
89
@@ -77,6 +78,9 @@ class IKinematics
7778 virtual u64 LL_GetBonesVisible () = 0;
7879 virtual void LL_SetBonesVisible (u64 mask) = 0;
7980
81+ virtual void LL_AddTransformToBone (KinematicsABT::additional_bone_transform& offset) = 0; // --#SM+#--
82+ virtual void LL_ClearAdditionalTransform (u16 bone_id) = 0; // --#SM+#--
83+
8084 // Main functionality
8185 virtual void CalculateBones (BOOL bForceExact = FALSE ) = 0; // Recalculate skeleton
8286 virtual void CalculateBones_Invalidate () = 0;
Original file line number Diff line number Diff line change 55#include " xrCore/Animation/SkeletonMotions.hpp"
66#include " animation_blend.h"
77#include " Layers/xrrender/KinematicAnimatedDefs.h"
8+ #include " Layers/xrRender/KinematicsAddBoneTransform.hpp" // --#SM+#--
89
910class IKinematics ;
1011class CBlend ;
@@ -61,6 +62,9 @@ class IKinematicsAnimated
6162 virtual void LL_BuldBoneMatrixDequatize (const CBoneData* bd, u8 channel_mask, SKeyTable& keys) = 0;
6263 virtual void LL_BoneMatrixBuild (CBoneInstance& bi, const Fmatrix* parent, const SKeyTable& keys) = 0;
6364
65+ virtual void LL_AddTransformToBone (KinematicsABT::additional_bone_transform& offset) = 0; // --#SM+#--
66+ virtual void LL_ClearAdditionalTransform (u16 bone_id) = 0; // --#SM+#--
67+
6468 virtual IBlendDestroyCallback* GetBlendDestroyCallback () = 0;
6569 virtual void SetBlendDestroyCallback (IBlendDestroyCallback* cb) = 0;
6670 virtual void SetUpdateTracksCalback (IUpdateTracksCallback* callback) = 0;
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ class IRenderVisual
1818 virtual shared_str getDebugName () = 0;
1919#endif
2020
21+ virtual IRenderVisual* getSubModel (u8 idx) { return nullptr ; } // --#SM+#--
2122 virtual IKinematics* dcast_PKinematics () { return nullptr ; }
2223 virtual IKinematicsAnimated* dcast_PKinematicsAnimated () { return nullptr ; }
2324 virtual IParticleCustom* dcast_ParticleCustom () { return nullptr ; }
You can’t perform that action at this time.
0 commit comments