192 Commits

Author SHA1 Message Date
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Mario Zechner
fbb0d0d41f [cpp] Closes #2252, add accessors for polygons and bounding boxes to SkeletonBounds. 2023-02-20 11:32:33 +01:00
Mario Zechner
96c0842021 [cpp] Backport of some 4.2 changes to enable Flutter runtime in 4.1 2023-02-17 14:25:41 +01:00
Mario Zechner
3f5e00109c [cpp] Pass ids by reference, closes #2177 2022-10-14 12:07:04 +02:00
Mario Zechner
68b59271bb [godot] Backport to 4.1 2022-07-18 10:27:42 +02:00
Mario Zechner
53f69d0f48 [cpp] Removed VertexEffect, see #2076 2022-05-30 14:02:09 +02:00
Mario Zechner
7cf42c814b [cpp] Fix compiler warnings on Clang. 2022-03-25 13:22:45 +01:00
badlogic
1480250bd3 Merge branch '4.1-beta' of https://github.com/esotericsoftware/spine-runtimes into 4.1-beta 2022-03-25 12:33:01 +01:00
badlogic
6ff8b8d415 [ue4][cpp] Fix TextureFilter name conflict in UE4 unity builds
We renamed TextureFilter to SpineTextureFilter in UE4 builds to resolve the name collision with UE4's TextureFilter.
2022-03-25 12:32:44 +01:00
badlogic
8910c458e8 [ue4][cpp] Switched to IWYU build for much improved rebuild times.
Cleaned up spine-cpp and removed UE4 specific code.
2022-03-25 12:20:57 +01:00
Harald Csaszar
e52d4977df Merge branch '4.0' into 4.1-beta 2022-03-24 17:53:41 +01:00
Yinqiang Zhu
763204a2b6
Fix compiler warning (#2038)
Fix compiler warning: 'inconsistent-missing-override'
2022-03-24 14:38:54 +01:00
Mario Zechner
0e122e1877 [cpp] Return error if skeleton version doesn't match runtime version. See #1998 2022-03-22 13:46:08 +01:00
Mario Zechner
ffb9e75b09 [c][cpp] Port of shortestRotation, see #2027 2022-02-02 12:02:43 +01:00
Mario Zechner
65a12c6f8e [c] More porting of sequences. 2021-12-29 22:26:34 +01:00
Mario Zechner
9ac6f3dcc7 [cpp] Support sequence (timelines) in SkeletonJson 2021-12-17 16:41:40 +01:00
Mario Zechner
9fda6dcd3b [cpp] Sequence and SequenceTimeline support in SkeletonBinary. 2021-12-16 17:14:52 +01:00
Mario Zechner
94d218d0c7 [cpp] Sequence timeline. 2021-12-15 16:34:31 +01:00
Mario Zechner
1ac6c6bd35 [cpp] Initial port of sequences
Loaders require modifications, timeline needs to be added.
2021-11-17 15:32:35 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
31c2f4aedd [c][cpp] Fix compilation errors. See commit dc9a6eb, see #1951 2021-09-13 23:36:48 +02:00
Nathan Sweet
dc9a6ebe7f [as3][c][cpp][csharp][libgdx][lua][ts] Fixed loading transform constraint timelines from JSON data.
* Fixed SkeletonJson not allocating enough memory for curves (maximum of 6 curves/key, not 4). Fixes email: FMfcgzGkbDfvckWcFxWlsTWzFhMXsTDw
* Removed SkeletonData and Skeleton methods: findBoneIndex, findSlotIndex. Bones and slots have an index field that should be used instead.
* Removed SkeletonData and Skeleton methods: find*ConstraintIndex. Only SkeletonJson needed these, they don't need to be in the public API.
* Used a local for number of frames where it was used many times.
2021-09-12 18:15:19 -06:00
badlogic
e842e67d19 [c][cpp] CMake clean-up, update to C++11. 2021-07-01 11:04:12 +02:00
badlogic
30702a3bff [c][cpp] Fix AnimationState::clearNext() 2021-06-21 17:45:34 +02:00
Mario Zechner
34b355eabd [cpp] RTTI should not inherit from SpineObject, closes #1870
Depending on the destruction order of static RTTI instances and SpineExtension instances, we'd call SpineExtension::beforeFree in ~RTTI, when SpineExtension has already been destructed.
2021-06-14 15:12:56 +02:00
Mario Zechner
3af35555a9 [c][cpp] Expose colors on bones, attachments. Closes #1823 2021-06-14 14:50:07 +02:00
badlogic
07d3633881 [c][cpp] Port IK constraint changes
See

33bce01fee
f9862b10b3
2021-06-09 14:44:24 +02:00
Mario Zechner
857b2b64d8 [cpp] port of constraint application oder, see #1896 2021-06-07 16:45:14 +02:00
Mario Zechner
4715608108 [c][cpp] Fix remaining 4.0 porting bugs, apply formatter. 2021-06-07 16:13:25 +02:00
RH
fb3ca1702e Allow SkeletonBinary and SkeletonJson to own externally created AttachmentLoader (#1846) 2021-04-30 18:06:14 +02:00
badlogic
733aab6e73 [c] 4.0 porting, timelines complete. 2021-04-02 21:35:58 +02:00
badlogic
5d3c3dbfc4 [c] More 4.0 porting, further refactoring of timelines. 2021-04-01 16:38:24 +02:00
badlogic
f8560fc551 [cpp] Completed 4.0 port. 2021-03-06 10:03:31 +01:00
badlogic
cf3a28e3a4 [cpp] More 4.0 porting, Atlas, fixes. 2021-03-05 15:44:19 +01:00
badlogic
4375342576 [cpp] More 4.0 porting, SkeletonJson. 2021-03-05 13:47:50 +01:00
badlogic
dbd708c866 [cpp] More 4.0 porting, SkeletonBinary. 2021-03-04 19:19:21 +01:00
badlogic
df6de224e3 [cpp] More 4.0 porting, animation state. 2021-03-04 17:30:45 +01:00
badlogic
7b154fb92f [cpp] More 4.0 porting, all of animation and timelines. 2021-03-03 16:46:54 +01:00
badlogic
653c06a6b8 [cpp] 4.0 port, half done. 2021-03-02 16:54:14 +01:00
Harald Csaszar
ad0cbe21ba Merge branch '3.8' into 4.0-beta 2021-02-16 20:01:25 +01:00
Harald Csaszar
e9f900c333 [cpp] Fixed shadow declaration warnings. Closes #1808. 2021-02-16 19:59:28 +01:00
badlogic
ee3f088e6c Merge branch '3.8' into 4.0-beta 2020-10-23 11:26:34 +02:00
HALX99
e1692353f2
Add missing const-qualifiers (#1732) 2020-10-06 13:42:39 +02:00
badlogic
c47ea763fe [cpp] Closes #1713, dark color was not set in Slot::setToSetupPose(). 2020-08-13 14:54:34 +02:00
badlogic
1219d09959 Closes #1703, expose atlas regions via Atlas::getRegions()
Also removed Atlas::abortAtlas().
2020-08-13 14:53:32 +02:00
badlogic
c55b20d4fa [cpp] Fix unused-as-error in new Extension::_beforeFree. 2020-06-03 13:28:24 +02:00
江战
47873c041b
add release hook (#1690) 2020-06-03 13:27:02 +02:00
badlogic
6bda0c236b [cpp] Port AnimationState deform mixing while attachment timelines mix out. See #1653. 2020-04-17 12:06:36 +02:00
badlogic
62cdef33f0 [cpp] Fix memory leak in SkeletonBounds. Closes #1623. 2020-04-13 11:19:54 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00