diff --git a/spine-godot/godot/modules/spine_godot/GodotSpineExtension.cpp b/spine-godot/godot/modules/spine_godot/GodotSpineExtension.cpp index cace4e354..af91a2809 100644 --- a/spine-godot/godot/modules/spine_godot/GodotSpineExtension.cpp +++ b/spine-godot/godot/modules/spine_godot/GodotSpineExtension.cpp @@ -28,12 +28,11 @@ *****************************************************************************/ #include "GodotSpineExtension.h" +#include "core/os/memory.h" +#include "core/os/file_access.h" -#include "core/variant_parser.h" #include -#include - spine::SpineExtension *spine::getDefaultExtension() { return new GodotSpineExtension(); } @@ -70,4 +69,4 @@ char *GodotSpineExtension::_readFile(const spine::String &path, int *length) { memcpy(r, res.ptr(), res.size()); if (length) *length = res.size(); return r; -} \ No newline at end of file +} diff --git a/spine-godot/godot/modules/spine_godot/GodotSpineExtension.h b/spine-godot/godot/modules/spine_godot/GodotSpineExtension.h index e00726051..7252f87f1 100644 --- a/spine-godot/godot/modules/spine_godot/GodotSpineExtension.h +++ b/spine-godot/godot/modules/spine_godot/GodotSpineExtension.h @@ -30,8 +30,8 @@ #ifndef GODOT_SPINEEXTENSION_H #define GODOT_SPINEEXTENSION_H - #include + class GodotSpineExtension : public spine::SpineExtension { public: GodotSpineExtension();