mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +08:00
Forgot to move the namespace braces.
This commit is contained in:
parent
64fd7c2886
commit
d403db2754
@ -37,8 +37,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Timeline;
|
class Timeline;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class Event;
|
class Event;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
#include <spine/Pool.h>
|
#include <spine/Pool.h>
|
||||||
#include <spine/MixPose.h>
|
#include <spine/MixPose.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum EventType {
|
enum EventType {
|
||||||
EventType_Start,
|
EventType_Start,
|
||||||
EventType_Interrupt,
|
EventType_Interrupt,
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SkeletonData;
|
class SkeletonData;
|
||||||
class Animation;
|
class Animation;
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum Format {
|
enum Format {
|
||||||
Format_Alpha,
|
Format_Alpha,
|
||||||
Format_Intensity,
|
Format_Intensity,
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Atlas;
|
class Atlas;
|
||||||
class AtlasRegion;
|
class AtlasRegion;
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Attachment {
|
class Attachment {
|
||||||
RTTI_DECL;
|
RTTI_DECL;
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Skin;
|
class Skin;
|
||||||
class RegionAttachment;
|
class RegionAttachment;
|
||||||
class MeshAttachment;
|
class MeshAttachment;
|
||||||
|
|||||||
@ -39,8 +39,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class Event;
|
class Event;
|
||||||
|
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_AttachmentType_h
|
#ifndef Spine_AttachmentType_h
|
||||||
#define Spine_AttachmentType_h
|
#define Spine_AttachmentType_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum AttachmentType {
|
enum AttachmentType {
|
||||||
AttachmentType_Region,
|
AttachmentType_Region,
|
||||||
AttachmentType_Boundingbox,
|
AttachmentType_Boundingbox,
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_BlendMode_h
|
#ifndef Spine_BlendMode_h
|
||||||
#define Spine_BlendMode_h
|
#define Spine_BlendMode_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum BlendMode {
|
enum BlendMode {
|
||||||
BlendMode_Normal = 0,
|
BlendMode_Normal = 0,
|
||||||
BlendMode_Additive,
|
BlendMode_Additive,
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData {
|
class BoneData {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/VertexAttachment.h>
|
#include <spine/VertexAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
/// Attachment that has a polygon for bounds checking.
|
/// Attachment that has a polygon for bounds checking.
|
||||||
class BoundingBoxAttachment : public VertexAttachment {
|
class BoundingBoxAttachment : public VertexAttachment {
|
||||||
RTTI_DECL;
|
RTTI_DECL;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/VertexAttachment.h>
|
#include <spine/VertexAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SlotData;
|
class SlotData;
|
||||||
|
|
||||||
class ClippingAttachment : public VertexAttachment {
|
class ClippingAttachment : public VertexAttachment {
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class ColorTimeline : public CurveTimeline {
|
class ColorTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Updatable.h>
|
#include <spine/Updatable.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
/// The interface for all constraints.
|
/// The interface for all constraints.
|
||||||
class Constraint : public Updatable {
|
class Constraint : public Updatable {
|
||||||
RTTI_DECL;
|
RTTI_DECL;
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class ContainerUtil {
|
class ContainerUtil {
|
||||||
public:
|
public:
|
||||||
/// Finds an item by comparing each item's name.
|
/// Finds an item by comparing each item's name.
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
/// Base class for frames that use an interpolation bezier curve.
|
/// Base class for frames that use an interpolation bezier curve.
|
||||||
class CurveTimeline : public Timeline {
|
class CurveTimeline : public Timeline {
|
||||||
RTTI_DECL;
|
RTTI_DECL;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class VertexAttachment;
|
class VertexAttachment;
|
||||||
|
|
||||||
class DeformTimeline : public CurveTimeline {
|
class DeformTimeline : public CurveTimeline {
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Timeline.h>
|
#include <spine/Timeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class DrawOrderTimeline : public Timeline {
|
class DrawOrderTimeline : public Timeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class EventData;
|
class EventData;
|
||||||
|
|
||||||
/// Stores the current pose values for an Event.
|
/// Stores the current pose values for an Event.
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
/// Stores the setup pose values for an Event.
|
/// Stores the setup pose values for an Event.
|
||||||
class EventData {
|
class EventData {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Timeline.h>
|
#include <spine/Timeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class EventTimeline : public Timeline {
|
class EventTimeline : public Timeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -47,8 +47,7 @@
|
|||||||
/* Call destructor and then frees memory. Can be used on const types. */
|
/* Call destructor and then frees memory. Can be used on const types. */
|
||||||
#define DESTROY(TYPE,VALUE) VALUE->~TYPE(); SPINE_EXTENSION->spineFree((void*)VALUE)
|
#define DESTROY(TYPE,VALUE) VALUE->~TYPE(); SPINE_EXTENSION->spineFree((void*)VALUE)
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SpineExtension {
|
class SpineExtension {
|
||||||
public:
|
public:
|
||||||
static void setInstance(SpineExtension* inSpineExtension);
|
static void setInstance(SpineExtension* inSpineExtension);
|
||||||
|
|||||||
@ -34,8 +34,7 @@
|
|||||||
#include <spine/Extension.h>
|
#include <spine/Extension.h>
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
template <typename K, typename V, typename H>
|
template <typename K, typename V, typename H>
|
||||||
class HashMap {
|
class HashMap {
|
||||||
private:
|
private:
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class IkConstraintData;
|
class IkConstraintData;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class Bone;
|
class Bone;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
|
|
||||||
class IkConstraintData {
|
class IkConstraintData {
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class IkConstraintTimeline : public CurveTimeline {
|
class IkConstraintTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
#define SPINE_JSON_HAVE_PREV 0
|
#define SPINE_JSON_HAVE_PREV 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Json {
|
class Json {
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class MeshAttachment;
|
class MeshAttachment;
|
||||||
|
|
||||||
class LinkedMesh {
|
class LinkedMesh {
|
||||||
|
|||||||
@ -48,8 +48,7 @@
|
|||||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
int sign(T val) {
|
int sign(T val) {
|
||||||
return (T(0) < val) - (val < T(0));
|
return (T(0) < val) - (val < T(0));
|
||||||
|
|||||||
@ -37,8 +37,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
/// Attachment that displays a texture region using a mesh.
|
/// Attachment that displays a texture region using a mesh.
|
||||||
class MeshAttachment : public VertexAttachment {
|
class MeshAttachment : public VertexAttachment {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_MixDirection_h
|
#ifndef Spine_MixDirection_h
|
||||||
#define Spine_MixDirection_h
|
#define Spine_MixDirection_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
///
|
///
|
||||||
/// Indicates whether a timeline's alpha is mixing out over time toward 0 (the setup or current pose) or mixing in toward 1 (the timeline's pose).
|
/// Indicates whether a timeline's alpha is mixing out over time toward 0 (the setup or current pose) or mixing in toward 1 (the timeline's pose).
|
||||||
/// See also Timeline::apply(Skeleton&, float, float, Vector&, float, MixPose, MixDirection)
|
/// See also Timeline::apply(Skeleton&, float, float, Vector&, float, MixPose, MixDirection)
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_MixPose_h
|
#ifndef Spine_MixPose_h
|
||||||
#define Spine_MixPose_h
|
#define Spine_MixPose_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
///
|
///
|
||||||
/// Controls how a timeline is mixed with the setup or current pose.
|
/// Controls how a timeline is mixed with the setup or current pose.
|
||||||
/// See also Timeline::apply(Skeleton&, float, float, Vector&, float, MixPose, MixDirection)
|
/// See also Timeline::apply(Skeleton&, float, float, Vector&, float, MixPose, MixDirection)
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/VertexAttachment.h>
|
#include <spine/VertexAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class PathAttachment : public VertexAttachment {
|
class PathAttachment : public VertexAttachment {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class PathConstraintData;
|
class PathConstraintData;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class PathAttachment;
|
class PathAttachment;
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
class SlotData;
|
class SlotData;
|
||||||
|
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class PathConstraintMixTimeline : public CurveTimeline {
|
class PathConstraintMixTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class PathConstraintPositionTimeline : public CurveTimeline {
|
class PathConstraintPositionTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/PathConstraintPositionTimeline.h>
|
#include <spine/PathConstraintPositionTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class PathConstraintSpacingTimeline : public PathConstraintPositionTimeline {
|
class PathConstraintSpacingTimeline : public PathConstraintPositionTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Attachment.h>
|
#include <spine/Attachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Bone;
|
class Bone;
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
#include <spine/ContainerUtil.h>
|
#include <spine/ContainerUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class Pool {
|
class Pool {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_PositionMode_h
|
#ifndef Spine_PositionMode_h
|
||||||
#define Spine_PositionMode_h
|
#define Spine_PositionMode_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum PositionMode {
|
enum PositionMode {
|
||||||
PositionMode_Fixed = 0,
|
PositionMode_Fixed = 0,
|
||||||
PositionMode_Percent
|
PositionMode_Percent
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class RTTI {
|
class RTTI {
|
||||||
public:
|
public:
|
||||||
RTTI(const std::string& className);
|
RTTI(const std::string& className);
|
||||||
|
|||||||
@ -39,8 +39,7 @@
|
|||||||
|
|
||||||
#define NUM_UVS 8
|
#define NUM_UVS 8
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Bone;
|
class Bone;
|
||||||
|
|
||||||
/// Attachment that displays a texture region.
|
/// Attachment that displays a texture region.
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_RotateMode_h
|
#ifndef Spine_RotateMode_h
|
||||||
#define Spine_RotateMode_h
|
#define Spine_RotateMode_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum RotateMode {
|
enum RotateMode {
|
||||||
RotateMode_Tangent = 0,
|
RotateMode_Tangent = 0,
|
||||||
RotateMode_Chain,
|
RotateMode_Chain,
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class RotateTimeline : public CurveTimeline {
|
class RotateTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/TranslateTimeline.h>
|
#include <spine/TranslateTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class ScaleTimeline : public TranslateTimeline {
|
class ScaleTimeline : public TranslateTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/TranslateTimeline.h>
|
#include <spine/TranslateTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class ShearTimeline : public TranslateTimeline {
|
class ShearTimeline : public TranslateTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -37,8 +37,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <limits> // std::numeric_limits
|
#include <limits> // std::numeric_limits
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SkeletonData;
|
class SkeletonData;
|
||||||
class Bone;
|
class Bone;
|
||||||
class Updatable;
|
class Updatable;
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SkeletonData;
|
class SkeletonData;
|
||||||
class Atlas;
|
class Atlas;
|
||||||
class AttachmentLoader;
|
class AttachmentLoader;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class BoundingBoxAttachment;
|
class BoundingBoxAttachment;
|
||||||
|
|
||||||
|
|||||||
@ -34,8 +34,7 @@
|
|||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
#include <spine/Triangulator.h>
|
#include <spine/Triangulator.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Slot;
|
class Slot;
|
||||||
class ClippingAttachment;
|
class ClippingAttachment;
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
class SlotData;
|
class SlotData;
|
||||||
class Skin;
|
class Skin;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class CurveTimeline;
|
class CurveTimeline;
|
||||||
class VertexAttachment;
|
class VertexAttachment;
|
||||||
class Animation;
|
class Animation;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
#include <spine/HashMap.h>
|
#include <spine/HashMap.h>
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Attachment;
|
class Attachment;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
|
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class SlotData;
|
class SlotData;
|
||||||
class Bone;
|
class Bone;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
|
|
||||||
class SlotData {
|
class SlotData {
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_SpacingMode_h
|
#ifndef Spine_SpacingMode_h
|
||||||
#define Spine_SpacingMode_h
|
#define Spine_SpacingMode_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum SpacingMode {
|
enum SpacingMode {
|
||||||
SpacingMode_Length = 0,
|
SpacingMode_Length = 0,
|
||||||
SpacingMode_Fixed,
|
SpacingMode_Fixed,
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class AtlasPage;
|
class AtlasPage;
|
||||||
|
|
||||||
class TextureLoader {
|
class TextureLoader {
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
#include <spine/MixPose.h>
|
#include <spine/MixPose.h>
|
||||||
#include <spine/MixDirection.h>
|
#include <spine/MixDirection.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class Event;
|
class Event;
|
||||||
|
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_TimelineType_h
|
#ifndef Spine_TimelineType_h
|
||||||
#define Spine_TimelineType_h
|
#define Spine_TimelineType_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum TimelineType {
|
enum TimelineType {
|
||||||
TimelineType_Rotate = 0,
|
TimelineType_Rotate = 0,
|
||||||
TimelineType_Translate,
|
TimelineType_Translate,
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class TransformConstraintData;
|
class TransformConstraintData;
|
||||||
class Skeleton;
|
class Skeleton;
|
||||||
class Bone;
|
class Bone;
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class BoneData;
|
class BoneData;
|
||||||
|
|
||||||
class TransformConstraintData {
|
class TransformConstraintData {
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class TransformConstraintTimeline : public CurveTimeline {
|
class TransformConstraintTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -31,8 +31,7 @@
|
|||||||
#ifndef Spine_TransformMode_h
|
#ifndef Spine_TransformMode_h
|
||||||
#define Spine_TransformMode_h
|
#define Spine_TransformMode_h
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
enum TransformMode {
|
enum TransformMode {
|
||||||
//0000 0 Flip Scale Rotation
|
//0000 0 Flip Scale Rotation
|
||||||
TransformMode_Normal = 0, // 0000
|
TransformMode_Normal = 0, // 0000
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
#include <spine/Animation.h>
|
#include <spine/Animation.h>
|
||||||
#include <spine/TimelineType.h>
|
#include <spine/TimelineType.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class TranslateTimeline : public CurveTimeline {
|
class TranslateTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -34,8 +34,7 @@
|
|||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
#include <spine/Pool.h>
|
#include <spine/Pool.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Triangulator {
|
class Triangulator {
|
||||||
public:
|
public:
|
||||||
Vector<int>& triangulate(Vector<float>& vertices);
|
Vector<int>& triangulate(Vector<float>& vertices);
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/CurveTimeline.h>
|
#include <spine/CurveTimeline.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class TwoColorTimeline : public CurveTimeline {
|
class TwoColorTimeline : public CurveTimeline {
|
||||||
friend class SkeletonBinary;
|
friend class SkeletonBinary;
|
||||||
friend class SkeletonJson;
|
friend class SkeletonJson;
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/RTTI.h>
|
#include <spine/RTTI.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Updatable {
|
class Updatable {
|
||||||
RTTI_DECL;
|
RTTI_DECL;
|
||||||
|
|
||||||
|
|||||||
@ -37,8 +37,7 @@
|
|||||||
#include <memory>
|
#include <memory>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
class Vector {
|
class Vector {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -35,8 +35,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Slot;
|
class Slot;
|
||||||
|
|
||||||
/// An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's vertices.
|
/// An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's vertices.
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
|
|
||||||
#include <spine/Vector.h>
|
#include <spine/Vector.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
class Vertices {
|
class Vertices {
|
||||||
public:
|
public:
|
||||||
Vector<int> _bones;
|
Vector<int> _bones;
|
||||||
|
|||||||
@ -39,8 +39,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h> /* fmod */
|
#include <math.h> /* fmod */
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
Animation::Animation(std::string name, Vector<Timeline*>& timelines, float duration) :
|
Animation::Animation(std::string name, Vector<Timeline*>& timelines, float duration) :
|
||||||
_timelines(timelines),
|
_timelines(timelines),
|
||||||
_duration(duration),
|
_duration(duration),
|
||||||
|
|||||||
@ -46,8 +46,7 @@
|
|||||||
#include <spine/MathUtil.h>
|
#include <spine/MathUtil.h>
|
||||||
#include <spine/ContainerUtil.h>
|
#include <spine/ContainerUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
void dummyOnAnimationEventFunc(AnimationState* state, EventType type, TrackEntry* entry, Event* event = NULL) {
|
void dummyOnAnimationEventFunc(AnimationState* state, EventType type, TrackEntry* entry, Event* event = NULL) {
|
||||||
// Empty
|
// Empty
|
||||||
}
|
}
|
||||||
|
|||||||
@ -33,8 +33,7 @@
|
|||||||
#include <spine/SkeletonData.h>
|
#include <spine/SkeletonData.h>
|
||||||
#include <spine/Animation.h>
|
#include <spine/Animation.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
AnimationStateData::AnimationStateData(SkeletonData& skeletonData) : _skeletonData(skeletonData), _defaultMix(0) {
|
AnimationStateData::AnimationStateData(SkeletonData& skeletonData) : _skeletonData(skeletonData), _defaultMix(0) {
|
||||||
// Empty
|
// Empty
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
Atlas::Atlas(const char* path, TextureLoader& textureLoader) : _textureLoader(textureLoader) {
|
Atlas::Atlas(const char* path, TextureLoader& textureLoader) : _textureLoader(textureLoader) {
|
||||||
int dirLength;
|
int dirLength;
|
||||||
char *dir;
|
char *dir;
|
||||||
|
|||||||
@ -40,8 +40,7 @@
|
|||||||
|
|
||||||
#include <spine/Atlas.h>
|
#include <spine/Atlas.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(AtlasAttachmentLoader, AttachmentLoader);
|
RTTI_IMPL(AtlasAttachmentLoader, AttachmentLoader);
|
||||||
|
|
||||||
AtlasAttachmentLoader::AtlasAttachmentLoader(Vector<Atlas*>& inAtlasArray) : AttachmentLoader(), _atlasArray(inAtlasArray) {
|
AtlasAttachmentLoader::AtlasAttachmentLoader(Vector<Atlas*>& inAtlasArray) : AttachmentLoader(), _atlasArray(inAtlasArray) {
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL_NOPARENT(Attachment);
|
RTTI_IMPL_NOPARENT(Attachment);
|
||||||
|
|
||||||
Attachment::Attachment(std::string name) : _name(name) {
|
Attachment::Attachment(std::string name) : _name(name) {
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
#include <spine/PointAttachment.h>
|
#include <spine/PointAttachment.h>
|
||||||
#include <spine/ClippingAttachment.h>
|
#include <spine/ClippingAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL_NOPARENT(AttachmentLoader);
|
RTTI_IMPL_NOPARENT(AttachmentLoader);
|
||||||
|
|
||||||
AttachmentLoader::AttachmentLoader() {
|
AttachmentLoader::AttachmentLoader() {
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
#include <spine/Slot.h>
|
#include <spine/Slot.h>
|
||||||
#include <spine/SlotData.h>
|
#include <spine/SlotData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(AttachmentTimeline, Timeline);
|
RTTI_IMPL(AttachmentTimeline, Timeline);
|
||||||
|
|
||||||
AttachmentTimeline::AttachmentTimeline(int frameCount) : Timeline(), _slotIndex(0) {
|
AttachmentTimeline::AttachmentTimeline(int frameCount) : Timeline(), _slotIndex(0) {
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
#include <spine/MathUtil.h>
|
#include <spine/MathUtil.h>
|
||||||
#include <spine/TransformMode.h>
|
#include <spine/TransformMode.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(Bone, Updatable);
|
RTTI_IMPL(Bone, Updatable);
|
||||||
|
|
||||||
bool Bone::yDown = false;
|
bool Bone::yDown = false;
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
BoneData::BoneData(int index, std::string name, BoneData* parent) :
|
BoneData::BoneData(int index, std::string name, BoneData* parent) :
|
||||||
_index(index),
|
_index(index),
|
||||||
_name(name),
|
_name(name),
|
||||||
|
|||||||
@ -30,8 +30,7 @@
|
|||||||
|
|
||||||
#include <spine/BoundingBoxAttachment.h>
|
#include <spine/BoundingBoxAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(BoundingBoxAttachment, VertexAttachment);
|
RTTI_IMPL(BoundingBoxAttachment, VertexAttachment);
|
||||||
|
|
||||||
BoundingBoxAttachment::BoundingBoxAttachment(std::string name) : VertexAttachment(name) {
|
BoundingBoxAttachment::BoundingBoxAttachment(std::string name) : VertexAttachment(name) {
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <spine/SlotData.h>
|
#include <spine/SlotData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(ClippingAttachment, VertexAttachment);
|
RTTI_IMPL(ClippingAttachment, VertexAttachment);
|
||||||
|
|
||||||
ClippingAttachment::ClippingAttachment(std::string name) : VertexAttachment(name), _endSlot(NULL) {
|
ClippingAttachment::ClippingAttachment(std::string name) : VertexAttachment(name), _endSlot(NULL) {
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
#include <spine/Slot.h>
|
#include <spine/Slot.h>
|
||||||
#include <spine/SlotData.h>
|
#include <spine/SlotData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(ColorTimeline, CurveTimeline);
|
RTTI_IMPL(ColorTimeline, CurveTimeline);
|
||||||
|
|
||||||
const int ColorTimeline::ENTRIES = 5;
|
const int ColorTimeline::ENTRIES = 5;
|
||||||
|
|||||||
@ -30,8 +30,7 @@
|
|||||||
|
|
||||||
#include <spine/Constraint.h>
|
#include <spine/Constraint.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(Constraint, Updatable);
|
RTTI_IMPL(Constraint, Updatable);
|
||||||
|
|
||||||
Constraint::Constraint() {
|
Constraint::Constraint() {
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <spine/MathUtil.h>
|
#include <spine/MathUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(CurveTimeline, Timeline);
|
RTTI_IMPL(CurveTimeline, Timeline);
|
||||||
|
|
||||||
const float CurveTimeline::LINEAR = 0;
|
const float CurveTimeline::LINEAR = 0;
|
||||||
|
|||||||
@ -40,8 +40,7 @@
|
|||||||
#include <spine/Slot.h>
|
#include <spine/Slot.h>
|
||||||
#include <spine/SlotData.h>
|
#include <spine/SlotData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(DeformTimeline, CurveTimeline);
|
RTTI_IMPL(DeformTimeline, CurveTimeline);
|
||||||
|
|
||||||
DeformTimeline::DeformTimeline(int frameCount) : CurveTimeline(frameCount), _slotIndex(0), _attachment(NULL) {
|
DeformTimeline::DeformTimeline(int frameCount) : CurveTimeline(frameCount), _slotIndex(0), _attachment(NULL) {
|
||||||
|
|||||||
@ -38,8 +38,7 @@
|
|||||||
#include <spine/Slot.h>
|
#include <spine/Slot.h>
|
||||||
#include <spine/SlotData.h>
|
#include <spine/SlotData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(DrawOrderTimeline, Timeline);
|
RTTI_IMPL(DrawOrderTimeline, Timeline);
|
||||||
|
|
||||||
DrawOrderTimeline::DrawOrderTimeline(int frameCount) : Timeline() {
|
DrawOrderTimeline::DrawOrderTimeline(int frameCount) : Timeline() {
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <spine/EventData.h>
|
#include <spine/EventData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
Event::Event(float time, const EventData& data) :
|
Event::Event(float time, const EventData& data) :
|
||||||
_data(data),
|
_data(data),
|
||||||
_time(time),
|
_time(time),
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
EventData::EventData(std::string name) :
|
EventData::EventData(std::string name) :
|
||||||
_name(name),
|
_name(name),
|
||||||
_intValue(0),
|
_intValue(0),
|
||||||
|
|||||||
@ -40,8 +40,7 @@
|
|||||||
#include <spine/Event.h>
|
#include <spine/Event.h>
|
||||||
#include <spine/ContainerUtil.h>
|
#include <spine/ContainerUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(EventTimeline, Timeline);
|
RTTI_IMPL(EventTimeline, Timeline);
|
||||||
|
|
||||||
EventTimeline::EventTimeline(int frameCount) : Timeline() {
|
EventTimeline::EventTimeline(int frameCount) : Timeline() {
|
||||||
|
|||||||
@ -34,8 +34,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
SpineExtension* SpineExtension::_instance = NULL;
|
SpineExtension* SpineExtension::_instance = NULL;
|
||||||
|
|
||||||
void SpineExtension::setInstance(SpineExtension* inValue) {
|
void SpineExtension::setInstance(SpineExtension* inValue) {
|
||||||
|
|||||||
@ -37,8 +37,7 @@
|
|||||||
#include <spine/BoneData.h>
|
#include <spine/BoneData.h>
|
||||||
#include <spine/MathUtil.h>
|
#include <spine/MathUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(IkConstraint, Constraint);
|
RTTI_IMPL(IkConstraint, Constraint);
|
||||||
|
|
||||||
void IkConstraint::apply(Bone& bone, float targetX, float targetY, float alpha) {
|
void IkConstraint::apply(Bone& bone, float targetX, float targetY, float alpha) {
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <spine/BoneData.h>
|
#include <spine/BoneData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
IkConstraintData::IkConstraintData(std::string name) :
|
IkConstraintData::IkConstraintData(std::string name) :
|
||||||
_name(name),
|
_name(name),
|
||||||
_order(0),
|
_order(0),
|
||||||
|
|||||||
@ -40,8 +40,7 @@
|
|||||||
#include <spine/IkConstraint.h>
|
#include <spine/IkConstraint.h>
|
||||||
#include <spine/IkConstraintData.h>
|
#include <spine/IkConstraintData.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
RTTI_IMPL(IkConstraintTimeline, CurveTimeline);
|
RTTI_IMPL(IkConstraintTimeline, CurveTimeline);
|
||||||
|
|
||||||
const int IkConstraintTimeline::ENTRIES = 3;
|
const int IkConstraintTimeline::ENTRIES = 3;
|
||||||
|
|||||||
@ -52,8 +52,7 @@
|
|||||||
#include <spine/Extension.h>
|
#include <spine/Extension.h>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
const int Json::JSON_FALSE = 0;
|
const int Json::JSON_FALSE = 0;
|
||||||
const int Json::JSON_TRUE = 1;
|
const int Json::JSON_TRUE = 1;
|
||||||
const int Json::JSON_NULL = 2;
|
const int Json::JSON_NULL = 2;
|
||||||
|
|||||||
@ -32,8 +32,7 @@
|
|||||||
|
|
||||||
#include <spine/MeshAttachment.h>
|
#include <spine/MeshAttachment.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
LinkedMesh::LinkedMesh(MeshAttachment* mesh, std::string skin, int slotIndex, std::string parent) :
|
LinkedMesh::LinkedMesh(MeshAttachment* mesh, std::string skin, int slotIndex, std::string parent) :
|
||||||
_mesh(mesh),
|
_mesh(mesh),
|
||||||
_skin(skin),
|
_skin(skin),
|
||||||
|
|||||||
@ -30,8 +30,7 @@
|
|||||||
|
|
||||||
#include <spine/MathUtil.h>
|
#include <spine/MathUtil.h>
|
||||||
|
|
||||||
namespace Spine
|
namespace Spine {
|
||||||
{
|
|
||||||
float MathUtil::SIN_TABLE[SIN_COUNT] = {0.0f};
|
float MathUtil::SIN_TABLE[SIN_COUNT] = {0.0f};
|
||||||
|
|
||||||
MathUtil::MathUtil() {
|
MathUtil::MathUtil() {
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user