368 Commits

Author SHA1 Message Date
Borislav Stanimirov
b795ba2f4e Fixed spBone_worldToLocalRotationY
* crashes when bone has no parent
* doesn't calculate local rotation when bone has parent
2016-07-14 20:08:52 +03:00
badlogic
17a08e674c [c][sfml][cocos2d-objc][cocos2d-x][csharp][monogame][xna][unity] Updated README.mds to reflect version compatibility 2016-07-12 17:07:30 +02:00
badlogic
44be67970d [c] Guarded macros against expressions of death 2016-07-06 12:24:48 +02:00
NathanSweet
005861c242 [c] Fixed unused warning. 2016-07-06 12:16:29 +02:00
badlogic
ef3041a84b [c] Fixed SIN_DEG/COS_DEG 2016-07-06 12:17:03 +02:00
Mario Zechner
eb540387e6 [c][sfml][cocos2d-x][cocos2d-objc] Updated to 3.3.07 (#629) 2016-07-05 19:53:24 +02:00
John
b9bd66b36b Updated spine-c, spine-sfml, spine-cocos2d-objc and spine-cocos2dx to 3.2.01
- Updated spine-c to 3.2.01, adding shearing and transform constraints plus various bug fixes
- Introduced CMake based system to generated IDE projects for spine-sfml, and download dependencies for all other runtimes
- Updated all spine-c based runtime READMEs with new usage and example instructions
- Moved spine-cocos2d-iphone v2 and spine-cocos2dx v2 to separate branches. These will no longer be updated
- Renamed spine-cocos2d-iphone to spine-cocos2d-iphone

Removed cocos2d-ios v2 Spine runtime. See branch cocos2d-ios-v2 for legacy apps

Moved cocos2d-ios v3 Spine runtime to top-level sphine-cocos2d-iphone directory

Added Visual Studio support to CMake build

Added Linux support for spine-sfml. Do apt-get install sfml-dev as a prerequisit, makes everyone's life easier

Refactored Mac OS X framework detection and linking, added SFML_STATIC define for Win32 build

Removed spine-cocos2dx v2 runtime. See cocos2dx-v2 branch on Github

Moved spine-cocos2dx v3 runtime to root of spine-cocos2dx

spine-c, spine-cocos2d-iphone, spine-cocos2dx, spine-sfml updated to 3.2.00

* Added CMake build for spine-c and spine-sfml
* Removed spine-cocos2dx v2 and spine-cocos2d-iphone v2. See the cocos2dx-v2 and cocos2d-ios-v2 branches if you need these runtimes still
* Added transform constraint rotate, scale, and shear offsets and mixes
* Added spTransformConstraintTimeline
* Added bone shearing
* Added spShearTimeline
* Changed spSkeleton_updateCache
* Changed JSON format, see http://esotericsoftware.com/spine-json-format

Ported 1be89d1c5766fedb91f080a23bffaef6609b86c3 to spine-c

Cleaned up spine-c, removed IDE specific files and unnecessary data/ folder. Use CMake to import into your most beloved IDE

Added spine-cocos2d-iphone to CMake, only downloads cocos2d-objc dependency. Use Xcode project in spine-cocos2d-iphone/ to run examples

Added -std=c98 -pedantic -Wall to spine-c CMake file, fixed up all warnings, fixed up .gitignore

Fixed warnings, replaced calls to stdlib cos/sin/atan2 with macros

New cocos2dx example project, for Windows, Linux and Mac OS X. Doesn't work on Windows/Linux yet

Fixed spine-cocos2dx Visual Studio projects

Reworked cocos2dx dependency resolution

Fixed up src/header paths in CMake files. Dependencies are only downloaded if you build a specific runtime example

Updated spine-sfml README with instructions for Windows

Updated spine-sfml README with instructions for Linux and Mac OS X

Fixed README formatting

More formatting, sorry, can't preview markdown...

More README changes

Renamed spine-cocos2d-iphone to spine-cocos2d-objc, fixed up Xcode project and README

Updated spine-cocos2d-objc README

Added context when exceptions are thrown during attachment and animation parsing.

Added JsonRollback, a tool for converting newer JSON so it can be loaded by an older Spine version.

[Unity] Update BoneFollower

Added coverting linkedmesh to weightedlinkedmesh.

[LUA] AnimationState trackCount bugfixes (#466)

* resolved conflict

* made trackCount keep count, not maximum track index.

Prettier with varargs.

Updated .gitignore to exclude cocos2dx dependencies

Fixed up READMEs of spine-c based runtimes with proper version info. Fixed cocos2d-x CMake build to delete outdated Spine runtime shipped by cocos2d-x
2016-06-22 15:23:31 +02:00
NathanSweet
db1afae89a Merge remote-tracking branch 'origin/dev' 2016-06-15 20:18:29 +02:00
mogemimi
fc8505ff81 Fix -Wshadow warning when compiling with Clang (#607) 2016-06-10 23:41:23 +02:00
NathanSweet
d5228d2549 Fixed having > 8 linked meshes. 2016-06-10 20:12:20 +02:00
NathanSweet
8d7f761311 spine-libgdx updated to 3.2.00.
* Added transform constraint rotate, scale, and shear offsets and mixes.
* Added TransformConstraintTimeline.
* Added bone shearing.
* Added ShearTimeline.
* Changed Skeleton#updateCache.
* Changed JSON and binary formats. Some binary format fields and enums were rearranged for consistency -- sorry, but it's better for the long term. Docs for both are up to date.
http://esotericsoftware.com/spine-json-format
http://esotericsoftware.com/spine-binary-format
2016-04-26 22:51:04 +02:00
NathanSweet
506dc49d8a Fixed spAttachmentLoader_configureAttachment being called too soon for linked meshes. 2016-04-21 16:15:40 +02:00
NathanSweet
4064f0b7bc Fixed atlas format and filter name parsing. 2016-04-17 22:35:44 +02:00
NathanSweet
d2eac9ead8 Fixed IK bug. 2016-04-17 22:35:26 +02:00
NathanSweet
1410f0e16f Clean up. 2016-04-15 17:40:48 +02:00
NathanSweet
421789e6f7 spine-c updated to v3.1. 2016-04-15 12:21:22 +02:00
John
ca0372c415 Fix insert operation.
Handle case where move is unnecessary.
2016-04-15 08:34:15 +08:00
John
f65ca667b3 Changed bone sorting so transform behavior is consistent when IK and transform constraints are mixed. (#550)
based on : b0eec6f411
2016-04-14 21:45:34 +02:00
NathanSweet
2b27761539 Docs. 2016-04-13 09:52:37 +02:00
NathanSweet
d0d7e64b43 Docs: added a note to runtimes that don't yet support the binary format. 2016-04-07 22:50:00 +02:00
NathanSweet
facf913493 Short names for unknown enum values. 2016-04-04 22:35:01 +02:00
NathanSweet
05f544c14d Added "unknown" atlas format and filter enum value.
closes #515
2016-04-04 22:31:28 +02:00
NathanSweet
477240b109 Removed unused parameter warnings.
closes #488
2016-04-04 22:16:24 +02:00
NathanSweet
4f3ccc2c51 List the supported editor version on each runtime README.
closes #526
2016-04-03 19:10:47 +02:00
NathanSweet
6c353c1a38 Fixed worldToLocal.
closes #544
2016-04-03 18:30:35 +02:00
NathanSweet
f59e461230 Only need to keep around attachment loader if attachment->attachmentLoader is set. 2016-04-02 15:32:05 +02:00
NathanSweet
9a404e5c49 AttachmentLoader now has create, configure, dispose.
Now the attachment loader should not be disposed until loaded attachments are disposed.
2016-04-02 15:23:15 +02:00
NathanSweet
8bc8595290 Clean up. 2016-03-29 03:12:48 +02:00
NathanSweet
93db323ed2 Fixed atlas wrap. 2016-03-02 05:10:05 +01:00
NathanSweet
f9d3988ee5 Fixed single bone IK with skeleton flipping. 2016-02-27 02:13:05 +01:00
NathanSweet
d93e1507fc Fixed disabling scale/rotation.
closes #525
2016-02-22 10:18:16 +01:00
NathanSweet
0f723b9fa7 A few fixes and minor improvements. 2016-02-17 03:52:22 +01:00
NathanSweet
10c941a28b Missed porting.
#519
2016-02-17 01:04:43 +01:00
NathanSweet
108ea5a70d Use FLT_MAX. 2016-02-17 00:50:28 +01:00
NathanSweet
4128d1c2bd Fixed update cache leak. 2016-02-17 00:43:33 +01:00
NathanSweet
b25992464b Updated spine-cocos2dx 2 and 3 to Spine v3. 2016-02-16 23:06:23 +01:00
NathanSweet
4d3b007c99 C89 updates. 2016-02-16 20:39:24 +01:00
NathanSweet
d7d08d263a Updated spine-c and spine-sfml to Spine v3. 2016-02-16 00:14:07 +01:00
NathanSweet
318b9939e6 Made consistent when slot vertices and attachment time are reset.
setAttachment resets vertices and attachment time only if the attachment actually changed. setToSetupPose always resets vertices and attachment time.

http://esotericsoftware.com/forum/Spine-API-SetToSetupPose-FFD-Questions-2102?p=26119#p26119
2016-01-15 07:02:09 +01:00
NathanSweet
1a628a66f7 Fixed multithreaded atlas loading.
Sometimes I wonder what I was thinking.
2015-11-04 07:33:02 +01:00
NathanSweet
d8d5405ba3 Fixed JSON parsing for all locales.
http://esotericsoftware.com/forum/Spine-c-runtime-strtod-Problem-5380
2015-11-03 03:03:27 +01:00
NathanSweet
01cb844993 You get a license file, you get a license file, EVERYBODY GETS A LICENSE FILE! 2015-07-30 22:47:00 +02:00
NathanSweet
f06fbb3d8d Clarified licensing on runtimes pages. 2015-07-30 22:44:47 +02:00
Kabuto85
f3b7cacf02 check if bonesCount is 0 to avoid bad memory access 2015-07-23 15:38:43 +02:00
NathanSweet
27270a5781 Spine Runtimes license update.
Minor update to fix "SOFTARE" typo and clairfy how to get permission.
2015-04-24 21:33:24 +02:00
NathanSweet
dee4d7f801 Better MALLOC macro. 2015-04-17 09:26:17 +02:00
NathanSweet
f8a76c6455 Blend modes for all runtimes. 2015-04-02 14:20:20 +02:00
NathanSweet
fae952d73c Docs, accept empty string for std::string refs that can be null in the C API. 2015-03-16 19:56:51 +01:00
NathanSweet
67a639d12a Actually needed named values to avoid warnings.
derp
2015-02-21 02:51:23 +01:00
NathanSweet
0815fad4d6 Used zero for enums in C++ ctors. 2015-02-21 02:48:45 +01:00