80 Commits

Author SHA1 Message Date
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
NathanSweet
005861c242 [c] Fixed unused warning. 2016-07-06 12:16:29 +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
mogemimi
fc8505ff81 Fix -Wshadow warning when compiling with Clang (#607) 2016-06-10 23:41:23 +02:00
NathanSweet
421789e6f7 spine-c updated to v3.1. 2016-04-15 12:21:22 +02:00
NathanSweet
477240b109 Removed unused parameter warnings.
closes #488
2016-04-04 22:16:24 +02:00
NathanSweet
8bc8595290 Clean up. 2016-03-29 03:12:48 +02: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
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
ee849c62eb Fix mixing from uninitialized slot vertices. 2015-01-30 15:40:13 +01:00
NathanSweet
1fa410bb53 Fixed warnings. 2014-11-18 02:38:39 +01:00
Nathan Sweet
7b804f4197 Merge pull request #289 from zhongfq/master
Bugfixes in 64bit system
2014-11-17 14:26:00 +01:00
NathanSweet
ee1f13ab9c Don't clear FFD if before first FFD key in animation.
Didn't make any sense. Any existing FFD should remain until time passes a key.
2014-11-16 00:13:37 +01:00
NathanSweet
31848ad22a Minor clean up. 2014-11-16 00:09:37 +01:00
NathanSweet
322d8ed0ab Fixed first flip key not being applied. 2014-11-11 17:42:19 +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
53437a6159 Fixed FfdTimeline for spine-c. 2014-10-01 01:31:52 +02:00
NathanSweet
e5d3d380c7 Fixed AttachmentTimeline from missing first key.
http://esotericsoftware.com/forum/viewtopic.php?p=16600#p16600
2014-09-27 01:02:57 +02:00
NathanSweet
3ed7fb6865 Changed how scale is applied.
Scale is now multiplicative, as it was intended to be.
http://esotericsoftware.com/forum/viewtopic.php?p=16259#p16259
This change means skeletons need to be exported again using Spine 2.0.00+.
2014-09-24 16:14:42 +02:00
NathanSweet
37f332d149 Fixed IK constraint bend direction keys. 2014-09-24 15:37:12 +02:00
Eric Zhong
4a205a65f6 Update Animation.c
fix object size when copy slot datas.
2014-09-15 22:34:27 +08: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
7f6abc8c00 Fixed mixing from uninitialized slot vertices.
http://esotericsoftware.com/forum/viewtopic.php?f=9&t=2775
2014-06-03 18:37:42 +02:00
NathanSweet
01c0e1881f Minor changes. 2014-05-21 22:28:50 +02:00
NathanSweet
f6cbff942f ANSI C is fun! 2014-05-05 21:31:59 +02:00
NathanSweet
79c11424f4 Pre-increment for consistency. 2014-05-05 15:07:28 +02:00
NathanSweet
b7a788bc1e Fixed memory errors. 2014-05-02 10:21:16 +02:00
NathanSweet
99a8de4bb4 FFD for spine-c and spine-sfml. 2014-04-29 20:28:27 +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
afe0817811 Fix color timeline mixing when animation is after the last frame. 2014-04-27 22:02:08 +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
a040063eb7 Fixed memory leaks. 2013-12-05 15:14:28 +01: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
43466fc936 Fixed for C89.
closes #138
2013-10-13 17:18:21 +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
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