mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ue4] Modified Atlas so it exposes it's methods across shared libs. Everything in UE4 is compiling now.
This commit is contained in:
parent
e1daddebf4
commit
77d4dd5a41
@ -65,7 +65,11 @@ enum TextureWrap {
|
|||||||
TextureWrap_Repeat
|
TextureWrap_Repeat
|
||||||
};
|
};
|
||||||
|
|
||||||
class AtlasPage : public SpineObject, public HasRendererObject {
|
class
|
||||||
|
#ifdef SPINE_UE4
|
||||||
|
SPINEPLUGIN_API
|
||||||
|
#endif
|
||||||
|
AtlasPage : public SpineObject, public HasRendererObject {
|
||||||
public:
|
public:
|
||||||
String name;
|
String name;
|
||||||
Format format;
|
Format format;
|
||||||
@ -83,7 +87,11 @@ public:
|
|||||||
virtual ~AtlasPage() { }
|
virtual ~AtlasPage() { }
|
||||||
};
|
};
|
||||||
|
|
||||||
class AtlasRegion : public SpineObject {
|
class
|
||||||
|
#ifdef SPINE_UE4
|
||||||
|
SPINEPLUGIN_API
|
||||||
|
#endif
|
||||||
|
AtlasRegion : public SpineObject {
|
||||||
public:
|
public:
|
||||||
AtlasPage *page;
|
AtlasPage *page;
|
||||||
String name;
|
String name;
|
||||||
@ -99,7 +107,11 @@ public:
|
|||||||
|
|
||||||
class TextureLoader;
|
class TextureLoader;
|
||||||
|
|
||||||
class Atlas : public SpineObject {
|
class
|
||||||
|
#ifdef SPINE_UE4
|
||||||
|
SPINEPLUGIN_API
|
||||||
|
#endif
|
||||||
|
Atlas : public SpineObject {
|
||||||
public:
|
public:
|
||||||
Atlas(const String &path, TextureLoader *textureLoader);
|
Atlas(const String &path, TextureLoader *textureLoader);
|
||||||
|
|
||||||
|
|||||||
@ -29,6 +29,7 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
#include "SpinePluginPrivatePCH.h"
|
#include "SpinePluginPrivatePCH.h"
|
||||||
|
#include "spine/Extension.h"
|
||||||
|
|
||||||
class FSpinePlugin : public SpinePlugin {
|
class FSpinePlugin : public SpinePlugin {
|
||||||
virtual void StartupModule() override;
|
virtual void StartupModule() override;
|
||||||
@ -42,5 +43,9 @@ void FSpinePlugin::StartupModule() {
|
|||||||
|
|
||||||
void FSpinePlugin::ShutdownModule() { }
|
void FSpinePlugin::ShutdownModule() { }
|
||||||
|
|
||||||
|
spine::SpineExtension* spine::getDefaultExtension() {
|
||||||
|
return new spine::DefaultSpineExtension();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user