491 Commits

Author SHA1 Message Date
Mario Zechner
95487552dc Merge branch '4.1' into 4.2-beta 2022-10-07 12:24:17 +02:00
Mario Zechner
88515ec1a9 [c][cpp] Check if slot attachment is NULL when applying sequence timeline. 2022-10-07 12:24:07 +02:00
Mario Zechner
6d4f2c2c1b [cpp] Port of commit 3ea4f66. AnimationState, fixed rotation mix when direction changes. See #2158. 2022-10-06 16:29:53 +02:00
Mario Zechner
c590944a51 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-cocos2dx/README.md
#	spine-godot/spine_godot/SpineSprite.cpp
#	spine-sdl/src/spine-sdl-cpp.cpp
#	spine-sfml/cpp/src/spine/spine-sfml.cpp
2022-09-15 08:39:43 +02:00
Mario Zechner
669af9f6bb Formatting. 2022-09-15 08:37:55 +02:00
Mario Zechner
531e256d6d [c][cpp][sfml] Fixes #2154 2022-09-15 07:58:12 +02:00
Mario Zechner
52376a0a24 [c] Port of #2150 2022-09-12 12:43:42 +02:00
Mario Zechner
0827d88b7b [cpp] Port of #2150 2022-09-12 12:34:42 +02:00
Mario Zechner
8ffde33fa9 Formatting. 2022-09-09 19:36:50 +02:00
Mario Zechner
1a676c14fc [cpp][cocos2dx][sfml][sdl] Fix up runtimes according to renderer object system changes. 2022-09-09 10:40:34 +02:00
Mario Zechner
3d5075c7a4 [cpp] Refactor renderer object system
Attachments and AtlasPages no longer implement HasRendererObject. Instead, the TextureRegion provides the renderer object. This decouples everything from AtlasRegion, making substituting custom texture regions less error prone.
2022-09-09 10:21:58 +02:00
Mario Zechner
fa4c55067a [flutter][cpp] Refactor VertexAttachment to use ints for bones instead of size_t, wrap VertexAttachment. 2022-09-06 10:43:48 +02:00
Mario Zechner
e0611d7499 [flutter] Wrap PathConstraintData, PathConstraint 2022-09-05 16:38:39 +02:00
Mario Zechner
907f278325 [flutter] Wrap TransformConstraintData 2022-09-05 12:34:03 +02:00
Mario Zechner
2f4ab354ba [cpp] Add RTTI information for constraint data types. 2022-09-02 14:11:30 +02:00
Mario Zechner
d4ef1b7a35 Formatting pass. 2022-08-29 13:48:49 +02:00
Mario Zechner
61560c9477 [cpp][flutter] Add setter to AnimationState for manual track entry disposal, add support for track entry and state listeners on dart side. 2022-08-29 13:46:39 +02:00
Mario Zechner
ac03e51d0b [cpp] Fix up debug output. 2022-08-25 11:45:47 +02:00
Mario Zechner
887d77ef63 [flutter] skeleton drawable, vertices creation 2022-08-19 17:38:46 +02:00
badlogic
5c9c204fe5 [flutter] Fix Windows/Linux build 2022-08-15 10:14:50 +02:00
Pol
b0a609f027
Corrected Tint black (#2122)
Tint black wasn't working correctly because the red channelwas discarded by error, replacing it by the green channel.
2022-08-03 18:31:40 +02:00
Mario Zechner
0860331e99 [cpp] Format fixes. 2022-07-25 15:21:38 +02:00
Mario Zechner
4bba3f1822 Merge branch '4.0' into 4.1 2022-07-18 14:10:10 +02:00
Toru Hisai
85af0f6580
prevent a crash when a skin has no attachments. (#2114) 2022-07-18 14:09:12 +02:00
Mario Zechner
68b59271bb [godot] Backport to 4.1 2022-07-18 10:27:42 +02:00
Mario Zechner
ca75d3605e [c][cpp] Port of 4efd63f89cb995cbe4f30358d268a9d0eaf0c9be and 81baef0b5bb181376d15b0208697db8dabce095e 2022-06-20 15:39:33 +02:00
Mario Zechner
53f69d0f48 [cpp] Removed VertexEffect, see #2076 2022-05-30 14:02:09 +02:00
Mario Zechner
3b57b39c47 Merge branch '4.0' into 4.1-beta 2022-04-07 08:30:38 +02:00
Mario Zechner
4ec3290b98 [cpp] Fixed JSON parsing of PathConstraint spacing mode, closes #2065. 2022-04-07 08:30:23 +02:00
Mario Zechner
2022713bd2 [c][cpp] Formatter pass. 2022-03-25 13:31:58 +01: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
17ad70740e [cpp] Fix parsing of SequenceTimeline from JSON
lastDelay was never set.
2022-03-11 18:30:05 +01:00
Mario Zechner
b33e66e1d2 Merge branch '4.0' into 4.1-beta 2022-03-11 18:07:46 +01:00
Mario Zechner
f4a92fbfae [c] Fixes #2041, adds sanitizer support via Cmake flag SPINE_SANITIZER=TRUE 2022-03-11 18:07:30 +01:00
Mario Zechner
0d237b1529 [c] Port sequence timeline loading to SkeletonBinary
Deform timeline parsing not working.
2022-02-04 13:21:44 +01:00
Mario Zechner
ec93dbac89 [cpp] Fix formatting. 2022-02-02 12:40:00 +01:00
Mario Zechner
ffb9e75b09 [c][cpp] Port of shortestRotation, see #2027 2022-02-02 12:02:43 +01:00
Mario Zechner
504f52a5a7 Merge branch '4.0' into 4.1-beta
# Conflicts:
#	spine-as3/spine-as3/src/spine/animation/ScaleTimeline.as
#	spine-as3/spine-as3/src/spine/animation/ScaleXTimeline.as
#	spine-as3/spine-as3/src/spine/animation/ScaleYTimeline.as
#	spine-lua/spine-lua/Animation.lua
#	spine-ts/package-lock.json
#	spine-ts/package.json
#	spine-ts/spine-canvas/package.json
#	spine-ts/spine-core/package.json
#	spine-ts/spine-player/package.json
#	spine-ts/spine-threejs/package.json
#	spine-ts/spine-webgl/package.json
2022-01-27 18:42:14 +01:00
Mario Zechner
65c62bff06 [cpp] Ported scale mixing fix, see #2028. 2022-01-26 20:37:29 +01:00
Mario Zechner
65a12c6f8e [c] More porting of sequences. 2021-12-29 22:26:34 +01:00
Mario Zechner
1976a3e6ca [cpp] Fix sequence timeline not setting renderer object correctly., formatting 2021-12-22 15:30:21 +01:00
Mario Zechner
1cba329685 [cpp] Fix loading of mesh attachments 2021-12-22 15:17:12 +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