582 Commits

Author SHA1 Message Date
Mario Zechner
5347aed45a Type hierarchy fixes. 2025-06-12 12:52:16 +02:00
Mario Zechner
90536c3b49 [cpp] 4.3 porting WIP 2025-06-12 04:43:24 +02:00
Mario Zechner
4876f0d00b [cpp] 4.3 porting WIP 2025-06-12 04:25:49 +02:00
Mario Zechner
d8ef5b5f0b [cpp] 4.3 porting WIP 2025-06-12 04:11:58 +02:00
Mario Zechner
db7478d38d [cpp] 4.3 porting WIP 2025-06-12 04:07:47 +02:00
Mario Zechner
ede7742c46 [cpp] 4.3 porting WIP 2025-06-12 03:59:39 +02:00
Mario Zechner
98b9a056f3 [cpp] 4.3 porting WIP 2025-06-12 03:46:51 +02:00
Mario Zechner
da36386f4a [cpp] 4.3 porting WIP 2025-06-12 02:08:23 +02:00
Mario Zechner
ea8194a927 [cpp] 4.3 porting WIP 2025-06-12 01:38:14 +02:00
Mario Zechner
df2292460f [cpp] 4.3 porting WIP 2025-06-12 00:54:41 +02:00
Mario Zechner
a497bb39c5 [cpp] 4.3 porting WIP 2025-06-11 23:17:31 +02:00
Mario Zechner
f71fd28ac9 [cpp] 4.3 porting WIP 2025-06-11 23:13:23 +02:00
Mario Zechner
e5c9f9b86a [cpp] 4.3 porting WIP 2025-06-11 23:13:23 +02:00
Mario Zechner
27c6770708 [cpp] 4.3 porting WIP 2025-06-11 20:55:12 +02:00
Mario Zechner
c6dd51015d [cpp] 4.3 porting WIP 2025-06-11 20:53:26 +02:00
Mario Zechner
df13ca0815 [cpp] 4.3 porting WIP 2025-06-11 20:09:55 +02:00
Mario Zechner
5cd55f83c9 [cpp] 4.3 porting WIP 2025-06-11 18:19:05 +02:00
Mario Zechner
c9193f682a [cpp] 4.3 porting WIP 2025-06-11 17:54:44 +02:00
Mario Zechner
3240d50748 [cpp] 4.3 porting WIP 2025-06-11 17:43:51 +02:00
Mario Zechner
0699f41696 [cpp] 4.3 porting WIP 2025-06-11 17:27:18 +02:00
Mario Zechner
c41da0c788 [cpp] 4.3 porting WIP 2025-06-11 16:24:37 +02:00
Mario Zechner
11435f471a [cpp] 4.3 porting WIP 2025-06-11 16:13:17 +02:00
Mario Zechner
b605f0ccac [cpp] 4.3 porting WIP 2025-06-11 15:56:00 +02:00
Mario Zechner
366291deaf [cpp] 4.3 porting WIP 2025-06-11 15:21:35 +02:00
Mario Zechner
e3fb50da5b [cpp] 4.3 porting WIP 2025-06-11 14:39:38 +02:00
Mario Zechner
2e369a8130 [cpp] 4.3 porting WIP 2025-06-11 12:51:03 +02:00
Mario Zechner
878403d271 [cpp] 4.3 porting WIP 2025-06-11 12:42:45 +02:00
Mario Zechner
4225089764 [cpp] 4.3 porting WIP 2025-06-10 17:13:43 +02:00
Mario Zechner
61126de9f3 [cpp] 4.3 porting WIP 2025-06-10 16:49:03 +02:00
Mario Zechner
cf27cb438c [cpp] 4.3 porting WIP 2025-06-10 16:19:49 +02:00
Mario Zechner
33db4555be [cpp] 4.3 porting WIP 2025-06-10 15:48:33 +02:00
Mario Zechner
6dce28c68e [cpp] 4.3 porting WIP 2025-06-10 15:32:44 +02:00
Mario Zechner
5fe90b456f [cpp] 4.3 porting WIP 2025-06-10 15:21:41 +02:00
Mario Zechner
0f5cc0b766 [cpp] 4.3 porting WIP 2025-06-10 14:16:46 +02:00
Mario Zechner
fb331a19c0 [cpp] 4.3 porting WIP 2025-06-07 04:42:17 +02:00
Mario Zechner
cb6916c3c3 [cpp] 4.3 porting WIP 2025-06-07 02:54:51 +02:00
Mario Zechner
ad381b43ef [cpp] 4.3 porting WIP 2025-06-07 02:39:16 +02:00
Mario Zechner
a743b7aa23 [cpp] 4.3 porting WIP 2025-06-07 01:43:55 +02:00
Mario Zechner
2692f4c684 Revert "[cpp] Add core pose classes for 4.3-beta architecture"
This reverts commit c83a0ba84915799bc905c4f86cf436c24f4c8aec.

# Conflicts:
#	spine-cpp/spine-cpp/include/spine/spine.h
#	spine-cpp/spine-cpp/src/spine/BoneLocal.cpp
#	spine-cpp/spine-cpp/src/spine/BonePose.cpp
#	spine-cpp/spine-cpp/src/spine/SlotPose.cpp
2025-06-05 20:01:32 +02:00
Mario Zechner
a9874c887c Revert "[cpp] Add pose architecture foundation for 4.3-beta"
This reverts commit 84637da40bc7c2a1d753b14feb2428faa8ee572f.

# Conflicts:
#	.gitignore
#	spine-cpp/spine-cpp/include/spine/spine.h
2025-06-05 20:00:52 +02:00
Mario Zechner
3bb48dceb9 Formatting 2025-05-26 18:22:28 +02:00
Mario Zechner
c83a0ba849 [cpp] Add core pose classes for 4.3-beta architecture
- Add BoneLocal class for local bone pose (x, y, rotation, scale, shear, inherit)
- Add BonePose class extending BoneLocal with world transform calculations
- Add SlotPose class for slot state (color, darkColor, attachment, sequence, deform)
- Implement complete world transform math in BonePose from reference implementation
- Use Spine's custom RTTI system instead of C++ RTTI for type checking
- Update spine.h to include new core pose classes
- Update development guidelines with RTTI usage patterns

These core pose classes provide the foundation for the new constraint system
and enable separation of local, constrained, and applied poses in the 4.3-beta
architecture redesign.
2025-05-26 18:19:58 +02:00
Mario Zechner
84637da40b [cpp] Add pose architecture foundation for 4.3-beta
- Replace Updatable interface with Update interface
- Add Pose<P> template interface for pose management
- Add PosedData<P> abstract base class for setup data
- Add Posed<D,P,A> base class linking data, pose, and applied states
- Add PosedActive<D,P,A> extending Posed with active state management
- Update spine.h to include new pose system headers

This implements the foundational pose architecture required for the 4.3-beta
constraint system overhaul. The new pose-based system provides better separation
of concerns and enables more flexible constraint management.
2025-05-26 16:51:07 +02:00
Nathan Sweet
7be6dac44a Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-ts/package.json
#	spine-unity/Assets/Spine/package.json
2025-05-09 17:05:41 -04:00
Mario Zechner
ec3231f861 [cpp] Port of #2837 2025-05-07 13:06:50 +02:00
James Chen
b57acb040c
Fix spine::Vector copy assignment. (#2828) 2025-05-05 13:24:21 +02:00
bofeng-song
7fd1e5340c
Fix the inconsistent behavior between Spine vector's setSize and std::vector's resize, which causes the Spine vector to allocate additional space upfront. (#2830) 2025-05-05 13:21:33 +02:00
Nathan Sweet
dafafca942 Merge branch '4.2' into 4.3-beta-sliders
# Conflicts:
#	spine-ts/package.json
2025-04-23 11:59:55 -04:00
Mario Zechner
febbbbcd17 [cpp] Closes #2773, infinite loop in spine_skin_get_entries and subsequent freeing of name strings. 2025-04-17 11:52:02 +02:00
Luke Ingram
84d785c664 [c][cpp] Port of commit f1e0f0f (#2807)
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786

* [c][cpp] Format.

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-04-09 16:08:23 +02:00