39 Commits

Author SHA1 Message Date
NathanSweet
4128d1c2bd Fixed update cache leak. 2016-02-17 00:43:33 +01:00
NathanSweet
d7d08d263a Updated spine-c and spine-sfml to Spine v3. 2016-02-16 00:14:07 +01: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
jpoag
60fc7ac56e * [SPINE-C] fix mem leak 2014-09-01 09:48:08 -04:00
NathanSweet
593956b51d Added IK, refactoring.
Skeleton moved from Slot to Bone.
Attachments no longer take x,y to compute vertices.
Bezier curves are calculated up front.
2014-08-31 15:24:36 +02:00
NathanSweet
cf41610f8a Minor fixes. 2014-05-23 10:46:26 +02:00
NathanSweet
ca9274539e setSkin should attach setup pose attachments if there was no old skin. 2014-04-27 22:02:51 +02:00
NathanSweet
26e4fb0d74 License header update.
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
NathanSweet
a9abb3155b Fixed spSkeleton_setSlotsToSetupPose. 2014-02-03 22:28:11 +01:00
NathanSweet
b0c96fd66b Typo 2014-01-11 21:20:46 +01:00
NathanSweet
d520addb9b Updated license to version 2.
Version 1 of the license didn't make sense: it required a Spine license to use the Spine Runtimes at all. This means if you used the Spine Runtimes in your application, anyone who purchased a copy of your application also needed a Spine license to use the runtimes. This was not the intent!

Version 2 of the license fixes this by allowing anyone to use the Spine Runtimes but only for internal use. When you purchase Spine, the Spine license (http://esotericsoftware.com/spine/files/license.txt) grants you the right to make and distribute derivative works of the Spine Runtimes. Now it makes sense: making and distributing applications with the Spine Runtimes requires a Spine license, but anyone can run that software without needing a Spine license.

With this fixed, I hope we never need to change the license again!
2014-01-11 21:07:28 +01:00
NathanSweet
2bff08de4b Prefixed all spine-c structs and functions with "sp".
Holy refuctoring! Sorry for the change, but some libraries were having naming conflicts. You can define SPINE_SHORT_NAMES before including spine-c headers if you want to use structs and functions without the "sp" prefix, as it was before.
2013-10-09 03:43:16 +02:00
NathanSweet
9a347d5eb8 Updated license.
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
1e30ad1b72 Reset draw order in setSlotsToSetupPose. 2013-09-25 10:17:35 +02:00
NathanSweet
e2fccf72d6 License update.
Changed from New BSD to a custom license. The new license requires a Spine license to use the code. If you have a valid Spine license, you can do whatever you like with the code. This should not be a problem for anyone using the runtimes with Spine, nothing changes. If using the runtimes without a Spine license, you now need a Spine license. This is because the runtimes were created explicitly to be used with Spine.
2013-09-20 19:46:23 +02:00
NathanSweet
41cbe3bf3d Fixed Skeleton_setAttachment("slotname", 0). 2013-06-24 16:24:50 +02:00
NathanSweet
cf7cc1d0ef Minor updates. 2013-06-02 15:27:33 +02:00
NathanSweet
cdadffc156 Removed spine namespace from spine-c.
Didn't make any sense for a C API and complicated integration with ObjC.
2013-05-08 20:09:10 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00
NathanSweet
92622246c1 AnimationState gets addAnimation methods for chaining animations.
Tabs, not spaces!
2013-04-26 20:03:28 +02:00
dazza
bd4431748c Fixed memory leaks in spine-c 2013-04-26 18:28:10 +01:00
djr
1db2715b25 Getting the code to build on windows
Making the code C98 compliant so it can build using VS2010.
2013-04-24 20:55:32 +01:00
NathanSweet
2bc3f511a1 Refactoring to make extension easier.
Much less weird OOP needed. Rendering is separate from data objects. cocos2d-iphone and cocos2d-x support for multi page atlases.
2013-04-17 22:08:53 +02:00
NathanSweet
e56050e3a7 Better class extension. 2013-04-11 06:06:23 +02:00
NathanSweet
6780447b83 Fancier C++/ObjC APIs to avoid C API with simple usage.
NSString instead of cstr for ObjC.
2013-04-04 17:12:21 +02:00
NathanSweet
b6a8338eeb Fixed issue #22. 2013-04-03 02:21:09 +02:00
NathanSweet
ca163b5e52 Moar refuctoring. All the refuctorings are belong to Spine. 2013-04-02 02:47:11 +02:00
NathanSweet
dfd090d220 Allow spine-c to be compiled as C++. 2013-04-01 20:21:07 +02:00
NathanSweet
fe37451f93 Cleanup, docs. 2013-03-31 20:40:57 +02:00
NathanSweet
a3f23dd4bf Refactoring for cleaner OOP. 2013-03-31 20:09:37 +02:00
NathanSweet
7707f3517f License headers. 2013-03-30 19:12:33 +01:00
NathanSweet
6765ec4235 C runtime works! 2013-03-30 17:52:25 +01:00
NathanSweet
596b515e66 Refactoring. 2013-03-30 04:14:51 +01:00
NathanSweet
103cd30758 Extension stuff seems to be shaping up nicely! 2013-03-29 22:12:57 +01:00
NathanSweet
40835845be Added Animation.
OOP in C is a cold, dark place.
2013-03-29 04:06:43 +01:00
NathanSweet
de53ad3f4f Added Atlas.
Compiles with C89.
Minor refactoring.
2013-03-29 00:26:51 +01:00
NathanSweet
146a456beb Fixed crash. 2013-03-28 04:30:51 +01:00
NathanSweet
32a9a09831 WIP C runtime. 2013-03-28 04:22:39 +01:00