399 Commits

Author SHA1 Message Date
Mario Zechner
501ad3553d [c][cpp] Fix for #2412 2023-11-28 13:30:02 +01:00
Mario Zechner
c960402c08 [c] Closes #2401, fixed incorrect allocation of TransformTimeline. 2023-10-23 13:18:04 +02:00
Jordan Schidlowsky
96e25be436
Squashed commit of the following: (#2332)
commit 646078160b26979bc32093035602b7de12d9406b
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Mon Aug 7 15:34:37 2023 -0600

    revert SCsub

commit 6f388c3d4ce86944b3801fbd418bfc8a1dfe4e02
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Fri Aug 4 13:11:56 2023 -0600

    rename

commit 20eeeb5743a6687c189f61a91f14fcfcd179d0d8
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Fri Aug 4 13:11:11 2023 -0600

    fix

commit 6ef0c3d0698c851349f1cd5b44e06296cfc90011
Merge: 26c02da4a 94d043b56
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Fri Aug 4 13:09:54 2023 -0600

    Merge branch '4.1' into feature4.1/godot-performance-improvements

commit 26c02da4af1f7d518bbdc8c63a6c42f864b781b0
Merge: 0ce2ab656 002276351
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Thu Aug 3 15:57:49 2023 -0600

    Merge remote-tracking branch 'upstream/4.1' into feature4.1/godot-performance-improvements

commit 0ce2ab656364fde29063b8b8ccee36dd7f4583fd
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Thu Aug 3 12:11:51 2023 -0600

    Performance improvement using SNAME, caches for find_bone find_slot, temporary string buffer support.

commit 8082dfcef08cd5fab0c6247410c9177f0d6aa3bd
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Tue Jun 6 06:10:07 2023 -0600

    Support audio path in SpineEventData

commit bf864c7ff1e03bb8c8826b6766d09958d0ee36e0
Merge: da5b318ee 0a14457f3
Author: Jason Knight <jason@winterpixel.com>
Date:   Tue Nov 29 14:01:17 2022 -0600

    Merge branch 'upstream-4.1' into winterpixel-main

commit da5b318eea0881f2cc9656fcf09a355fe7b05392
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Fri Nov 25 14:02:09 2022 -0600

    fix incorrect ordering issue when applying custom materials to slot nodes

commit 000d22c5a8b160846c7742f181d9c7c6d816dd2a
Merge: 718643afc 8c3533835
Author: Brian Semrau <brian@winterpixel.com>
Date:   Thu Nov 24 16:02:30 2022 -0500

    Merge remote-tracking branch 'upstream/4.1' into winterpixel-main

commit 718643afc14b5f049961a4ec7b34ba9e8a3c6533
Merge: 2b743bd1d d8396435d
Author: Brian Semrau <brian@winterpixel.com>
Date:   Tue Oct 25 16:03:10 2022 -0400

    Merge remote-tracking branch 'upstream/4.1' into winterpixel-main

commit 2b743bd1dfa63f72169a36f2c43e43a2e2038f26
Author: Jordan Schidlowsky <jordanschidlowsky@gmail.com>
Date:   Thu Oct 13 12:37:04 2022 -0600

    Adding .o to ignore

commit 6ad70aaf162b7423c935b2baaff11c8bfbf2120b
Author: Brian Semrau <brian@winterpixel.com>
Date:   Wed Oct 12 13:59:32 2022 -0400

    Allow building by just adding to a modules folder
2023-09-04 10:58:43 +02:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Andrew Wilson
373a163c3f
Add CMake Target Exporting & option to disable testing in the build (#2329)
* Fix cmake install

* Option to build without testing

* Add target exporting and SpineConfig.cmake

* Revert relative install paths to Spine preferred ones
2023-07-29 21:55:45 +02:00
Mario Zechner
41a9790270
Fix SkeletonBounds::getPolygon() for latest Clang on macOS. 2023-06-12 14:27:55 +02:00
Mario Zechner
d83cae37f0 [cpp] Formatting. 2023-04-28 14:05:57 +02:00
Mario Zechner
3545fa9f32 [cpp] Fix up root CMakeLists.txt to always include spine-c, spine-cpp, and spine-cpp-unit-tests 2023-04-28 13:54:59 +02:00
Mario Zechner
da68e66e9c [c][cpp] Formatting. 2023-04-06 13:26:25 +02:00
Mario Zechner
1fb89b6e89 [c][cpp] Port of commit e04e7b5. Adjusted fix for IK constraint NaN when parent has zero scale. 2023-04-06 13:25:13 +02:00
Mario Zechner
0fac0504ac [cpp] Fix incorrectly referencing attachment when adding skin to another skin. 2023-04-05 15:50:59 +02:00
Mario Zechner
2b5bedd543 [c][cpp] Fixed IK constraint NaN when a parent bone has zero scale. 2023-04-05 15:50:28 +02:00
badlogic
a557db3a54 [ue] Closes #2257, import uses null attachment loader, leading to crash for mesh attachments. Also fixes atlas page fetch in renderer. 2023-02-27 12:50:21 +01: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
55b6f43d9b [godot] Added mesh based renderer, slower than cavvas_item_add_triangle_array due to no batching. 2023-02-17 11:17:15 +01:00
Mario Zechner
bcf268462d [ue] Closes #2251, fix shadowed local var. 2023-02-17 07:42:57 +01:00
Mario Zechner
0042015e7c [spine-cpp] Closes #2225, incorrect integer division when reading AlphaTimeline frames. 2023-01-26 15:40:04 +01:00
Mario Zechner
9ece84dc85 [phaser] Loading and caching of skeleton data, atlas, textures, creation of skeletons, animation state in game object.
# Conflicts:
#	spine-cpp/spine-cpp/src/spine/SkeletonBinary.cpp
#	spine-flutter/src/spine_flutter.cpp
2022-12-27 11:42:56 +01:00
Luke Ingram
38ae6f886c [c][cpp][ts] Port of 4bad9ec25e3281361a6599509881397711722e58 2022-11-30 13:34:20 -04:00
Mario Zechner
11d0a86d40 Formatting. 2022-11-29 09:10:34 +01:00
Mario Zechner
d525e42479 [cpp] Reference attachments in Skin::addSkin(), closes #2203, closes #2202. 2022-11-29 09:09:36 +01:00
Mario Zechner
3493de7fe8 Formatting 2022-10-28 10:40:38 +02:00
Mario Zechner
b1d5e7727d [cpp] Fix parsing of dark colors in skeleton binary. Closes #2170. 2022-10-14 12:57:01 +02:00
Mario Zechner
3f5e00109c [cpp] Pass ids by reference, closes #2177 2022-10-14 12:07:04 +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
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
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