mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-14 19:11:36 +08:00
[cpp] 4.3 porting WIP
This commit is contained in:
parent
80bf16785f
commit
ac2046c1a5
@ -33,7 +33,7 @@
|
||||
#include <spine/BoneTimeline.h>
|
||||
|
||||
namespace spine {
|
||||
/// Changes a bone's local shear X and Y.
|
||||
/// Changes a bone's local BoneLocal::getShearX() and BoneLocal::getShearY().
|
||||
class SP_API ShearTimeline : public BoneTimeline2 {
|
||||
friend class SkeletonBinary;
|
||||
|
||||
@ -49,7 +49,7 @@ namespace spine {
|
||||
MixDirection direction) override;
|
||||
};
|
||||
|
||||
/// Changes a bone's local shear X.
|
||||
/// Changes a bone's local BoneLocal::getShearX().
|
||||
class SP_API ShearXTimeline : public BoneTimeline1 {
|
||||
friend class SkeletonBinary;
|
||||
|
||||
@ -65,7 +65,7 @@ namespace spine {
|
||||
MixDirection direction) override;
|
||||
};
|
||||
|
||||
/// Changes a bone's local shear Y.
|
||||
/// Changes a bone's local BoneLocal::getShearY().
|
||||
class SP_API ShearYTimeline : public BoneTimeline1 {
|
||||
friend class SkeletonBinary;
|
||||
|
||||
|
||||
@ -47,7 +47,7 @@ namespace spine {
|
||||
|
||||
virtual void
|
||||
apply(Skeleton &skeleton, float lastTime, float time, Vector<Event *> *pEvents, float alpha, MixBlend blend,
|
||||
MixDirection direction, bool appliedPose);
|
||||
MixDirection direction, bool appliedPose) override;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
#include <spine/ConstraintTimeline1.h>
|
||||
|
||||
namespace spine {
|
||||
/// Changes a slider's SliderPose::getTime().
|
||||
class SP_API SliderTimeline : public ConstraintTimeline1 {
|
||||
friend class SkeletonBinary;
|
||||
friend class SkeletonJson;
|
||||
@ -46,7 +47,7 @@ namespace spine {
|
||||
|
||||
virtual void
|
||||
apply(Skeleton &skeleton, float lastTime, float time, Vector<Event *> *pEvents, float alpha, MixBlend blend,
|
||||
MixDirection direction, bool appliedPose);
|
||||
MixDirection direction, bool appliedPose) override;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user