mirror of
https://github.com/u0u0/Cocos2d-Lua-Community.git
synced 2026-05-22 21:32:37 +08:00
28 lines
657 B
C++
28 lines
657 B
C++
/****************************************************************************
|
|
add by u0u0
|
|
****************************************************************************/
|
|
|
|
#ifndef LUA_SPSKELETONDATA_H
|
|
#define LUA_SPSKELETONDATA_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "tolua++.h"
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include "editor-support/spine/spine-cocos2dx.h"
|
|
|
|
typedef struct{
|
|
spine::Atlas *atlas;
|
|
spine::SkeletonData *data;
|
|
spine::Cocos2dTextureLoader textureLoader;
|
|
spine::AttachmentLoader *attachmentLoader;
|
|
}lua_spSkeletonData;
|
|
|
|
TOLUA_API int register_spSkeletonData_manual(lua_State* L);
|
|
|
|
#endif // #ifndef LUA_SPSKELETONDATA_H
|