mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-05 10:16:54 +08:00
[cpp] 4.3 porting WIP
This commit is contained in:
parent
782620c737
commit
d7891870bf
@ -48,8 +48,8 @@ namespace spine {
|
|||||||
EventType_Start = 0,
|
EventType_Start = 0,
|
||||||
EventType_Interrupt,
|
EventType_Interrupt,
|
||||||
EventType_End,
|
EventType_End,
|
||||||
EventType_Complete,
|
|
||||||
EventType_Dispose,
|
EventType_Dispose,
|
||||||
|
EventType_Complete,
|
||||||
EventType_Event
|
EventType_Event
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -52,6 +52,7 @@ namespace spine {
|
|||||||
friend class TranslateTimeline;
|
friend class TranslateTimeline;
|
||||||
friend class TranslateXTimeline;
|
friend class TranslateXTimeline;
|
||||||
friend class TranslateYTimeline;
|
friend class TranslateYTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
friend class Skeleton;
|
friend class Skeleton;
|
||||||
friend class FromProperty;
|
friend class FromProperty;
|
||||||
friend class ToProperty;
|
friend class ToProperty;
|
||||||
|
|||||||
@ -39,6 +39,7 @@ namespace spine {
|
|||||||
class SP_API IkConstraintPose : public Pose<IkConstraintPose> {
|
class SP_API IkConstraintPose : public Pose<IkConstraintPose> {
|
||||||
friend class IkConstraint;
|
friend class IkConstraint;
|
||||||
friend class IkConstraintTimeline;
|
friend class IkConstraintTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IkConstraintPose();
|
IkConstraintPose();
|
||||||
|
|||||||
@ -40,6 +40,7 @@ namespace spine {
|
|||||||
friend class PathConstraintPositionTimeline;
|
friend class PathConstraintPositionTimeline;
|
||||||
friend class PathConstraintSpacingTimeline;
|
friend class PathConstraintSpacingTimeline;
|
||||||
friend class PathConstraintMixTimeline;
|
friend class PathConstraintMixTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float _position;
|
float _position;
|
||||||
|
|||||||
@ -38,6 +38,7 @@ namespace spine {
|
|||||||
class SP_API PhysicsConstraintPose : public Pose<PhysicsConstraintPose> {
|
class SP_API PhysicsConstraintPose : public Pose<PhysicsConstraintPose> {
|
||||||
friend class PhysicsConstraint;
|
friend class PhysicsConstraint;
|
||||||
friend class PhysicsConstraintTimeline;
|
friend class PhysicsConstraintTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float _inertia;
|
float _inertia;
|
||||||
|
|||||||
@ -41,6 +41,7 @@ namespace spine {
|
|||||||
friend class Slider;
|
friend class Slider;
|
||||||
friend class SliderMixTimeline;
|
friend class SliderMixTimeline;
|
||||||
friend class SliderTimeline;
|
friend class SliderTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
private:
|
private:
|
||||||
float _time, _mix;
|
float _time, _mix;
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,7 @@ namespace spine {
|
|||||||
friend class RGBA2Timeline;
|
friend class RGBA2Timeline;
|
||||||
friend class RGB2Timeline;
|
friend class RGB2Timeline;
|
||||||
friend class PathConstraint;
|
friend class PathConstraint;
|
||||||
|
friend class SkeletonJson;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Color _color;
|
Color _color;
|
||||||
|
|||||||
@ -52,6 +52,7 @@ namespace spine {
|
|||||||
friend class ToShearY;
|
friend class ToShearY;
|
||||||
friend class TransformConstraint;
|
friend class TransformConstraint;
|
||||||
friend class TransformConstraintTimeline;
|
friend class TransformConstraintTimeline;
|
||||||
|
friend class SkeletonJson;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float _mixRotate, _mixX, _mixY, _mixScaleX, _mixScaleY, _mixShearY;
|
float _mixRotate, _mixX, _mixY, _mixScaleX, _mixScaleY, _mixShearY;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user