379 Commits

Author SHA1 Message Date
Mario Zechner
c41cc94008 [runtime] Revert changes to owl-pro.spine
Conversion to 4.0.31 and export breaks additive blending even more.
2021-09-14 00:44:00 +02: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
Nathan Sweet
efac69ee7a Fixed scale of constrained bones with transform constraint relative + local. 2021-09-06 19:54:17 -06:00
Mario Zechner
0bf2fb6059 Revert "Formatting errors to test GH Action."
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545 Formatting errors to test GH Action. 2021-08-18 21:15:37 +02:00
badlogic
8057c114db [c][cpp] Fix multi-page atlas parsing, closes #1935 2021-08-05 16:19:06 +02:00
Nathan Sweet
8d99332f7f [all] Fixed AnimationState#addEmptyAnimation when the track is empty.
http://esotericsoftware.com/forum/Spine-4-change-in-behavior-with-EmptyAnimation-16176
2021-07-28 20:32:53 -04:00
Nathan Sweet
0b01c0036e [as3][c][cpp][csharp][libgdx][ts] Fixed SkeletonBinary scale not being applied to some timelines.
closes #1928
2021-07-20 13:31:31 -04:00
Harald Csaszar
ba07ea9f91 [cpp] Fixed compile error of incorrect printf format types, zu instead of lu (reported by VS19 but not VC17 in UE4). 2021-07-13 15:54:00 +02:00
badlogic
679b1d9c6c [cpp] Force c++11 on spine-cpp Cmake build, closes #1922 2021-07-09 17:29:42 +02:00
badlogic
e842e67d19 [c][cpp] CMake clean-up, update to C++11. 2021-07-01 11:04:12 +02:00
badlogic
a1959ee1a0 Merge branch '4.0' of https://github.com/esotericsoftware/spine-runtimes into 4.0
# Conflicts:
#	spine-c/spine-c/src/spine/PathConstraint.c
2021-07-01 10:40:55 +02:00
badlogic
87658c7d31 [c][cpp] Spotless formatter 2021-07-01 10:40:18 +02:00
Nathan Sweet
87b9821e00 [as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes. 2021-06-30 14:11:26 -04:00
badlogic
30702a3bff [c][cpp] Fix AnimationState::clearNext() 2021-06-21 17:45:34 +02:00
badlogic
6a01b42dba [cpp] Rset mixBlend, see #1903 2021-06-15 13:29:56 +02:00
Mario Zechner
de697385fc [runtimes] Fix up README.md files using correct editor version. 2021-06-14 15:31:17 +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
6d384cd75c [cpp] Copy EventQueueEntry instead of taking pointer to reallocatable instance. Closes #1827. 2021-06-14 14:55:45 +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
Nathan Sweet
a5be08a62a More clean up. 2021-06-05 21:16:36 -04:00
Nathan Sweet
a8b79a66e1 [c, cpp] Renamed frameIndex parameters.
frame: frame number, 0 to frameCount - 1.
frameIndex: index into frames[].
2021-06-04 10:50:26 -04:00
Nathan Sweet
7df74c2fa4 Various fixes, clean up.
* Added missing CurveTimeline#shrink calls. c and cpp got BOZO comments until the method is added.
* SkeletonJson#readCurve clean up.
* ts, use shorthand for null checks.
* csharp, don't use unnecessary hasNext local.
2021-06-03 21:42:35 -04:00
Nathan Sweet
7aa940a961 Fixes for reading mix X/Y. 2021-06-03 15:33:48 -04:00
Nathan Sweet
6dfae6df3c Missing port: Fixed AnimationState crash when the number of timelines changes during a mix.
Ref impl commit: b99df7286aa933411f90eda6dbdeffd936058ae4
2021-05-31 01:26:41 -04:00
badlogic
5411717c1a [c] 4.0 porting, texture atlas parsing and key value storage in regions. 2021-05-12 15:18:39 +02:00
RH
fb3ca1702e Allow SkeletonBinary and SkeletonJson to own externally created AttachmentLoader (#1846) 2021-04-30 18:06:14 +02:00
badlogic
5d50d8f28e [c] 4.0 porting, atlas parsing. 2021-04-08 20:56:58 +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
1a928d9c65 [cpp] 4.0 porting, fix SkeletonBinary. 2021-03-05 16:37:47 +01:00
badlogic
3a503336bf [cpp] 4.0 porting, fix Atlas region UVs. 2021-03-05 16:10:18 +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
ac23599638 Merge branch '3.8' into 4.0-beta 2021-02-25 12:00:57 +01:00
Harald Csaszar
2112d7f6f5 [cpp] Fixed SkeletonBinary access violation if atlas and skeleton data mismatch (when attachment not found). Closes #1849. 2021-02-25 11:58:40 +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
0d252ff4d7 Merge branch '3.8' into 4.0-beta 2020-08-26 16:19:04 +02:00