* [ios] backport from 4.3-beta: expose explict module for c & cpp
- standard user can import spine-c based api as usual
- dedicated swift/cpp user can import cpp interface with explict import and enabling cpp interp
- objective-c user can import cpp using objective-c++
* [ios] expose `SpineCppLite` so that the library user can build there own runtime based on swift package => macOS, spriteKit texture
Fixes additional compatibility issues found when building against Godot 4.5:
1. String::parse_utf8() deprecated and removed in Godot 4.5
- Replaced with String::utf8() for Godot 4.5+
- Added version guards to maintain compatibility with older versions
- Affected files: SpineAnimation, SpineAnimationTrack, SpineAtlasResource,
SpineAttachment, SpineBoneData, SpineConstraintData, SpineEventData,
SpineSkeletonDataResource, SpineSkin, SpineSlotData, SpineSprite
2. Editor header file locations changed in Godot 4.5
- editor/editor_file_system.h -> editor/file_system/editor_file_system.h
- editor/plugins/animation_*_editor_plugin.h -> editor/animation/animation_*_editor_plugin.h
- Added version guards for correct include paths
- Affected files: SpineAtlasResource, SpineAnimationTrack
These changes ensure spine-godot builds successfully with both Godot 4.5 and earlier versions.
Backported three commits from 4.3-beta branch:
- cc12304ba: Adds TOOLS_ENABLED guards for editor includes
- e063bae54: Adds version macro compatibility for deprecated=no builds (module)
- 3ffea502e: Adds version macro compatibility for deprecated=no builds (extension)
Changes:
1. SpineCommon.h:
- Added #include "core/version_generated.gen.h"
- Added VERSION_MAJOR/MINOR/PATCH macro fallbacks for both module and extension builds
- These macros are needed when building with deprecated=no in Godot 4.5+
2. SpineSkeletonDataResource.cpp and SpineSprite.cpp:
- Wrapped editor_interface.h includes with TOOLS_ENABLED guards
- Required for building export templates (non-editor builds) in Godot 4.5+
This ensures spine-godot compiles correctly with Godot 4.5 in all build configurations.
The user submitted code that fixes the incorrect tinting on spine-cpp
4.2. I tested this fix using spine-glfw to confirm the existence of the
issue and the fix.
* fix(loader): use file.url instead of file.src for atlas basePath (align with Phaser #6642)
* [ts][phaser] Fallback to src in atlas page loading.
---------
Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
The reason that the chibi-stickers project wouldn't load correctly was
because there was multiply blending used on the glasses-shadow slot.
This has been corrected so that skeletons will load correctly, and
tested using this project and the celestial-circus Spine project.
Incorrect parameters were being passed to functions. This was preventing
Godot 3.x from building.
This fix has been tested against the spine-godot modules 3.6.1-stable,
4.4.1-stable, and the 4.4.1-stable Spine GDExtension.