49 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
badlogic
721de143d2 [c] Closes #695, count parameter to indexOf when matching texture filters was off by one 2016-09-26 12:16:18 +02:00
badlogic
f81d0aa1b3 [c] Closes 631, atlas page repeat modes weren't parsed properly 2016-07-18 14:08:41 +02:00
NathanSweet
4064f0b7bc Fixed atlas format and filter name parsing. 2016-04-17 22:35:44 +02:00
NathanSweet
05f544c14d Added "unknown" atlas format and filter enum value.
closes #515
2016-04-04 22:31:28 +02:00
NathanSweet
93db323ed2 Fixed atlas wrap. 2016-03-02 05:10:05 +01:00
NathanSweet
1a628a66f7 Fixed multithreaded atlas loading.
Sometimes I wonder what I was thinking.
2015-11-04 07:33:02 +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
pinguin999
a9f404a7e3 Merge remote-tracking branch 'upstream/master'
Conflicts:
	spine-c/include/spine/SkeletonData.h
2014-12-02 17:53:12 +01:00
NathanSweet
6f0343d183 Fixed long->int warnings. 2014-10-01 17:03:13 +02:00
pinguin999
7f6d91f90a strict compile
init the struct before use
2014-09-29 15:11:31 +02:00
NathanSweet
3729bc1c88 Read new atlas format that has width and height for each page. 2014-05-06 18:48:52 +02:00
NathanSweet
f6cbff942f ANSI C is fun! 2014-05-05 21:31:59 +02:00
NathanSweet
4346db1f31 Fixed atlas rendererObject not being set. 2014-05-05 21:23:52 +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
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
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
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
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
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
NathanSweet
99ec8957f8 Fixed up conversion warnings in VS2010. 2013-04-25 23:39:46 +02:00
djr
f87b8c80b9 Merge remote-tracking branch 'upstream/master' 2013-04-24 21:18:17 +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
64a0a07373 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 16:54:13 +02:00
NathanSweet
7193122908 Fixed cocos2d texture atlas usage.
Super cool API you got going there, cocos2d... :|
2013-04-18 19:08:34 +02: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
ed6a062942 Multi line comments in case we every want to support C89. 2013-04-12 08:07:16 +02:00
NathanSweet
e56050e3a7 Better class extension. 2013-04-11 06:06:23 +02:00
NathanSweet
5fbef05423 Atlas readLine to not skip starting \n. 2013-04-08 05:22:20 +02:00
NathanSweet
a398fe6201 Atlas now prefixes images referenced in the atlas file with the directory containing the atlas file. 2013-04-03 03:37:52 +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
6af401e888 Refactored loading files. 2013-04-01 19:23:26 +02:00
NathanSweet
c170c3114b Docs, cleanup. 2013-04-01 14:37:19 +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
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