NathanSweet
e6d7cf8b26
Add x and y to skeleton for positioning instead of using root bone.
2013-05-28 18:17:55 +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
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
64a0a07373
Refactoring for non-Atlas RegionAttachments. Fixed whitespace stripped and rotated regions.
2013-04-24 16:54:13 +02:00
NathanSweet
55d374f2ee
Removed old structs.
2013-04-19 15:45:10 +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
e56050e3a7
Better class extension.
2013-04-11 06:06:23 +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
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
b4c67812e9
Animation state example for SFML to match other runtimes.
2013-04-03 02:15:58 +02:00
NathanSweet
ca163b5e52
Moar refuctoring. All the refuctorings are belong to Spine.
2013-04-02 02:47:11 +02:00
NathanSweet
e3cc3e4fb2
Clean up.
2013-04-01 20:21:31 +02:00
NathanSweet
6076689082
Moved drawing stuff into SkeletonDrawable.
2013-04-01 19:24:02 +02:00
NathanSweet
ad67dae2e0
Include guard.
2013-04-01 14:40:55 +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
1be279e4e8
Better spine-c example.
2013-03-30 18:25:46 +01:00
NathanSweet
6765ec4235
C runtime works!
2013-03-30 17:52:25 +01:00
NathanSweet
9a0085c36b
So close, but alas must sleep :( 5am!
2013-03-30 04:53:47 +01:00
NathanSweet
596b515e66
Refactoring.
2013-03-30 04:14:51 +01:00
NathanSweet
75fc36eab6
Simplified all loading methods to take path, stream, or pointers.
2013-03-25 12:33:21 +01:00
NathanSweet
6e7e8c5512
Changed Atlas constructor to take a path.
2013-03-25 12:12:04 +01:00
NathanSweet
3aab744395
Utility methods to read from file and other minor improvements.
2013-03-22 16:18:03 +01:00
NathanSweet
6e9bcfd1d5
License headers for source files.
2013-03-20 14:58:59 +01:00
NathanSweet
a6a7200097
includes -> include
2013-03-20 14:22:16 +01:00
NathanSweet
d3949288f8
Separated SFML from spine-cpp.
2013-03-20 14:08:54 +01:00