709 Commits

Author SHA1 Message Date
NathanSweet
3736352c09 Fixed flip x/y for root bone. (reverse-merged from commit 64fd34ba9426e2c7637526b1029721000c14ad5b)
#43
2013-05-08 13:01:10 +02:00
NathanSweet
64fd34ba94 Fixed flip x/y for root bone. 2013-05-06 14:26:23 +02:00
NathanSweet
7f69300bcc Refactoring: changed references to "bind pose" to "setup pose".
This better matches "setup mode" in the editor and we can be consistent in code and docs from now on.
2013-05-05 12:38:06 +02:00
NathanSweet
80fdba02a1 Refactoring: RegionAttachment vertices, texture->rendererObject...
- Vertices are no longer stored on RegionAttachment. The vertices are temporary state, not part of RegionAttachment's persistent state like UVs and offset.
- AtlasPage and RegionAttachment "texture" field is renamed to "rendererObject". This is a better name as it may not be a texture.
- AtlasAttachmentLoader uses the AtlasRegion as the rendererObject. This enables a renderer to use region information if needed. The page rendererObject is still available.
- Better "enum" look up for AS3.
- Unity4 example doesn't use a compressed material.
2013-05-05 12:37:24 +02:00
NathanSweet
ed0bae85c3 AnimationState queued animation for more runtimes, plus fixes. 2013-04-27 14:33:38 +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
66309c203c Ctor for C++. 2013-04-26 00:20:14 +02:00
NathanSweet
3f12e00aa6 Removed ReadMe.txt. 2013-04-25 23:45:44 +02:00
NathanSweet
b6de9b84c8 Renaming project files to lowercase. 2013-04-25 23:44:23 +02:00
NathanSweet
4fe93ff83b Renaming project files to lowercase. 2013-04-25 23:44:08 +02:00
NathanSweet
99ec8957f8 Fixed up conversion warnings in VS2010. 2013-04-25 23:39:46 +02:00
NathanSweet
e64b3c201a Fixed up remaining issues to make spine-c C89. 2013-04-25 23:19:02 +02:00
dazza
64190874d2 Fix for negtive scale in the X for an attachment working. 2013-04-25 10:43:48 +01:00
dazza
58ca663465 Remove the IPCH cache that shouldn't be in source control 2013-04-25 09:52:50 +01: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
09c9ece896 Docs. 2013-04-24 17:02:06 +02:00
NathanSweet
64a0a07373 Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions. 2013-04-24 16:54:13 +02:00
NathanSweet
5a46f8c6b4 isComplete for AnimationState. 2013-04-19 09:14:29 +02:00
NathanSweet
7bd6f62a2b Added AnimationState clear.
id return value for factory methods.
2013-04-18 23:31:29 +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
10f3142720 Fixed whitespace stripped atlases. 2013-04-18 14:32:53 +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
d66f211456 Configurable memory allocation functions. 2013-04-12 09:01:43 +02:00
NathanSweet
8c2f817da9 Don't need a private, empty dispose method. 2013-04-12 08:12:25 +02:00
NathanSweet
ed6a062942 Multi line comments in case we every want to support C89. 2013-04-12 08:07:16 +02:00
NathanSweet
7453edd1e5 Allow access to the skin in attachment loader. 2013-04-11 06:11:08 +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
b083ce8816 Fixed parsing animations with no bone timelines. 2013-04-05 14:51:45 +02:00
NathanSweet
6780447b83 Fancier C++/ObjC APIs to avoid C API with simple usage.
NSString instead of cstr for ObjC.
2013-04-04 17:12:21 +02:00
NathanSweet
dd27ee184c Changed Spine export format.
There are no longer separate animation files, they are now inside the skeleton file. This means there is just one file to manage, which is cleaner. Now that animations are stored in SkeletonData, they can be looked up by name which leads to cleaner runtime APIs.

cocos2d and cocos2d-x runtimes got a cleaner ObjC/C++ API.
2013-04-04 04:00:45 +02:00
NathanSweet
71661965ca Explicit casts. 2013-04-04 00:18:13 +02:00
NathanSweet
ef793dd976 Slots and bones start in bind pose. 2013-04-03 17:24:30 +02:00
NathanSweet
9412949ae0 Fixed skins and color/image timelines. 2013-04-03 17:13:45 +02:00
NathanSweet
73c521bdaa Removed junk that shouldn't have been committed. :( 2013-04-03 03:38:52 +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
b6a8338eeb Fixed issue #22. 2013-04-03 02:21:09 +02:00
NathanSweet
3c6954872a Adde animation state to example. 2013-04-02 19:10:48 +02:00
NathanSweet
7d7e56bb24 Fixed AnimationState bug. 2013-04-02 18:45:25 +02:00
NathanSweet
f97d1c10b8 Fixed bone lengths being 0. 2013-04-02 05:12:34 +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
c5ffedab4e Minor cleanup. 2013-03-31 03:24:05 +02:00
NathanSweet
7707f3517f License headers. 2013-03-30 19:12:33 +01:00