forked from semgilo/spine-runtime-binary-c
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSkeletonBinary.h
More file actions
35 lines (26 loc) · 770 Bytes
/
SkeletonBinary.h
File metadata and controls
35 lines (26 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//
// $id: SkeletonBinary.h 2014-08-06 zhongfengqu $
//
#ifndef __SKELETONBINARY_H__
#define __SKELETONBINARY_H__
#include "spine/spine.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
float scale;
char *rawdata;
char *reader;
char **cache;
int cacheIndex;
spAttachmentLoader* attachmentLoader;
} spSkeletonBinary;
spSkeletonData *spSkeletonBinary_readSkeletonData(spSkeletonBinary* self);
spSkeletonData *spSkeletonBinary_readSkeletonDataFile(spSkeletonBinary* self, const char *skeketonPath);
spSkeletonBinary* spSkeletonBinary_createWithLoader (spAttachmentLoader* attachmentLoader);
spSkeletonBinary* spSkeletonBinary_create (spAtlas* atlas);
void spSkeletonBinary_dispose (spSkeletonBinary* self);
#ifdef __cplusplus
}
#endif
#endif