NathanSweet
26e4fb0d74
License header update.
...
2 -> 2.1 (clearer how permission is granted, formatting).
2014-04-23 12:04:43 +02:00
NathanSweet
11266e0cc5
Better handling of AnimationState state changes during listeners.
...
Except "end" listeners, don't change the state from there.
2014-03-17 16:54:25 +01:00
NathanSweet
df70264a5b
Go back to clearing the entry after the "end" listeners.
...
Changing the AnimationState state from an "end" listener is problematic even when the entry is cleared before the listener, so better to make the track that is ending available to the listener.
2014-03-17 16:53:33 +01: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
211f82fedd
Clear the track before calling end on the listener.
2014-03-08 00:20:26 +01:00
Nathan Sweet
29ff735384
Merge pull request #161 from tadas-miceika/master
...
fix copy-paste error
2014-02-05 16:42:21 +01:00
NathanSweet
a9abb3155b
Fixed spSkeleton_setSlotsToSetupPose.
2014-02-03 22:28:11 +01:00
NathanSweet
661a0436bc
Documentation
2014-01-20 04:51:20 +01:00
NathanSweet
44ba6c4832
Documentation
2014-01-19 19:26:07 +01:00
NathanSweet
4adb4af985
Documentation
2014-01-19 17:52:31 +01:00
NathanSweet
2b241c3628
Fixed root bone translation.
...
Again.
2014-01-17 00:58:29 +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
71956544ba
Mix from closest animation if setting an animation during a mix.
2014-01-06 21:33:58 +01:00
NathanSweet
5f46d03c4d
Moved SMFL location into project.
2014-01-06 21:26:37 +01:00
NathanSweet
992ebc3706
Fixed double free.
2013-12-05 18:50:39 +01:00
NathanSweet
a040063eb7
Fixed memory leaks.
2013-12-05 15:14:28 +01:00
NathanSweet
63f20379db
Better root flipY logic.
2013-12-05 14:52:34 +01:00
NathanSweet
c4bab94483
Fixed SkeletonBounds for spine-c.
2013-12-03 11:06:58 +01:00
NathanSweet
f738d7e506
Fixed findSlotIndex and findBoneIndex return 0 when not found instead of -1.
2013-12-02 18:10:26 +01:00
Tadas Miceika
1163376227
fix copy-paste error
2013-12-02 17:18:07 +02:00
NathanSweet
719e09d443
Fixed root translation with yDown coordinates.
...
http://www.esotericsoftware.com/forum/viewtopic.php?f=9&t=1657
2013-11-30 16:01:57 +01:00
NathanSweet
5b53c28ef7
Fixed C89 compilation.
2013-11-14 22:28:53 +01:00
NathanSweet
5e2e5ed8d9
Fixed memory leaks.
...
closes #148
2013-10-31 09:10:29 +01:00
NathanSweet
a9315d46f3
Fixed animation state delay when not set right away.
2013-10-22 11:41:57 +02:00
NathanSweet
af5ff6c11f
Fixed events not firing sometimes.
...
http://www.esotericsoftware.com/forum/viewtopic.php?f=9&t=1462
2013-10-20 12:18:01 +02:00
NathanSweet
dbd6ae87ad
Moved firing complete event to apply. Fixed missing keys on last frame when animation changes.
2013-10-17 16:06:18 +02:00
NathanSweet
3a1aac897c
Better delay adjustment.
2013-10-17 01:13:22 +02:00
NathanSweet
c25809fa4f
When delay is <= 0 use remaining time, not just duration.
...
http://www.esotericsoftware.com/forum/viewtopic.php?f=7&t=1447
2013-10-16 11:04:29 +02:00
NathanSweet
43466fc936
Fixed for C89.
...
closes #138
2013-10-13 17:18:21 +02:00
NathanSweet
2aaaa4dba2
Renamed spBoundingPolygon -> spPolygon.
2013-10-12 11:22:35 +02:00
NathanSweet
e7ae1fe61d
Fixed add/setAnimation in event callback.
...
closes #137
2013-10-11 13:51:02 +02:00
NathanSweet
97f9b7e4d2
Fixed clearing tracks in event callbacks.
...
closes #134
2013-10-10 10:15:53 +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
819b100a51
C89 comment
2013-10-09 01:02:06 +02:00
NathanSweet
961a93719c
set/addAnimation doesn't allow null animation.
2013-10-08 12:05:55 +02:00
NathanSweet
9a347d5eb8
Updated license.
...
Nailed it this time, quite sure!
2013-10-04 04:13:09 +02:00
NathanSweet
748431b4f6
Allow null firedEvents.
2013-10-03 21:32:57 +02:00
NathanSweet
981e7a1371
Fixed last event being fired too many times.
2013-10-03 20:33:03 +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
2dc486b2d5
Fixed first event not getting fired.
...
Damn this is hard to get exactly right!
2013-09-29 23:42:55 +02:00
NathanSweet
af5aca8b66
Changed when events are fired.
...
Events are now fired from lastTime (exclusive) to time (inclusive). This allows an event at the end of an animation to be fired before the next animation starts. The "complete" callback will happen before the event though, because "complete" happens in update() and events are triggered in apply().
Note events are not fired for the previous animation during mixing (crossfading).
2013-09-29 23:22:55 +02:00
NathanSweet
308e18b376
Fixed event timeline missing first event.
2013-09-29 22:51:08 +02:00
NathanSweet
b132231034
Scale bounding boxes on load.
2013-09-28 23:33:41 +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
NathanSweet
10fa956f39
Fixed clearAnimation(int) crash.
2013-09-28 20:30:36 +02:00
NathanSweet
b854dd94c3
Fixed bugs with timeScale.
2013-09-28 20:22:56 +02:00