mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 00:58:43 +08:00
[cpp] More MSVC fixes
This commit is contained in:
parent
ef57000eab
commit
5297391a44
@ -114,8 +114,8 @@ namespace spine {
|
||||
|
||||
int _boneIndex;
|
||||
|
||||
static const int ENTRIES = 3;
|
||||
static const int VALUE1 = 1, VALUE2 = 2;
|
||||
static const int ENTRIES;
|
||||
static const int VALUE1, VALUE2;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -246,7 +246,7 @@ namespace spine {
|
||||
class SP_API TransformConstraintData : public ConstraintDataGeneric<TransformConstraint, TransformConstraintPose> {
|
||||
public:
|
||||
RTTI_DECL
|
||||
static const int ROTATION = 0, X = 1, Y = 2, SCALEX = 3, SCALEY = 4, SHEARY = 5;
|
||||
static const int ROTATION, X, Y, SCALEX, SCALEY, SHEARY;
|
||||
friend class SkeletonBinary;
|
||||
friend class SkeletonJson;
|
||||
friend class TransformConstraint;
|
||||
|
||||
@ -38,6 +38,11 @@
|
||||
|
||||
using namespace spine;
|
||||
|
||||
// Define static constants for BoneTimeline2
|
||||
const int BoneTimeline2::ENTRIES = 3;
|
||||
const int BoneTimeline2::VALUE1 = 1;
|
||||
const int BoneTimeline2::VALUE2 = 2;
|
||||
|
||||
RTTI_IMPL_NOPARENT(BoneTimeline)
|
||||
|
||||
RTTI_IMPL_MULTI(BoneTimeline1, CurveTimeline1, BoneTimeline)
|
||||
|
||||
@ -38,6 +38,14 @@
|
||||
|
||||
using namespace spine;
|
||||
|
||||
// Define static constants for TransformConstraintData
|
||||
const int TransformConstraintData::ROTATION = 0;
|
||||
const int TransformConstraintData::X = 1;
|
||||
const int TransformConstraintData::Y = 2;
|
||||
const int TransformConstraintData::SCALEX = 3;
|
||||
const int TransformConstraintData::SCALEY = 4;
|
||||
const int TransformConstraintData::SHEARY = 5;
|
||||
|
||||
RTTI_IMPL(TransformConstraintData, ConstraintData)
|
||||
RTTI_IMPL_NOPARENT(FromProperty)
|
||||
RTTI_IMPL_NOPARENT(ToProperty)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user