mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 22:34:53 +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
|
||||
};
|
||||
|
||||
class AtlasPage : public SpineObject, public HasRendererObject {
|
||||
class
|
||||
#ifdef SPINE_UE4
|
||||
SPINEPLUGIN_API
|
||||
#endif
|
||||
AtlasPage : public SpineObject, public HasRendererObject {
|
||||
public:
|
||||
String name;
|
||||
Format format;
|
||||
@ -83,7 +87,11 @@ public:
|
||||
virtual ~AtlasPage() { }
|
||||
};
|
||||
|
||||
class AtlasRegion : public SpineObject {
|
||||
class
|
||||
#ifdef SPINE_UE4
|
||||
SPINEPLUGIN_API
|
||||
#endif
|
||||
AtlasRegion : public SpineObject {
|
||||
public:
|
||||
AtlasPage *page;
|
||||
String name;
|
||||
@ -99,7 +107,11 @@ public:
|
||||
|
||||
class TextureLoader;
|
||||
|
||||
class Atlas : public SpineObject {
|
||||
class
|
||||
#ifdef SPINE_UE4
|
||||
SPINEPLUGIN_API
|
||||
#endif
|
||||
Atlas : public SpineObject {
|
||||
public:
|
||||
Atlas(const String &path, TextureLoader *textureLoader);
|
||||
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
#include "SpinePluginPrivatePCH.h"
|
||||
#include "spine/Extension.h"
|
||||
|
||||
class FSpinePlugin : public SpinePlugin {
|
||||
virtual void StartupModule() override;
|
||||
@ -42,5 +43,9 @@ void FSpinePlugin::StartupModule() {
|
||||
|
||||
void FSpinePlugin::ShutdownModule() { }
|
||||
|
||||
spine::SpineExtension* spine::getDefaultExtension() {
|
||||
return new spine::DefaultSpineExtension();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user