Vladimír Vondruš
7dc2dea45b
Trade: make AnimationData object reference 64-bit.
...
To align with the new SceneData.
4 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
5222cf3478
doc: change all "latest" additions/deprecations to 2020.06.
6 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
65a2ced2a7
Make this compile and test cleanly with CORRADE_NO_ASSERT defined.
6 years ago
Vladimír Vondruš
93e6dc2c54
Trade: make AnimationTrackData constructors explicit.
...
There's a ton of parameters and it's just unreadable without.
6 years ago
Vladimír Vondruš
6ddcc0b1ae
Trade: make it possible to construct AnimationData from track init list.
...
Easier to write. Need to take extra care with default deleters.
6 years ago
Vladimír Vondruš
dd5acdd850
Trade: allow AnimationTrackData be created from a typed track.
...
So users aren't force to specify everything on their own. It makes the
test code a bit less painful. But just a bit.
6 years ago
Vladimír Vondruš
b71e50b023
Trade: make AnimationData::release() consistent with MeshData.
6 years ago
Vladimír Vondruš
0fd62194c8
Trade: mutable access in AnimationData.
...
Follows the change done in MeshData.
6 years ago
Vladimír Vondruš
a3ab27f7b9
Trade: return TrackView with const types from AnimationData.
...
Follows the change done in 954798a9ba .
6 years ago
Vladimír Vondruš
9ae20a0a67
doc: fix mismatched enum value links.
...
Doxygen 1.8.17 *finally* fixes enum value linking and so linking to
Enum::Value via TotallyArbitraryString::Value no longer works. That
uncovered a ton of documentation errors.
A welcome improvement, for once.
6 years ago
Vladimír Vondruš
84fc685c87
Trade, Audio: explicitly disallow custom deleters returned from plugins.
7 years ago
Vladimír Vondruš
40cfe06044
Doc++, minor cleanup.
7 years ago
Vladimír Vondruš
ea941c03a3
Trade: doc++
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
00b0a814e0
Dropped GCC 4.7 support.
...
Interesting that many of the annoyances still apply to 4.8.
8 years ago
Vladimír Vondruš
e43d5790f6
Trade: change animation track target to target type and target ID to target.
...
This is in line with how the other APIs are named (for example
ObjectDataXD have instance type and instance). This would be very hard
to change later without breaking backwards compatibility, so I'm doing
it now, until the animation APIs get widely used.
8 years ago
Vladimír Vondruš
fde07c6c58
Doc++
8 years ago
Vladimír Vondruš
c3d093bee9
Trade: support for spline interpolation in AnimationData.
8 years ago
Vladimír Vondruš
ac11a8e815
Animation, Trade: support Complex for rotation animations.
...
Since there's now lerp() and slerp() for it.
8 years ago
Vladimír Vondruš
23dd5f21f2
Trade: fix build on GCC 4.8.
8 years ago
Vladimír Vondruš
212a01bae5
Trade: document AnimationData usage.
...
This is the last non-obvious thing that needs to be documented in order
to make the API usable.
8 years ago
Vladimír Vondruš
e9e1dd588d
Trade: make it possible to use all vector type variations for animations.
...
Note that I don't mean all possible underlying types, just all possible
vector classes. This is needed for splines etc. which may be templated
and have result type a generic vector, for example.
8 years ago
Vladimír Vondruš
aa2e888bed
Trade: provide untyped access to tracks in AnimationData.
...
This reduces the templated code a bit, as I moved the index assertion to
the *.cpp file. Also the function now returns a reference to avoid
needless copies -- it's a view, but still quite a heavy view.
8 years ago
Vladimír Vondruš
1b583454b4
Trade: support both implicit and explicit duration in AnimationData.
8 years ago
Vladimír Vondruš
51fa67412a
Animation: TrackViewStorage doesn't need to be *that* type-erased.
...
Moreover, this will prevent from passing e.g. integer-based keys to
Trade::AnimationData. And this also now allows me to add duration() to
Trade::AnimationData. I also moved all accessors that don't need a
concrete value type to this base class.
8 years ago
Vladimír Vondruš
0109e0d7fe
Trade: convenience default constructor for AnimationTrackData.
...
Otherwise one would need to use a NoInit Array constructor and that
would cause dangling deleter function pointer call after the plugin gets
unloaded.
8 years ago
Vladimír Vondruš
dd1c8052ff
Trade: initial AnimationData implementation.
8 years ago