|
@@ -77,7 +77,7 @@ SP_API spSkin* spSkin_create (const char* name);
|
|
SP_API void spSkin_dispose (spSkin* self);
|
|
SP_API void spSkin_dispose (spSkin* self);
|
|
|
|
|
|
/* The Skin owns the attachment. */
|
|
/* The Skin owns the attachment. */
|
|
-SP_API void spSkin_addAttachment (spSkin* self, int slotIndex, const char* name, spAttachment* attachment);
|
|
|
|
|
|
+SP_API void spSkin_setAttachment (spSkin* self, int slotIndex, const char* name, spAttachment* attachment);
|
|
/* Returns 0 if the attachment was not found. */
|
|
/* Returns 0 if the attachment was not found. */
|
|
SP_API spAttachment* spSkin_getAttachment (const spSkin* self, int slotIndex, const char* name);
|
|
SP_API spAttachment* spSkin_getAttachment (const spSkin* self, int slotIndex, const char* name);
|
|
|
|
|
|
@@ -91,7 +91,7 @@ SP_API void spSkin_attachAll (const spSkin* self, struct spSkeleton* skeleton, c
|
|
typedef spSkin Skin;
|
|
typedef spSkin Skin;
|
|
#define Skin_create(...) spSkin_create(__VA_ARGS__)
|
|
#define Skin_create(...) spSkin_create(__VA_ARGS__)
|
|
#define Skin_dispose(...) spSkin_dispose(__VA_ARGS__)
|
|
#define Skin_dispose(...) spSkin_dispose(__VA_ARGS__)
|
|
-#define Skin_addAttachment(...) spSkin_addAttachment(__VA_ARGS__)
|
|
|
|
|
|
+#define Skin_setAttachment(...) spSkin_addAttachment(__VA_ARGS__)
|
|
#define Skin_getAttachment(...) spSkin_getAttachment(__VA_ARGS__)
|
|
#define Skin_getAttachment(...) spSkin_getAttachment(__VA_ARGS__)
|
|
#define Skin_getAttachmentName(...) spSkin_getAttachmentName(__VA_ARGS__)
|
|
#define Skin_getAttachmentName(...) spSkin_getAttachmentName(__VA_ARGS__)
|
|
#define Skin_attachAll(...) spSkin_attachAll(__VA_ARGS__)
|
|
#define Skin_attachAll(...) spSkin_attachAll(__VA_ARGS__)
|