91 Commits

Author SHA1 Message Date
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
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
10c941a28b Missed porting.
#519
2016-02-17 01:04:43 +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
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
Jon Renner
8ae2ae1cdf add C++ constructors to all structs
for Visual Studio compiler compatibility
2015-02-20 19:25:24 -06:00
NathanSweet
d11b90c4e8 Added Bone_isYDown.
Fixes bad commit.
2015-01-30 22:31:34 +01:00
NathanSweet
fb214ee276 Updated spine-c struct definitions to allow for forward declarations. 2014-11-18 03:40:20 +01:00
NathanSweet
63801b6f13 setSkin docs. 2014-11-17 19:41:50 +01: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
337b55005d Fixed flipping. 2014-09-02 17:17:45 +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
066fa3dcae Fixed TrackEntry leak. 2014-05-17 23:21:22 +02:00
NathanSweet
72a4ad4cc1 Minor refactoring. 2014-05-14 21:49:15 +02:00
NathanSweet
36809166a2 Make AnimationState TrackEntry create/dispose functions optional.
closes #218
2014-05-12 17:12:24 +02:00
NathanSweet
7199d22417 Better AnimationState listeners, including on a TrackEntry. 2014-05-11 21:00:50 +02:00
NathanSweet
3370501317 Rename AnimationState context to rendererObject to match all other void*. 2014-05-11 16:33:24 +02:00
NathanSweet
496466a1cc Hull length is no longer nonessential. 2014-05-10 15:33:00 +02:00
NathanSweet
77d7bf83fb Fixed small memory leak. 2014-05-08 19:26:34 +02:00
jpoag
ff07eb02d8 * Allow memory tracking inside spine 2014-05-08 10:49:46 -04:00
NathanSweet
0a275f0ac7 Added includes to spine.h.
closes #214
2014-05-07 15:03:10 +02:00
NathanSweet
cc472d134f Renamed spAtlas constructor methods to match others. Added void* to spAtlas constructors.
Inside _spAtlasPage_createTexture you can use `self->atlas->rendererObject` to get the void* specified at atlas creation.
2014-05-02 17:55:54 +02:00
NathanSweet
99a8de4bb4 FFD for spine-c and spine-sfml. 2014-04-29 20:28:27 +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
aff250daf4 Allow a track to mix with the track below.
http://esotericsoftware.com/forum/viewtopic.php?f=7&t=2248
2014-03-09 12:06:36 +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
a040063eb7 Fixed memory leaks. 2013-12-05 15:14:28 +01:00
NathanSweet
2aaaa4dba2 Renamed spBoundingPolygon -> spPolygon. 2013-10-12 11:22:35 +02:00
NathanSweet
ff2b76f2ef Added timeline type. 2013-10-10 09:26:30 +02: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
45c3487098 Events list is now required.
Simplifies applying the event timeline and isn't hard to supply.
2013-10-02 14:10:55 +02:00
NathanSweet
47ce2a40c1 Minor update to the license to include education. 2013-10-01 14:55:15 +02:00
NathanSweet
3797b7b7b0 Clear a track if the last entry is non-looping and reached endTime. 2013-09-28 21:28:01 +02:00
NathanSweet
4852fdca14 Renamed clearAnimation to clearTracks. 2013-09-28 20:33:56 +02:00