66 Commits

Author SHA1 Message Date
NathanSweet
506dc49d8a Fixed spAttachmentLoader_configureAttachment being called too soon for linked meshes. 2016-04-21 16:15:40 +02:00
NathanSweet
421789e6f7 spine-c updated to v3.1. 2016-04-15 12:21:22 +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
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
d7d08d263a Updated spine-c and spine-sfml to Spine v3. 2016-02-16 00:14:07 +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
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
f8a76c6455 Blend modes for all runtimes. 2015-04-02 14:20:20 +02:00
Piotr Paczkowski
4c0321626b Fix buffer overflow when JSON Skeleton produces Error 2015-01-17 00:03:05 +01:00
Nathan Sweet
5abfbe1200 Merge pull request #321 from ubiyf/master
Fix Bug : Can not build android apk, if not set char* as const.
2014-11-14 00:06:22 +01:00
beik
69fe56b329 load flipX flipY from json 2014-11-10 11:52:57 +08:00
ubiyf
879ae91c25 Fix Bug : Can not build android apk, if not set char* as const
Can not build android apk, if not set char* as const
2014-11-07 15:39:54 +08:00
jpoag
b7868c0f73 [Spine-C] retain hash and version strings 2014-10-26 12:58:48 -04:00
jpoag
eb1e303017 [Spine-C] retain hash and version strings 2014-10-26 12:49:26 -04:00
NathanSweet
1323770033 Fixed ANSI C compilation. 2014-10-06 14:01:32 +02:00
NathanSweet
22b2086f39 Flip for bones. Flip timelines now affect bones. "draworder" in JSON -> "drawOrder".
Falls back to "draworder" to not break existing JSON (for the time being).
2014-10-04 13:01:52 +02:00
NathanSweet
6ce7a62245 spine-c, added flip timelines. 2014-10-02 18:46:31 +02:00
NathanSweet
6f0343d183 Fixed long->int warnings. 2014-10-01 17:03:13 +02:00
NathanSweet
ecab41ab8b Fixed bend direction for IK keys. 2014-09-02 13:02:15 +02:00
NathanSweet
0c3e74123e Fixed loading IK keys. 2014-09-01 16:14:27 +02:00
NathanSweet
b327a803e0 C89 fixes. 2014-08-31 16:21:52 +02: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
a62b1ff0f2 Warning. 2014-05-18 21:51:42 +02:00
NathanSweet
72a4ad4cc1 Minor refactoring. 2014-05-14 21:49:15 +02:00
NathanSweet
5848973f0b Hull length is int. 2014-05-08 17:38:31 +02:00
NathanSweet
99a8de4bb4 FFD for spine-c and spine-sfml. 2014-04-29 20:28:27 +02:00
NathanSweet
23d4d0558c Fixed bug loading skinned meshes. 2014-04-29 00:48:12 +02:00
NathanSweet
e782b6effa Cleaning up. 2014-04-29 00:31:24 +02:00
NathanSweet
b1f851a246 Meshes, FFD and skinning for spine-c.
Untested since rendering hasn't yet been done for a runtime that extends spine-c.
2014-04-28 17:52:01 +02:00
NathanSweet
a180398975 Added SP_ prefix to enums.
Super fun. Don't forget you can use SPINE_SHORT_NAMES.
2014-04-27 23:23:13 +02:00
NathanSweet
b44bca68d9 Fixing things up. 2014-04-27 22:18:31 +02:00
NathanSweet
cf9a3a4109 Per attachment color. 2014-04-27 22:02:44 +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
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
b132231034 Scale bounding boxes on load. 2013-09-28 23:33:41 +02:00
NathanSweet
f8401d954a Compile with C89. 2013-09-26 11:24:40 +02:00
NathanSweet
782bde21a0 Event timeline for spine-c, AnimationState refactoring.
closes #113
2013-09-26 09:37:11 +02:00
NathanSweet
72339ba824 Bounding boxes for spine-c and spine-sfml. 2013-09-24 15:36:10 +02:00
NathanSweet
76778031ed Additive blending for spine-sfml. 2013-09-24 12:00:23 +02:00
NathanSweet
63f8e4ddaf Keyable draw order for spine-c. 2013-09-24 11:29:58 +02:00
NathanSweet
906ed5f0aa spine-c: inherit scale and rotation implemented. Allow to parse latest JSON. 2013-09-23 20:35:43 +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
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
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